|
From: | Jason Wang |
Subject: | Re: [Qemu-devel] [RFC 0/6] Virtio-net: Support RSS |
Date: | Mon, 3 Sep 2018 12:15:58 +0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
On 2018年08月30日 22:27, Sameeh Jubran wrote:
From: Sameeh Jubran <address@hidden> This series implements the Steering Mode feature which was introduced on the virtio-dev list a while ago, which can be found here: * https://lists.oasis-open.org/archives/virtio-dev/201805/msg00024.html The first three patches add some infrastructure support that is used in the following three patches. The ebpf filter doesn't fully work yet as I'm having an issue with the verifier which needs to be fixed.
What issues did you meet? You can attach a trace buffer and get verbose debug information from that. Btw, dpdk use cls bpf and we use socket filter.
The patches still need some love as not all of the cases have been handled yet most of the functionality has been implemented.
One question is how indirection table is implemented, I thought it should be a map but looks not. Please see comment on patch 6.
Thanks
Please share your thoughts and comments so I'll move forward with sending v1 along with a fully functioning ebpf code. Sameeh Jubran (6): Add bpf support to qemu tap: Add support for bpf ioctls vhost-net: Expose vhost_net_get_fd virtio-net: implement steering mode feature virtio-net: steering mode: Implement rss support virtio-net: rss: Add bpf filter MAINTAINERS | 5 + configure | 44 + hw/net/rss_bpf_insns.h | 3992 +++++++++++++++++++++++++++ hw/net/rss_tap_bpf.h | 37 + hw/net/rss_tap_bpf_program.c | 172 ++ hw/net/vhost_net.c | 2 +- hw/net/virtio-net.c | 250 +- include/hw/virtio/virtio-net.h | 5 + include/net/net.h | 3 +- include/standard-headers/linux/virtio_net.h | 55 + net/tap-bsd.c | 5 + net/tap-linux.c | 29 +- net/tap-linux.h | 3 +- net/tap-solaris.c | 5 + net/tap-stub.c | 5 + net/tap.c | 8 + net/tap_int.h | 1 + qapi/net.json | 11 + scripts/update-linux-headers.sh | 8 +- 19 files changed, 4627 insertions(+), 13 deletions(-) create mode 100644 hw/net/rss_bpf_insns.h create mode 100644 hw/net/rss_tap_bpf.h create mode 100644 hw/net/rss_tap_bpf_program.c
[Prev in Thread] | Current Thread | [Next in Thread] |