summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2016-02-09 11:43:59 (GMT)
committerDavid S. Miller <davem@davemloft.net>2016-02-09 11:43:59 (GMT)
commitef5c0e253d0bde6e11a7f94e58a68c3b354afc6b (patch)
tree6932e66c41212dcbb6f15a438a3a57af401e57c5 /drivers/net
parent5ee14e6d336f1daacf5ba73e831029c5ab7ae329 (diff)
parent1d036d25e5609ba73fee6a88db01c306b140d512 (diff)
downloadlinux-ef5c0e253d0bde6e11a7f94e58a68c3b354afc6b.tar.xz
Merge branch 'tpacket-gso-csum-offload'
Willem de Bruijn says: ==================== packet: tpacket gso and csum offload Extend PACKET_VNET_HDR socket option support to packet sockets with memory mapped rings. Patches 2 and 4 add support to tpacket_rcv and tpacket_snd. Patch 1 prepares for this by moving the relevant virtio_net_hdr logic out of packet_snd and packet_rcv into helper functions. GSO transmission requires all headers in the skb linear section. Patch 3 moves parsing of tx_ring slot headers before skb allocation to enable allocation with sufficient linear size. Changes v1->v2: - fix bounds checks: - subtract sizeof(vnet_hdr) before comparing tp_len to size_max - compare tp_len to size_max also with GSO, just do not truncate to MTU ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions