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)
commit8388546e7972ef8f1bf9c981139ad59cf5331820
treee4efddd1dfb9d8ff718ada36ca994b4cbd3a3eb9
parent9b4c341b1e3c207f57de3bf5f3c65845592dee89
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