ice: port fix for chk_linearlize
authorKiran Patil <kiran.patil@intel.com>
Thu, 30 Jul 2020 00:19:17 +0000 (17:19 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Sat, 1 Aug 2020 15:44:04 +0000 (08:44 -0700)
commit0a37abfa017a90cf0708f69022368cca6869416f
tree43a7c30e087a2a8a22ac1b1d1e04fed210339977
parentf34f55557ac9a4dfbfbf36c70585d1648ab5cd90
ice: port fix for chk_linearlize

This is a port of commit 248de22e638f ("i40e/i40evf: Account for frags
split over multiple descriptors in check linearize")

As part of testing workloads (read/write) using larger IO size (128K)
tx_timeout is observed and whenever it happens, it was due to
tx_linearize.

Signed-off-by: Kiran Patil <kiran.patil@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_txrx.c