[ovs-dev] [PATCH V2 03/14] netdev-offload-dpdk: Implement flow dump create/destroy APIs

Eli Britstein elibr at nvidia.com
Tue Feb 23 13:25:09 UTC 2021


On 2/23/2021 3:10 PM, Sriharsha Basavapatna wrote:
> On Wed, Feb 10, 2021 at 8:57 PM Eli Britstein<elibr at nvidia.com>  wrote:
>> When offloading vports, we don't configure rte_flow on the vport itself,
>> as it is not a physical dpdk port, but rather on uplinks. Implement
>> those APIs as a pre-step to enable iterate over the ports.
> We don't need these flow_dump APIs, since we are not really dumping
> any flows here and also orig_in_port is provided to the offload layer
> (Patch 12).

We still need them to traverse the ports to get the vxlan netdev in case 
of a miss. See patch #5:

37056941f netdev-offload-dpdk: Implement HW miss packet recover for vport

There, see get_vport_netdev.

The naming is because this is "flow_api" and the implementation is of an 
existing API rather than introducing new one(s).

>
> Thanks,
> -Harsha
>
>


More information about the dev mailing list