fm10k: fix VLAN flag in scattered Rx
authorXiao Wang <xiao.w.wang@intel.com>
Fri, 18 Dec 2015 03:09:18 +0000 (11:09 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 16 Mar 2016 16:49:02 +0000 (17:49 +0100)
commit7656a546c0609f3205558a5d48352c82607d38d3
tree458175253900a84d3927d1921ddc4446c8a5f76f
parente18e01e92c29677b2974bb4e3dfa35754e879f17
fm10k: fix VLAN flag in scattered Rx

In fm10k_recv_scattered_pkts function, a packet is stored in a linked list,
offload flags such as PKT_RX_VLAN_PKT should be set in the first segment.

Fixes: 6b59a3bc82b1 ("fm10k: fix VLAN in Rx mbuf")

Signed-off-by: Wang Xiao W <xiao.w.wang@intel.com>
Acked-by: Shaopeng He <shaopeng.he@intel.com>
drivers/net/fm10k/fm10k_rxtx.c