commit | 1094795ce49d75e99b0f8853dfd5e622a5743732 | [log] [tgz] |
---|---|---|
author | Parav Pandit <parav@mellanox.com> | Fri Jun 19 03:32:54 2020 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Jun 22 15:29:19 2020 -0700 |
tree | e427e54492acf48e3f4b0b66d3296e618fc2630e | |
parent | f099fde16db3d2594a54ba8c94ce9fa3557aa3e1 [diff] |
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>