From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Rapoport Subject: [PATCH 0/6] virtio_net: use common code for virtio_net_hdr and skb GSO conversion Date: Wed, 8 Jun 2016 16:09:16 +0300 Message-ID: <1465391362-18437-1-git-send-email-rppt@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: "Michael S. Tsirkin" Cc: netdev@vger.kernel.org, Mike Rapoport , linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org List-Id: virtualization@lists.linuxfoundation.org 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