]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: E-switch, Create vport miss group only if src rewrite is supported
authorMaor Dickman <maord@nvidia.com>
Mon, 15 Mar 2021 13:20:29 +0000 (15:20 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 31 Mar 2021 20:12:22 +0000 (13:12 -0700)
commite929e3da537e3c2d97aabbd00530040997dde9ce
tree2699d580fa437b7a60109536e02fd0a074743b68
parent3211434dfe7a66fcf55e43961ea524b78336c04c
net/mlx5: E-switch, Create vport miss group only if src rewrite is supported

Create send to vport miss group was added in order to support traffic
recirculation to root table with metadata source rewrite.
This group is created also in case source rewrite isn't supported.

Fixed by creating send to vport miss group only if source rewrite is
supported by FW.

Fixes: 8e404fefa58b ("net/mlx5e: Match recirculated packet miss in slow table using reg_c1")
Signed-off-by: Maor Dickman <maord@nvidia.com>
Reviewed-by: Vlad Buslov <vladbu@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c