mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Liang Chen <liangchen.linux@gmail.com>
To: mst@redhat.com, jasowang@redhat.com, hengqi@linux.alibaba.com,
	xuanzhuo@linux.alibaba.com
Cc: virtualization@lists.linux-foundation.org,
	linux-kernel@vger.kernel.org, liangchen.linux@gmail.com
Subject: [PATCH v2 0/3] virtio_net: Support the RX hash XDP hint
Date: Wed, 24 Jan 2024 16:57:18 +0800	[thread overview]
Message-ID: <20240124085721.54442-1-liangchen.linux@gmail.com> (raw)

The RSS hash report is a feature that's part of the virtio specification.
Currently, virtio backends like qemu and vdpa (mlx5) support it(potentially
vhost). While the capability to obtain the RSS hash has been enabled in the
normal path, it's currently missing in the XDP path. 

Changes from v1:
- introduce a wrapper structure to preserve virtio header

Liang Chen (3):
  virtio_net: Preserve virtio header before XDP program execution
  virtio_net: Add missing virtio header in skb for XDP_PASS
  virtio_net: Support RX hash XDP hint

 drivers/net/virtio_net.c | 102 ++++++++++++++++++++++++++++++++++-----
 1 file changed, 90 insertions(+), 12 deletions(-)

-- 
2.40.1


             reply	other threads:[~2024-01-24  8:58 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-24  8:57 Liang Chen [this message]
2024-01-24  8:57 ` [PATCH v2 1/3] virtio_net: Preserve virtio header before XDP program execution Liang Chen
2024-01-24  9:06   ` Xuan Zhuo
2024-01-25 10:17     ` Liang Chen
2024-01-24  8:57 ` [PATCH v2 2/3] virtio_net: Add missing virtio header in skb for XDP_PASS Liang Chen
2024-01-24  9:14   ` Xuan Zhuo
2024-01-25  3:48     ` Jason Wang
2024-01-25  6:41       ` Xuan Zhuo
2024-01-25  6:50     ` Liang Chen
2024-01-24 11:04   ` Heng Qi
2024-01-25  6:52     ` Liang Chen
2024-01-24  8:57 ` [PATCH v2 3/3] virtio_net: Support RX hash XDP hint Liang Chen

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=20240124085721.54442-1-liangchen.linux@gmail.com \
    --to=liangchen.linux@gmail.com \
    --cc=hengqi@linux.alibaba.com \
    --cc=jasowang@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mst@redhat.com \
    --cc=virtualization@lists.linux-foundation.org \
    --cc=xuanzhuo@linux.alibaba.com \
    /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

all inboxes | Powered by JetHome®