]> git.baikalelectronics.ru Git - kernel.git/commit
tilegx net driver: handle payload data not in frags
authorChris Metcalf <cmetcalf@tilera.com>
Wed, 11 Jul 2012 18:08:21 +0000 (14:08 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Wed, 18 Jul 2012 19:03:00 +0000 (15:03 -0400)
commitde427eacfcc78c01bc87dc9c682170971d48e321
treee4efddd1dfb9d8ff718ada36ca994b4cbd3a3eb9
parentdfd4fd12193c92bf380f4dd3a7c08d02ccecca60
tilegx net driver: handle payload data not in frags

The original driver implementation assumed that for TSO, all the
payload data would be in the frags.  This isn't always true; change
the driver to support payload data at skb->data between
"skb_transport_offset(skb) + tcp_hdrlen(skb)" and "skb->hdr_len",
followed by the data in the frags.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
drivers/net/ethernet/tile/tilegx.c