net/iavf: fix TSO max segment size
authorQi Zhang <qi.z.zhang@intel.com>
Mon, 1 Mar 2021 07:57:14 +0000 (15:57 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Mon, 29 Mar 2021 23:21:17 +0000 (01:21 +0200)
commit6d05fc905df216b78e4e3db935927a53a638c6d0
treea99647fc0af0a139ca9da5014900cdaab9c8b5b7
parentdf4a6d9aa7f8ee5318db7f1821df2f02e298c532
net/iavf: fix TSO max segment size

According to IntelĀ® AVF spec
(https://www.intel.com/content/dam/
www/public/us/en/documents/product-specifications/
ethernet-adaptive-virtual-function-hardware-spec.pdf)
section 2.2.2.3:
The max segment size(MSS) of TSO should not be set lower than 88.

Fixes: a2b29a7733ef ("net/avf: enable basic Rx Tx")
Cc: stable@dpdk.org
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/iavf/iavf_rxtx.h