Tested this patch with virtio-net regression tests, everything works fine. Tested-by: Lei Yang <[email protected]>
On Wed, Oct 29, 2025 at 5:14 AM Andrew Lunn <[email protected]> wrote: > > On Tue, Oct 28, 2025 at 03:28:54PM +0000, Nick Hudson wrote: > > The vhost_net (and vhost_sock) drivers create worker tasks to handle > > the virtual queues. Provide a new ioctl VHOST_GET_VRING_WORKER_INFO that > > can be used to determine the PID of these tasks so that, for example, > > they can be pinned to specific CPU(s). > > Could you add something about the lifetime of the PID. How do you know > the PID still belongs to the worker by the time you come to use it? > > Andrew >

