Linux virtualization list
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Longjun Tang" <lange_tang@163.com>
Cc: virtualization@lists.linux.dev,
	"Michael S. Tsirkin" <mst@redhat.com>,
	"Eugenio Perez" <eperezma@redhat.com>
Subject: Re: [RFC RESEND 1/3] virtio: add virtqueue_get_last_used_idx() helper
Date: Wed, 09 Sep 2026 09:27:17 +0000	[thread overview]
Message-ID: <20260909092718.1B9741F00A3A@smtp.kernel.org> (raw)
In-Reply-To: <20260908092646.108865-2-lange_tang@163.com>

> From: Longjun Tang <tanglongjun@kylinos.cn>
> 
> Export a read-only accessor for the last consumed used ring index.
> It's useful for drivers that need to detect whether the device has
> produced buffers that have not been consumed yet, by passing the
> returned value to virtqueue_poll().
> 
> The split ring now writes the field with WRITE_ONCE() (the packed
> ring already did) to document that the new reader can run concurrently
> with the poll path.
> 
> Assisted-by: Kilo:deepseek-v4-pro
> Signed-off-by: Longjun Tang <tanglongjun@kylinos.cn>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260908092646.108865-1-lange_tang@163.com?part=1


  reply	other threads:[~2026-09-09  9:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-08  9:26 [RFC RESEND 0/3] virtio_net: introduce an RX queue watchdog for stuck detection Longjun Tang
2026-09-08  9:26 ` [RFC RESEND 1/3] virtio: add virtqueue_get_last_used_idx() helper Longjun Tang
2026-09-09  9:27   ` sashiko-bot [this message]
2026-09-08  9:26 ` [RFC RESEND 2/3] virtio_net: introduce an RX queue watchdog for stuck detection Longjun Tang
2026-09-09  9:27   ` sashiko-bot
2026-09-08  9:26 ` [RFC RESEND 3/3] virtio_net: add rx_timeouts per-queue statistic Longjun Tang
2026-09-09  9:27   ` sashiko-bot

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=20260909092718.1B9741F00A3A@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=eperezma@redhat.com \
    --cc=lange_tang@163.com \
    --cc=mst@redhat.com \
    --cc=sashiko-reviews@lists.linux.dev \
    --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