[PATCH v5 4/8] ethdev: use GRE protocol struct for flow matching
Ori Kam
orika at nvidia.com
Wed Feb 1 18:44:46 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/.
>
> The protocol struct is added in an unnamed union, keeping old field names.
>
> The GRE header struct members 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/items_gen.c | 4 ++--
> app/test-pmd/cmdline_flow.c | 14 +++++------
> doc/guides/prog_guide/rte_flow.rst | 6 +----
> doc/guides/rel_notes/deprecation.rst | 1 -
> drivers/net/bnxt/tf_ulp/ulp_rte_parser.c | 12 +++++-----
> drivers/net/dpaa2/dpaa2_flow.c | 12 +++++-----
> drivers/net/mlx5/hws/mlx5dr_definer.c | 8 +++----
> drivers/net/mlx5/mlx5_flow.c | 22 ++++++++---------
> drivers/net/mlx5/mlx5_flow_dv.c | 30 +++++++++++++-----------
> drivers/net/mlx5/mlx5_flow_verbs.c | 10 ++++----
> drivers/net/nfp/nfp_flow.c | 9 +++----
> lib/ethdev/rte_flow.h | 24 +++++++++++++------
> lib/net/rte_gre.h | 5 ++++
> 13 files changed, 84 insertions(+), 73 deletions(-)
>
For rte_flow, test-pmd, doc, rte_gre
Acked-by: Ori Kam <orika at nvidia.com>
Thanks,
Ori
More information about the dev
mailing list