Thread (7 messages) 7 messages, 3 authors, 2026-02-09

Re: [RFC 0/3] vhost-net: netfilter support for RX path

From: Jason Wang <jasowang@redhat.com>
Date: 2026-02-09 01:47:10
Also in: kvm, lkml, virtualization

On Sun, Feb 8, 2026 at 10:34 PM Cindy Lu [off-list ref] wrote:
This series adds a minimal vhost-net filter support for RX.
It introduces a UAPI for VHOST_NET_SET_FILTER and a simple
SOCK_SEQPACKET message header. The kernel side keeps a filter
socket reference and routes RX packets to userspace when
it was enabled.
I wonder if a packet socket is sufficient or is this for macvtap as well?

Thanks
Tested
- vhost=on  and vhost=off

Cindy Lu (3):
  uapi: vhost: add vhost-net netfilter offload API
  vhost/net: add netfilter socket support
  vhost/net: add RX netfilter offload path

 drivers/vhost/net.c        | 338 +++++++++++++++++++++++++++++++++++++
 include/uapi/linux/vhost.h |  20 +++
 2 files changed, 358 insertions(+)

--
2.52.0
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help