aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2020-06-19 03:32:54 +0000
committerDavid S. Miller <davem@davemloft.net>2020-06-22 15:29:19 -0700
commit1094795ce49d75e99b0f8853dfd5e622a5743732 (patch)
treee427e54492acf48e3f4b0b66d3296e618fc2630e /drivers/net/dsa
parentnet/mlx5: E-switch, Support querying port function mac address (diff)
downloadlinux-dev-1094795ce49d75e99b0f8853dfd5e622a5743732.tar.xz
linux-dev-1094795ce49d75e99b0f8853dfd5e622a5743732.zip
net/mlx5: Split mac address setting function for using state_lock
Refactor mac address setting function to let caller hold the necessary state_lock mutex, so that subsequent patch and use this helper routine. Signed-off-by: Parav Pandit <parav@mellanox.com> Reviewed-by: Roi Dayan <roid@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa')
0 files changed, 0 insertions, 0 deletions