]> 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)
commit2a2b008e15c7a6581ed3b4bded86da62c55a2ec1
treeeb0ee954d90f43dd9b32d322447087cfdd700a01
parent7a4bf58ee5438def4c21075109a8b4883cef51b9
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