[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1500454489-16805-1-git-send-email-jasowang@redhat.com>
Date: Wed, 19 Jul 2017 16:54:44 +0800
From: Jason Wang <jasowang@...hat.com>
To: mst@...hat.com, virtualization@...ts.linux-foundation.org,
jasowang@...hat.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH net-next V2 0/5] Refine virtio-net XDP
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
Powered by blists - more mailing lists