]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Fix E-Switch flow steering capabilities check
authorMaor Gottlieb <maorg@mellanox.com>
Thu, 9 Jun 2016 21:07:33 +0000 (00:07 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Jun 2016 05:06:26 +0000 (22:06 -0700)
commitfdf63fcc172868b04d9c71f8ee69cf1185f3460f
treec3d5c752f61a6447c464eba6dcb7ddc476c60f59
parent4e71cd3aaaeca7bdbf78e2a75a7fa97f8dfe8e9c
net/mlx5: Fix E-Switch flow steering capabilities check

Add missing capabilities check for E-Switch FDB and ACLs flow
tables before creating their namespace in flow steering.

Fixes: edb68b4a328b ('net/mlx5: Flow steering, Add vport ACL support')
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c