net/mlx5: E-Switch, Add match on vhca id to default send rules
authorMark Bloch <mbloch@nvidia.com>
Thu, 11 Mar 2021 07:09:10 +0000 (23:09 -0800)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 12 Mar 2021 21:07:01 +0000 (13:07 -0800)
commit7d97822a8ceccf9b4b3297465f0b2c1cfd4161f9
tree1f4a3637ea07131db195e46683369084573124a3
parent59079438a664559bb1f6f5fe85e306962ef9286e
net/mlx5: E-Switch, Add match on vhca id to default send rules

Match on the vhca id of the E-Switch owner when creating the send-to-vport
representor rules.

Signed-off-by: Mark Bloch <mbloch@nvidia.com>
Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c