aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx5/main.c
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2019-10-28 23:35:28 +0000
committerSaeed Mahameed <saeedm@mellanox.com>2019-11-01 14:40:27 -0700
commit238302fae0216cb2e6a087ba403f3ecc3450b18b (patch)
treec599bacb8e593c63c58a246c57357a3d24a05fce /drivers/infiniband/hw/mlx5/main.c
parentnet/mlx5: Refactor ingress acl configuration (diff)
downloadlinux-dev-238302fae0216cb2e6a087ba403f3ecc3450b18b.tar.xz
linux-dev-238302fae0216cb2e6a087ba403f3ecc3450b18b.zip
net/mlx5: E-switch, Enable metadata on own vport
Currently on ECPF, metadata is enabled on the ECPF vport = 0xfffe (manager vport). Metadata when supported, must be enabled on own vport which is used to pass metadata to vport of NIC Rx Flow Table. Due to this error, traffic tagged by ingress ACL is not processed correctly at NIC rx flow table level which is supposed to work on metadata tag. Hence, instead of working on eswitch manager vport, always working on eswitch own vport regardless of PF or ECPF. Given that mlx5_eswitch_query/modify_esw_vport_context() is used to access other vport in legacy mode and own vport settings in switchdev mode, extend low level API to explicitly specify other_vport. Fixes: c1286050cf47 ("net/mlx5: E-Switch, Pass metadata from FDB to eswitch manager") Signed-off-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/main.c')
0 files changed, 0 insertions, 0 deletions