[dpdk-dev] [RFC] mbuf: new flag when vlan is stripped

2016-05-23 Thread Olivier Matz
Hi John, On 05/12/2016 10:36 PM, John Daley (johndale) wrote: >> ... This is a draft patch that implements what was previously >> discussed, except the packet_type, which does not exist for vlan >> today (and I think it is not mandatory for now, let's do it in >> another patch). >> >> After doing

[dpdk-dev] [RFC] mbuf: new flag when vlan is stripped

2016-05-12 Thread John Daley (johndale)
Hi Olivier, > ... > This is a draft patch that implements what was previously discussed, except > the packet_type, which does not exist for vlan today (and I think it is not > mandatory for now, let's do it in another patch). > > After doing this patch, it appeared that ixgbe was the only driver

[dpdk-dev] [RFC] mbuf: new flag when vlan is stripped

2016-05-10 Thread Olivier Matz
The behavior of PKT_RX_VLAN_PKT was not very well defined, resulting in PMDs not advertising the same flags in similar conditions. Following discussion in http://dpdk.org/ml/archives/dev/2016-April/037837.html, introduce 2 new flags PKT_RX_VLAN_STRIPPED and PKT_RX_QINQ_STRIPPED that are better def