[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161120024710.19187.31037.stgit@john-Precision-Tower-5810>
Date: Sat, 19 Nov 2016 18:49:03 -0800
From: John Fastabend <john.fastabend@...il.com>
To: daniel@...earbox.net, eric.dumazet@...il.com, mst@...hat.com,
kubakici@...pl, shm@...ulusnetworks.com, davem@...emloft.net,
alexei.starovoitov@...il.com
Cc: netdev@...r.kernel.org, bblanco@...mgrid.com,
john.fastabend@...il.com, john.r.fastabend@...el.com,
brouer@...hat.com, tgraf@...g.ch
Subject: [net-next PATCH v2 0/5] XDP for virtio_net
This implements virtio_net for the mergeable buffers and big_packet
modes. I tested this with vhost_net running on qemu and did not see
any issues.
There are some restrictions for XDP to be enabled (see patch 3) for
more details.
1. LRO must be off
2. MTU must be less than PAGE_SIZE
3. queues must be available to dedicate to XDP
4. num_bufs received in mergeable buffers must be 1
5. big_packet mode must have all data on single page
Please review any comments/feedback welcome as always.
v2, fixes rcu usage throughout thanks to Eric and the use of
num_online_cpus() usage thanks to Jakub.
Thanks,
John
---
John Fastabend (4):
net: virtio dynamically disable/enable LRO
net: xdp: add invalid buffer warning
virtio_net: add dedicated XDP transmit queues
virtio_net: add XDP_TX support
Shrijeet Mukherjee (1):
virtio_net: Add XDP support
drivers/net/virtio_net.c | 268 +++++++++++++++++++++++++++++++++++++++++++++-
include/linux/filter.h | 1
net/core/filter.c | 6 +
3 files changed, 270 insertions(+), 5 deletions(-)
--
Signature
Powered by blists - more mailing lists