net/mlx5: Separate ingress/egress namespaces for each vport
authorGal Pressman <galp@mellanox.com>
Tue, 28 Nov 2017 09:58:51 +0000 (11:58 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 28 Dec 2017 22:43:52 +0000 (00:43 +0200)
commit9b93ab981e3bf62ff95a8cbb6faf652cd400decd
tree34e27bb7871cc59e32d92c0d721d5d386c02db74
parent4484e2994887cf57815c8e55ac1f9eaf0036928e
net/mlx5: Separate ingress/egress namespaces for each vport

Each vport has its own root flow table for the ACL flow tables and root
flow table is per namespace, therefore we should create a namespace for
each vport.

Fixes: efdc810ba39d ("net/mlx5: Flow steering, Add vport ACL support")
Signed-off-by: Gal Pressman <galp@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
drivers/net/ethernet/mellanox/mlx5/core/fs_core.h
include/linux/mlx5/fs.h