commit | ae24432cbc2b2d7f5a8d636194422604b0b4c4f7 | [log] [tgz] |
---|---|---|
author | Parav Pandit <parav@mellanox.com> | Sat Dec 14 04:09:04 2019 -0600 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Wed Mar 25 23:19:21 2020 -0700 |
tree | 79683b9bd96ce8aa93d77af53e6f4cf4c28a28d5 | |
parent | 98fed6eb9b17d4edb1d57b5f51c63b77686aaf1d [diff] |
net/mlx5: Split eswitch mode check to different helper function In order to check eswitch state under a lock, prepare code to split capability check and eswitch state check into two helper functions. Reviewed-by: Roi Dayan <roid@mellanox.com> Reviewed-by: Bodong Wang <bodong@mellanox.com> Reviewed-by: Mark Bloch <markb@mellanox.com> Signed-off-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>