Re: [dpdk-dev] [PATCH v2 10/15] ethdev: refine TPID handling in flow API

2018-04-09 Thread Adrien Mazarguil
On Fri, Apr 06, 2018 at 08:11:38PM +0300, Andrew Rybchenko wrote: > On 04/06/2018 04:25 PM, Adrien Mazarguil wrote: > > TPID handling in rte_flow VLAN and E_TAG pattern item definitions is not > > consistent with the normal stacking order of pattern items, which is > > confusing to applications. >

Re: [dpdk-dev] [PATCH v2 10/15] ethdev: refine TPID handling in flow API

2018-04-06 Thread Andrew Rybchenko
On 04/06/2018 04:25 PM, Adrien Mazarguil wrote: TPID handling in rte_flow VLAN and E_TAG pattern item definitions is not consistent with the normal stacking order of pattern items, which is confusing to applications. Problem is that when followed by one of these layers, the EtherType field of th

[dpdk-dev] [PATCH v2 10/15] ethdev: refine TPID handling in flow API

2018-04-06 Thread Adrien Mazarguil
TPID handling in rte_flow VLAN and E_TAG pattern item definitions is not consistent with the normal stacking order of pattern items, which is confusing to applications. Problem is that when followed by one of these layers, the EtherType field of the preceding layer keeps its "inner" definition, an