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.
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

