From: Tal Shnaiderman Date: Tue, 22 Jun 2021 15:34:50 +0000 (+0300) Subject: net/mlx5: add TCP and IPv6 to supported items for Windows X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=a6a18d06f5ae900eabba24325f49ee2ef86449c0;p=dpdk.git net/mlx5: add TCP and IPv6 to supported items for Windows 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. Added description of new rules support in Windows kernel driver WINOF2 2.70 to the mlx5 driver guide. Signed-off-by: Tal Shnaiderman Acked-by: Matan Azrad --- diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index 83299646dd..0d96eec2bb 100644 --- a/doc/guides/nics/mlx5.rst +++ b/doc/guides/nics/mlx5.rst @@ -124,6 +124,11 @@ Limitations - IPv4/UDP with CVLAN filtering - Unicast MAC filtering + - Additional rules are supported from WinOF2 version 2.70: + + - IPv4/TCP with CVLAN filtering + - L4 steering rules for port RSS of UDP, TCP and IP + - For secondary process: - Forked secondary process not supported. diff --git a/drivers/net/mlx5/windows/mlx5_flow_os.h b/drivers/net/mlx5/windows/mlx5_flow_os.h index 26c3e59789..df92f25ce6 100644 --- a/drivers/net/mlx5/windows/mlx5_flow_os.h +++ b/drivers/net/mlx5/windows/mlx5_flow_os.h @@ -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;