Thread (59 messages) 59 messages, 12 authors, 2020-09-29

Re: [patch 15/35] net: sfc: Replace in_interrupt() usage.

From: Edward Cree <hidden>
Date: 2020-09-28 19:12:16
Also in: intel-wired-lan, linux-doc, linux-usb, linux-wireless, lkml

On 27/09/2020 20:49, Thomas Gleixner wrote:
Note, that the fixes tag is empty as it is unclear which of the commits to
blame.
Seems like it should be
Fixes: f00bf2305cab("sfc: don't update stats on VF when called in atomic context")
 since that adds the in_interrupt() check and the code concerned
 doesn't seemto have changed a great deal since.

Anyway, this fix looks correct, and you can have my
Acked-by: Edward Cree <redacted>
 but I thinkit might be cleaner to avoid having to have this unused
 can_sleep argument on all the NICs that don't need it, by instead
 adding an update_stats_atomic() member to struct efx_nic_type, which
 could be set to the same as update_stats() for everything except
 EF10 VFs which would just do the call to efx_update_sw_stats().
I'll send an rfc patch embodying the above shortly...

-ed
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help