[ovs-dev] [PATCH v2 02/28] netdev-offload-dpdk: Use per-netdev offload metadata

Maxime Coquelin maxime.coquelin at redhat.com
Wed Apr 21 12:52:16 UTC 2021



On 4/12/21 5:19 PM, Gaetan Rivet wrote:
> Add a per-netdev offload data field as part of netdev hw_info structure.
> Use this field in netdev-offload-dpdk to map offload metadata (ufid to
> rte_flow). Use flow API deinit ops to destroy the per-netdev metadata
> when deallocating a netdev. Use RCU primitives to ensure coherency
> during port deletion.
> 
> Signed-off-by: Gaetan Rivet <grive at u256.net>
> Reviewed-by: Eli Britstein <elibr at nvidia.com>
> ---
>  lib/netdev-offload-dpdk.c | 131 ++++++++++++++++++++++++++++++++------
>  lib/netdev-offload.h      |   2 +
>  2 files changed, 114 insertions(+), 19 deletions(-)


Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Thanks,
Maxime



More information about the dev mailing list