diff options
author | Mark Bloch <markb@mellanox.com> | 2018-01-15 16:11:37 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2018-02-23 23:36:39 +0300 |
commit | ec9c2fb8ceb5b514c4820f732537cb2982de0620 (patch) | |
tree | 2a1800dea3de116f187703789d4c68c4f771f9ed /drivers/net/ethernet/mellanox/mlx5/core/eswitch.c | |
parent | c5447c70594b6a8e1e62a9dd9373813cb38f1c69 (diff) | |
download | linux-ec9c2fb8ceb5b514c4820f732537cb2982de0620.tar.xz |
IB/mlx5: Disable self loopback check when in switchdev mode
When in switchdev mode, there is no need to do self loopback checks
as we can't receive those packets, we insert steering rules to the
eswitch that make sure packets can't be looped back.
Signed-off-by: Mark Bloch <markb@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/eswitch.c')
0 files changed, 0 insertions, 0 deletions