net/iavf: fix scattered Rx enabling
authorSteve Yang <stevex.yang@intel.com>
Fri, 4 Sep 2020 07:29:02 +0000 (07:29 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:07 +0000 (18:55 +0200)
commit0f14a4127ea6e6e079caaccc98c98dc4b0b20e1d
tree9d2a31056d5ce68516dbcb05c799354fdf31dbbb
parent3db12449e119587648adf0b189c0e45502b71285
net/iavf: fix scattered Rx enabling

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

Fixes: 69dd4c3d0898 ("net/avf: enable queue and device")
Cc: stable@dpdk.org
Signed-off-by: Steve Yang <stevex.yang@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/iavf/iavf_ethdev.c