Re: [dpdk-dev] [PATCH] net/enic: fix VLAN inner type matching for older hardware

2019-04-11 Thread Ferruh Yigit
On 4/10/2019 6:35 AM, Hyong Youb Kim wrote: > The vlan pattern handler currently assumes the NIC always strips vlan > header from the L2 buffer, regardless of the vlan strip setting. But, > with older VIC models, the vlan header is actually present in the L2 > buffer if stripping is disabled. So in

[dpdk-dev] [PATCH] net/enic: fix VLAN inner type matching for older hardware

2019-04-09 Thread Hyong Youb Kim
The vlan pattern handler currently assumes the NIC always strips vlan header from the L2 buffer, regardless of the vlan strip setting. But, with older VIC models, the vlan header is actually present in the L2 buffer if stripping is disabled. So in this case, the inner ether type needs to be shifted