diff options
author | Jiri Pirko <jiri@nvidia.com> | 2022-11-02 17:02:07 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-11-03 20:48:35 -0700 |
commit | 31265c1e29eb28f17df50d04ee421b5b6369fefd (patch) | |
tree | 86288d3757fbb2bbe74ea4f6f7bb124e8cdfb6d1 /drivers/net/ethernet/intel/ice/ice_main.c | |
parent | d0f5172629339f4a9cbbe5f9ae51cea48b4af333 (diff) |
net: devlink: store copy netdevice ifindex and ifname to allow port_fill() without RTNL held
To avoid a need to take RTNL mutex in port_fill() function, benefit from
the introduce infrastructure that tracks netdevice notifier events.
Store the ifindex and ifname upon register and change name events.
Remove the rtnl_held bool propagated down to port_fill() function as it
is no longer needed.
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions