]> 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)
commite9dce69b435a43451c97d0da5c1fee7cc396568a
treeef9a0d79ea74fe61b4a275a4f3eb8da6e7e1446f
parentd2d25873c4ccdeb92327690b94f2f4a978f14d2f
ixgbevf: fix handling of tx checksumming

This patch resolves an issue introduced by:
commit 63cba78ca2487af852ebb8531343b351e200a2f2
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