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 _______________________________________________ Virtualization mailing list Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/virtualization