[dpdk-dev] [PATCH v3] fm10k: fix wrong VLAN value in RX mbuf

2015-11-24 Thread Thomas Monjalon
> > vlan_tci should be copied from RX descriptor to mbuf, > > and flag PKT_RX_VLAN_PKT should be set for every RX packet, > > this patch fixes this issue. > > Packets in fm10k device always carry at least one VLAN tag. > > For those packets coming in without VLAN tag, > > the port default VLAN tag

[dpdk-dev] [PATCH v3] fm10k: fix wrong VLAN value in RX mbuf

2015-11-20 Thread Shaopeng He
vlan_tci should be copied from RX descriptor to mbuf, and flag PKT_RX_VLAN_PKT should be set for every RX packet, this patch fixes this issue. Packets in fm10k device always carry at least one VLAN tag. For those packets coming in without VLAN tag, the port default VLAN tag will be used. So in fm10

[dpdk-dev] [PATCH v3] fm10k: fix wrong VLAN value in RX mbuf

2015-11-20 Thread Stephen Hemminger
On Fri, 20 Nov 2015 22:09:47 +0800 Shaopeng He wrote: > vlan_tci should be copied from RX descriptor to mbuf, > and flag PKT_RX_VLAN_PKT should be set for every RX packet, > this patch fixes this issue. > Packets in fm10k device always carry at least one VLAN tag. > For those packets coming in wi