[PATCH v5 3/8] ethdev: use VXLAN protocol struct for flow matching

Ori Kam orika at nvidia.com
Wed Feb 1 18:41:39 CET 2023


Hi Ferruh and Thomas,

> -----Original Message-----
> From: Ferruh Yigit <ferruh.yigit at amd.com>
> Sent: Thursday, 26 January 2023 18:19
> 
> From: Thomas Monjalon <thomas at monjalon.net>
> 
> As announced in the deprecation notice, flow item structures
> should re-use the protocol header definitions from the directory lib/net/.
> 
> In the case of VXLAN-GPE, the protocol struct is added
> in an unnamed union, keeping old field names.
> 
> The VXLAN headers (including VXLAN-GPE) are used in apps and drivers
> instead of the redundant fields in the flow items.
> 
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> ---
>  app/test-flow-perf/actions_gen.c         |  2 +-
>  app/test-flow-perf/items_gen.c           | 12 +++----
>  app/test-pmd/cmdline_flow.c              | 10 +++---
>  doc/guides/prog_guide/rte_flow.rst       | 11 ++-----
>  doc/guides/rel_notes/deprecation.rst     |  1 -
>  drivers/net/bnxt/bnxt_flow.c             | 12 ++++---
>  drivers/net/bnxt/tf_ulp/ulp_rte_parser.c | 42 ++++++++++++------------
>  drivers/net/hns3/hns3_flow.c             | 12 +++----
>  drivers/net/i40e/i40e_flow.c             |  4 +--
>  drivers/net/ice/ice_switch_filter.c      | 18 +++++-----
>  drivers/net/ipn3ke/ipn3ke_flow.c         |  4 +--
>  drivers/net/ixgbe/ixgbe_flow.c           | 18 +++++-----
>  drivers/net/mlx5/mlx5_flow.c             | 16 ++++-----
>  drivers/net/mlx5/mlx5_flow_dv.c          | 40 +++++++++++-----------
>  drivers/net/mlx5/mlx5_flow_verbs.c       |  8 ++---
>  drivers/net/sfc/sfc_flow.c               |  6 ++--
>  drivers/net/sfc/sfc_mae.c                |  8 ++---
>  lib/ethdev/rte_flow.h                    | 24 ++++++++++----
>  18 files changed, 126 insertions(+), 122 deletions(-)
> 

For rte_flow, test-pmd, doc.
Acked-by: Ori Kam <orika at nvidia.com>
Best,
Ori


More information about the dev mailing list