Thread (14 messages) flat view 14 messages, 3 authors, 2023-05-16

Re: [PATCH net-next V2 1/2] virtio-net: convert rx mode setting to use workqueue

From: Jakub Kicinski <kuba@kernel.org>
Date: 2023-05-16 19:37:01
Also in: lkml

On Tue, 16 May 2023 12:17:50 +0800 Jason Wang wrote:
quoted
It's not reliable for other drivers but has been reliable for virtio.
I worry some software relied on this.  
It's probably fine since some device like vhost doesn't support this
at all and we manage to survive for several years.
quoted
You are making good points though ... could we get some
maintainer's feedback on this?  
That would be helpful. Jakub, any input on this?
AFAIU the question is whether .ndo_set_rx_mode needs to be reliable 
and instantaneous?  I haven't heard any complaints for it not being
immediate, and most 10G+ NICs do the config via a workqueue.

I even have an "intern task" to implement a workqueue in the core,
for this to save the boilerplate code in the drivers.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help