From: Jason Wang <jasowang@redhat.com>
To: Cindy Lu <lulu@redhat.com>
Cc: mst@redhat.com, kvm@vger.kernel.org,
virtualization@lists.linux.dev, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [RFC 0/3] vhost-net: netfilter support for RX path
Date: Mon, 9 Feb 2026 09:46:56 +0800 [thread overview]
Message-ID: <CACGkMEu+gE_K=Tdx8c8GSY4snGpSuU3MgevTq_Mh2wShmaH+2g@mail.gmail.com> (raw)
In-Reply-To: <20260208143441.2177372-1-lulu@redhat.com>
On Sun, Feb 8, 2026 at 10:34 PM Cindy Lu <lulu@redhat.com> 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
>
prev parent reply other threads:[~2026-02-09 1:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-08 14:32 [RFC 0/3] vhost-net: netfilter support for RX path Cindy Lu
2026-02-08 14:32 ` [RFC 1/3] uapi: vhost: add vhost-net netfilter offload API Cindy Lu
2026-02-08 17:32 ` Michael S. Tsirkin
2026-02-09 6:41 ` Cindy Lu
2026-02-08 14:32 ` [RFC 2/3] vhost/net: add netfilter socket support Cindy Lu
2026-02-08 14:32 ` [RFC 3/3] vhost/net: add RX netfilter offload path Cindy Lu
2026-02-09 1:46 ` Jason Wang [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CACGkMEu+gE_K=Tdx8c8GSY4snGpSuU3MgevTq_Mh2wShmaH+2g@mail.gmail.com' \
--to=jasowang@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lulu@redhat.com \
--cc=mst@redhat.com \
--cc=netdev@vger.kernel.org \
--cc=virtualization@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox