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

Thomas Monjalon thomas.monjalon at 6wind.com
Tue Nov 24 11:28:22 CET 2015


> > 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 fm10k, always PKT_RX_VLAN_PKT flag is set and vlan_tci
> > is valid for each RX packet's mbuf.
> > 
> > Signed-off-by: Shaopeng He <shaopeng.he at intel.com>
> 
> Looks good thanks.
> 
> Acked-by: Stephen Hemminger <stephen at networkplumber.org>

Applied, thanks


More information about the dev mailing list