net/i40e: fix scattered Rx enabling
authorQi Zhang <qi.z.zhang@intel.com>
Wed, 27 Mar 2019 11:00:05 +0000 (19:00 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 12 Apr 2019 09:02:02 +0000 (11:02 +0200)
commit756cea41e9b8108ee8887b63abc357c1f678f480
tree42ed3d5c1fb4c9d77822174d2383274c5b1058f8
parent13856b795362e11c1db20c1a134680653144bd1a
net/i40e: fix scattered Rx enabling

No need to add additional vlan tag size for max packet size, since
for i40e, the queue's Rx Max Frame Size (rxq->max_pkt_len) already
includes the vlan header size.

Fixes: a3c83a2527e1 ("net/i40e: enable runtime queue setup")
Fixes: 4861cde46116 ("i40e: new poll mode driver")
Fixes: c1715402df8f ("i40evf: fix jumbo frame support")
Cc: stable@dpdk.org
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/i40e/i40e_ethdev_vf.c
drivers/net/i40e/i40e_rxtx.c