]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: E-Switch, Convert a macro to a helper routine
authorParav Pandit <parav@nvidia.com>
Fri, 26 Feb 2021 12:36:22 +0000 (14:36 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 14 Apr 2021 18:02:38 +0000 (11:02 -0700)
commitd1a9bb4d7da9262d7b2cb280e233ae2b2f105b0a
treeef255be35f4a5daba2acdb86de7b729d608cd1e7
parentc359aa5c7b31f969ea8906e0a0128876a7204c03
net/mlx5: E-Switch, Convert a macro to a helper routine

Convert ESW_ALLOWED macro to a helper routine so that it can be used in
other eswitch files.

Signed-off-by: Parav Pandit <parav@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h