Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1691136

[PATCH net-next V2 0/5] Refine virtio-net XDP

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Jason Wang <jasowang@redhat.com>
Newsgroups linux.kernel
Subject [PATCH net-next V2 0/5] Refine virtio-net XDP
Date Wed, 19 Jul 2017 11:00:02 +0200
Message-ID <u4SZP-68j-5@gated-at.bofh.it> (permalink)
Dmarc-Filter OpenDMARC Filter v1.3.2 mx1.redhat.com 8AFC82F86C1
Authentication-Results ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
Authentication-Results ext-mx05.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=jasowang@redhat.com
Dkim-Filter OpenDKIM Filter v2.11.0 mx1.redhat.com 8AFC82F86C1
X-Scanned-By MIMEDefang 2.79 on 10.5.11.11
X-Greylist Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Wed, 19 Jul 2017 08:54:55 +0000 (UTC)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 30
Organization linux.* mail to news gateway
X-Original-Date Wed, 19 Jul 2017 16:54:44 +0800
X-Original-Message-ID <1500454489-16805-1-git-send-email-jasowang@redhat.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1691136

Show key headers only | View raw


Hi:

This series brings two optimizations for virtio-net XDP:

- avoid reset during XDP set
- turn off offloads on demand

Changes from V1:
- Various tweaks on commit logs and comments
- Use virtnet_napi_enable() when enabling NAPI on XDP set
- Copy the small buffer packet only if xdp_headroom is smaller than
  required

Please review.

Thanks

Jason Wang (5):
  virtio_ring: allow to store zero as the ctx
  virtio-net: pack headroom into ctx for mergeable buffers
  virtio-net: switch to use new ctx API for small buffer
  virtio-net: do not reset during XDP set
  virtio-net: switch off offloads on demand if possible on XDP set

 drivers/net/virtio_net.c     | 332 ++++++++++++++++++++++++++-----------------
 drivers/virtio/virtio_ring.c |   2 +-
 2 files changed, 200 insertions(+), 134 deletions(-)

-- 
2.7.4

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH net-next V2 0/5] Refine virtio-net XDP Jason Wang <jasowang@redhat.com> - 2017-07-19 11:00 +0200
  [PATCH net-next V2 2/5] virtio-net: pack headroom into ctx for mergeable buffers Jason Wang <jasowang@redhat.com> - 2017-07-19 11:00 +0200
  Re: [PATCH net-next V2 0/5] Refine virtio-net XDP David Miller <davem@davemloft.net> - 2017-07-24 22:40 +0200
    Re: [PATCH net-next V2 0/5] Refine virtio-net XDP "Michael S. Tsirkin" <mst@redhat.com> - 2017-07-24 23:50 +0200

csiph-web