RDMA/mlx5: Add vport metadata matching for IB representors
authorJianbo Liu <jianbol@mellanox.com>
Tue, 25 Jun 2019 17:48:12 +0000 (17:48 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 26 Jun 2019 19:01:29 +0000 (12:01 -0700)
commit669ff1e32f334e6a09e523db94989b96da4a4710
treeda387340cc82c2b18e72b3ea36e6795dd93fe3fd
parenta5641cb524cd023c5fafbe41891c8ec510b65f3b
RDMA/mlx5: Add vport metadata matching for IB representors

If vport metadata matching is enabled in eswitch, the rule created
must be changed to match on the metadata, instead of source port.

Signed-off-by: Jianbo Liu <jianbol@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/infiniband/hw/mlx5/main.c