[PATCH 0/6] virtio_net: use common code for virtio_net_hdr and skb GSO conversion

From
Mike Rapoport <hidden>
Date
2016-06-08 13:10:08
Also in
lkml, netdev
Hi,

This patches introduce virtio_net_hdr_{from,to}_skb functions for
conversion of GSO information between skb and virtio_net_hdr.

Mike Rapoport (6):
  virtio_net: add _UAPI prefix to virtio_net header guards
  virtio_net: introduce virtio_net_hdr_{from,to}_skb
  macvtap: use common code for virtio_net_hdr and skb GSO conversion
  tuntap: use common code for virtio_net_hdr and skb GSO conversion
  virtio_net: use common code for virtio_net_hdr and skb GSO conversion
  packet: use common code for virtio_net_hdr and skb GSO conversion

 drivers/net/macvtap.c           |  95 +++----------------------------------
 drivers/net/tun.c               |  97 +++++++++-----------------------------
 drivers/net/virtio_net.c        |  78 ++++---------------------------
 include/linux/virtio_net.h      | 101 ++++++++++++++++++++++++++++++++++++++++
 include/uapi/linux/virtio_net.h |   6 +--
 net/packet/af_packet.c          |  36 +-------------
 6 files changed, 143 insertions(+), 270 deletions(-)
 create mode 100644 include/linux/virtio_net.h

-- 
1.9.1
Thread (8 messages) 8 messages, 2 authors, last reply 2016-06-11
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help