virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next V2 0/5] Refine virtio-net XDP
@ 2017-07-19  8:54 Jason Wang
  2017-07-19  8:54 ` [PATCH net-next V2 1/5] virtio_ring: allow to store zero as the ctx Jason Wang
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Jason Wang @ 2017-07-19  8:54 UTC (permalink / raw)
  To: mst, virtualization, jasowang, netdev, linux-kernel

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-07-26  3:19 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-19  8:54 [PATCH net-next V2 0/5] Refine virtio-net XDP Jason Wang
2017-07-19  8:54 ` [PATCH net-next V2 1/5] virtio_ring: allow to store zero as the ctx Jason Wang
2017-07-19  8:54 ` [PATCH net-next V2 2/5] virtio-net: pack headroom into ctx for mergeable buffers Jason Wang
2017-07-19  8:54 ` [PATCH net-next V2 3/5] virtio-net: switch to use new ctx API for small buffer Jason Wang
2017-07-19  8:54 ` [PATCH net-next V2 4/5] virtio-net: do not reset during XDP set Jason Wang
2017-07-19  8:54 ` [PATCH net-next V2 5/5] virtio-net: switch off offloads on demand if possible on " Jason Wang
2017-07-24 21:29   ` Michael S. Tsirkin
2017-07-26  3:19     ` Jason Wang
2017-07-24 21:40   ` Michael S. Tsirkin
2017-07-24 20:38 ` [PATCH net-next V2 0/5] Refine virtio-net XDP David Miller
2017-07-24 21:41   ` Michael S. Tsirkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).