]> git.baikalelectronics.ru Git - kernel.git/commit
tilegx: fix some issues in the SW TSO support
authorChris Metcalf <cmetcalf@tilera.com>
Thu, 25 Oct 2012 07:25:20 +0000 (07:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Oct 2012 07:50:08 +0000 (03:50 -0400)
commit1082baff4b7cb44377fea5c88bb44f54f9252530
tree1f1cc48405056656e704a48c34d56be4d62630f6
parent90aa610a8d5daccca5902ed7431dabd42caf8ed1
tilegx: fix some issues in the SW TSO support

This change correctly computes the header length and data length in
the fragments to avoid a bug where we would end up with extremely
slow performance.  Also adopt use of skb_frag_size() accessor.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Cc: stable@vger.kernel.org [v3.6]
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/tile/tilegx.c