Re: [RFC net-next PATCH 0/2] net: Split ndo_set_rx_mode into snapshot and deferred write

From
Jacob Keller <jacob.e.keller@intel.com>
Date
2025-10-22 23:46:06
Also in
linux-kernel-mentees, lkml
Reply to
I Viswanath, 2025-10-20

On 10/20/2025 6:48 AM, I Viswanath wrote:
3. All calls to modify rx_mode should pass through the set_rx_mode +
    schedule write_rx_config execution flow.

1 and 2 are guaranteed because of the properties of work queues

Drivers need to ensure 3
Is there any mechanism to make this guarantee either implemented or at
least verified by the core? If not that, what about some sort of way to
lint driver code and make sure its correct?

In my experience, requiring drivers to do something right typically
results in a long tail of correcting drivers into the future..

Attachments

Thread (6 messages) 6 messages, 2 authors, last reply 2025-10-24
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help