Re: [PATCH 4/8] ethdev: use GRE protocol struct for flow matching

2023-01-20 Thread Ferruh Yigit
On 10/26/2022 9:45 AM, David Marchand wrote: > On Tue, Oct 25, 2022 at 11:45 PM Thomas Monjalon wrote: >> diff --git a/lib/ethdev/rte_flow.h b/lib/ethdev/rte_flow.h >> index 6045a352ae..fd9be56e31 100644 >> --- a/lib/ethdev/rte_flow.h >> +++ b/lib/ethdev/rte_flow.h >> @@ -1069,19 +1069,29 @@ stati

Re: [PATCH 4/8] ethdev: use GRE protocol struct for flow matching

2022-10-26 Thread David Marchand
On Tue, Oct 25, 2022 at 11:45 PM Thomas Monjalon wrote: > diff --git a/lib/ethdev/rte_flow.h b/lib/ethdev/rte_flow.h > index 6045a352ae..fd9be56e31 100644 > --- a/lib/ethdev/rte_flow.h > +++ b/lib/ethdev/rte_flow.h > @@ -1069,19 +1069,29 @@ static const struct rte_flow_item_mpls > rte_flow_item_m

[PATCH 4/8] ethdev: use GRE protocol struct for flow matching

2022-10-25 Thread Thomas Monjalon
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 fi