Re: [PATCH net-next v2 09/12] net: ethtool: optionally skip rtnl_lock in RSS context handlers
From: Eric Dumazet <edumazet@google.com>
Date: 2026-06-09 15:44:56
From: Eric Dumazet <edumazet@google.com>
Date: 2026-06-09 15:44:56
On Thu, Jun 4, 2026 at 5:29 PM Jakub Kicinski [off-list ref] wrote:
Skip rtnl_lock in RSS context handlers if device is ops-locked. Fairly trivial conversion. bnxt needed rtnl_lock for changing the main context but looks like additional contexts are fine without it. Note (for review bots?) that ethnl_ops_begin() checks whether the device is still registered. Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Eric Dumazet <edumazet@google.com>