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

From Jason Wang <jasowang@redhat.com>
Newsgroups linux.kernel
Subject [PATCH net-next V2 0/5] Refine virtio-net XDP
Date 2017-07-19 11:00 +0200
Message-ID <u4SZP-68j-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | 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 | NextNext 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