On 4/12/21 5:20 PM, Gaetan Rivet wrote:
> Add a lock to access the ufid to rte_flow map.  This will protect it
> from concurrent write accesses when multiple threads attempt it.
> 
> At this point, the reason for taking the lock is not to fullfill the
> needs of the DPDK offload implementation anymore. Rewrite the comments
> to reflect this change. The lock is still needed to protect against
> changes to netdev port mapping.
> 
> Signed-off-by: Gaetan Rivet <[email protected]>
> Reviewed-by: Eli Britstein <[email protected]>
> ---
>  lib/dpif-netdev.c         |  8 ++---
>  lib/netdev-offload-dpdk.c | 61 ++++++++++++++++++++++++++++++++++++---
>  2 files changed, 61 insertions(+), 8 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