commit | 7ac1cc9aef00942cbae01ff39bfc0a93199741e2 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Mon May 21 22:12:50 2018 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed May 23 14:26:19 2018 -0400 |
tree | 5c6ba5c22149ffb289bd3e4a6047804db1290369 | |
parent | 634c6b7a85d46a891b2edee075bb422043dcb8da [diff] |
devlink: don't take instance lock around eswitch mode set Changing switch mode may want to register and unregister devlink ports. Therefore similarly to DEVLINK_CMD_PORT_SPLIT/UNSPLIT it should not take the instance lock. Drivers don't depend on existing locking since it's a very recent addition. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>