]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: E-Switch, Return EBUSY if can't get mode lock
authorJianbo Liu <jianbol@nvidia.com>
Sun, 2 Oct 2022 04:56:32 +0000 (21:56 -0700)
committerJakub Kicinski <kuba@kernel.org>
Mon, 3 Oct 2022 23:55:29 +0000 (16:55 -0700)
commit3cd9e7e0da0810c21b898ff89965e669036172c8
tree7be346a43539572f44829b70fe115fcd1aef18e6
parent20f6ab25c6873e74a29f868d687f3ba800aa8b9c
net/mlx5: E-Switch, Return EBUSY if can't get mode lock

It is to avoid tc retrying during device mode change.

Signed-off-by: Jianbo Liu <jianbol@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c