# 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 
- List: netdev
- Page: https://ratatoskr.run/netdev/2025/10/3263232
- Thread: https://ratatoskr.run/netdev/2025/10/3258686/t.md

```text


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

- [OpenPGP\_signature.asc](https://ratatoskr.run/netdev/2025/10/3263232/attachment/0) (application/pgp-signature, 236 bytes)
