]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: CT: Remove warning of ignore_flow_level support for VFs
authorPaul Blakey <paulb@nvidia.com>
Tue, 31 Aug 2021 08:57:52 +0000 (11:57 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 29 Oct 2021 20:53:27 +0000 (13:53 -0700)
commit542639cc09f6af86cfa7aad9e6577ad5045adaa1
treeeb0ee954d90f43dd9b32d322447087cfdd700a01
parent71d66c24efb6fe3e1bf4ffc706b99070f85d0361
net/mlx5: CT: Remove warning of ignore_flow_level support for VFs

ignore_flow_level isn't supported for VFs, and so it causes
post_act and ct to warn about it.

Instead of disabling CT for VFs, and a driver update will be need
to enable CT again once firmware support this, remove this warning
specifically for VFs. This way, it could be automatically enabled on
future firmwares where VFs support ignore_flow_level capability.

Signed-off-by: Paul Blakey <paulb@nvidia.com>
Reviewed-by: Maor Dickman <maord@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.c
drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c