On 4/12/21 5:20 PM, Gaetan Rivet wrote:
> When a port is deleted, its offloads must be flushed.  The operation
> runs in the thread that initiated it.  Offload data is thus accessed
> jointly by the port deletion thread(s) and the offload thread, which
> complicates the data access model.
> 
> To simplify this model, as a pre-step toward introducing parallel
> offloads, execute the flush operation in the offload thread.
> 
> Signed-off-by: Gaetan Rivet <[email protected]>
> ---
>  lib/dpif-netdev.c | 126 ++++++++++++++++++++++++++++++++++++++++++++--
>  1 file changed, 122 insertions(+), 4 deletions(-)

Reviewed-by: Maxime Coquelin <[email protected]>

Thanks,
Maxime

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to