]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbevf: fix handling of tx checksumming
authorEmil Tantilov <emil.s.tantilov@intel.com>
Fri, 28 Feb 2014 04:32:44 +0000 (20:32 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Feb 2014 17:40:57 +0000 (12:40 -0500)
commitc9ea9a6a64e20da55e1a4a12eace028a0fdcd8eb
treeef9a0d79ea74fe61b4a275a4f3eb8da6e7e1446f
parent41dbc3b4121d2c9597fbc857d6cacb9e63e88044
ixgbevf: fix handling of tx checksumming

This patch resolves an issue introduced by:
commit 2d3bdefbfb07bc416c87e48ce4cdceefed94d3ab
ixgbevf: make the first tx_buffer a repository for most of the skb info

Incorrect check for the result of ixgbevf_tso() can lead to calling
ixgbevf_tx_csum() which can spawn 2 context descriptors and result in
performance degradation and/or corrupted packets.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c