From: NĂ©lio Laranjeiro Date: Tue, 31 Oct 2017 15:51:14 +0000 (+0100) Subject: net/mlx5: fix flow director TCPv6 filter X-Git-Tag: spdx-start~965 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=8037bbee4c014642a0c1278c2824fb5c2209f93a;p=dpdk.git net/mlx5: fix flow director TCPv6 filter Flow director to generic flow conversion wrongly handles TCPv6 layer. Fixes: 4c3e9bcdd52e ("net/mlx5: support flow director") Signed-off-by: Nelio Laranjeiro Acked-by: Yongseok Koh --- diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c index 040f7fd4dc..5f49bf5ff9 100644 --- a/drivers/net/mlx5/mlx5_flow.c +++ b/drivers/net/mlx5/mlx5_flow.c @@ -2754,7 +2754,7 @@ priv_fdir_filter_convert(struct priv *priv, .spec = &attributes->l3, }; attributes->items[2] = (struct rte_flow_item){ - .type = RTE_FLOW_ITEM_TYPE_UDP, + .type = RTE_FLOW_ITEM_TYPE_TCP, .spec = &attributes->l4, }; break;