linux/drivers/net/ethernet/intel
Brett Creeley d944b46992 ice: Fix the bytecount sent to netdev_tx_sent_queue
Currently if the driver does a TSO offload the bytecount sent to
netdev_tx_sent_queue will be incorrect. This is because in ice_tso we
overwrite the initial value that we set in ice_tx_map. This creates a
mismatch between the Tx and Tx clean flow. In the Tx clean flow we
calculate the bytecount (called total_bytes) as we clean the
descriptors so the value used in the Tx clean path is correct. Fix this
by using += in ice_tso instead of =. This fixes the mismatch in
bytecount mentioned above.

Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2018-11-06 12:46:47 -08:00
..
e1000 e1000: remove set but not used variable 'txb2b' 2018-09-19 23:09:23 -07:00
e1000e pci-v4.20-changes 2018-10-25 06:50:48 -07:00
fm10k fm10k: bump driver version to match out-of-tree release 2018-10-31 10:49:15 -07:00
i40e i40e: Update status codes 2018-10-31 10:57:43 -07:00
iavf drivers: net: remove <net/busy_poll.h> inclusion when not needed 2018-10-25 16:20:02 -07:00
ice ice: Fix the bytecount sent to netdev_tx_sent_queue 2018-11-06 12:46:47 -08:00
igb igb: shorten maximum PHC timecounter update interval 2018-10-31 10:24:41 -07:00
igbvf intel-ethernet: use correct module license 2018-09-18 15:32:59 -07:00
igc igc: Add watchdog 2018-10-17 13:58:47 -07:00
ixgb Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/net 2018-09-25 10:35:29 -07:00
ixgbe ixgbe: fix MAC anti-spoofing filter after VFLR 2018-10-31 11:05:51 -07:00
ixgbevf ixgbe/ixgbevf: fix XFRM_ALGO dependency 2018-10-31 10:53:15 -07:00
e100.c intel-ethernet: use correct module license 2018-09-18 15:32:59 -07:00
Kconfig ixgbe/ixgbevf: fix XFRM_ALGO dependency 2018-10-31 10:53:15 -07:00
Makefile igc: Add skeletal frame for Intel(R) 2.5G Ethernet Controller support 2018-10-17 12:14:54 -07:00