net/mlx5: add TCP and IPv6 to supported flow items list in Windows
Checks
Commit Message
WINOF2 2.70 Windows kernel driver allows DevX rule creation
of types TCP and IPv6.
Added the types to the supported items in mlx5_flow_os_item_supported
to allow them to be created in the PMD.
Signed-off-by: Tal Shnaiderman <talshn@nvidia.com>
---
drivers/net/mlx5/windows/mlx5_flow_os.h | 2 ++
1 file changed, 2 insertions(+)
@@ -42,6 +42,8 @@ mlx5_flow_os_item_supported(int item)
case RTE_FLOW_ITEM_TYPE_ETH:
case RTE_FLOW_ITEM_TYPE_IPV4:
case RTE_FLOW_ITEM_TYPE_UDP:
+ case RTE_FLOW_ITEM_TYPE_TCP:
+ case RTE_FLOW_ITEM_TYPE_IPV6:
return true;
default:
return false;