net/i40e: fix Tx when TSO is enabled
net/i40e: fix Tx when TSO is enabled

Hardware limits that max buffer size per tx descriptor should be
(16K-1)B. So when TSO enabled, the mbuf data size may exceed the
limit and cause malicious behavior to the NIC. This patch fixes
this issue by using more tx descs for this kind of large buffer.

Fixes: 4861cde46116 ("i40e: new poll mode driver")
Cc: stable@dpdk.org

Signed-off-by: Xiaoyun Li <151cc00bdba86cfa2ecfc39aaa98def8f092d9d8@intel.com>
Acked-by: Qi Zhang <9e9e58ffa71a29bb7b87766b362515be648fcbe0@intel.com>
Tested-by: Ciara Loftus <b3d6c0da41dcf0b8333ab29bfd5c6eca84b2ba45@intel.com>

john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk