Test-Label: iol-testing Test-Status: WARNING http://dpdk.org/patch/105813 _apply patch failure_ Submitter: Gregory Etelson Date: Friday, January 14 2022 15:16:06 Applied on: CommitID:6f716880ee53ac1e50c9c75dc749886e3257bb8f Apply patch set 105813 failed: Checking patch drivers/net/mlx5/mlx5_flow.c... error: while searching for: switch (item->type) { case RTE_FLOW_ITEM_TYPE_ETH: MLX5_XSET_ITEM_MASK_SPEC(eth, type); ret = mlx5_ethertype_to_item_type(spec, mask, false); break; case RTE_FLOW_ITEM_TYPE_VLAN: MLX5_XSET_ITEM_MASK_SPEC(vlan, inner_type); ret = mlx5_ethertype_to_item_type(spec, mask, false); break; case RTE_FLOW_ITEM_TYPE_IPV4: MLX5_XSET_ITEM_MASK_SPEC(ipv4, hdr.next_proto_id); ret = mlx5_inet_proto_to_item_type(spec, mask); break; case RTE_FLOW_ITEM_TYPE_IPV6: MLX5_XSET_ITEM_MASK_SPEC(ipv6, hdr.proto); ret = mlx5_inet_proto_to_item_type(spec, mask); break; case RTE_FLOW_ITEM_TYPE_GENEVE: error: patch failed: drivers/net/mlx5/mlx5_flow.c:261 Applying patch drivers/net/mlx5/mlx5_flow.c with 1 reject... Rejected hunk #1. diff a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c (rejected hunks) @@ -261,18 +261,26 @@ mlx5_flow_expand_rss_item_complete(const struct rte_flow_item *item) switch (item->type) { case RTE_FLOW_ITEM_TYPE_ETH: MLX5_XSET_ITEM_MASK_SPEC(eth, type); + if (!mask) + return RTE_FLOW_ITEM_TYPE_VOID; ret = mlx5_ethertype_to_item_type(spec, mask, false); break; case RTE_FLOW_ITEM_TYPE_VLAN: MLX5_XSET_ITEM_MASK_SPEC(vlan, inner_type); + if (!mask) + return RTE_FLOW_ITEM_TYPE_VOID; ret = mlx5_ethertype_to_item_type(spec, mask, false); break; case RTE_FLOW_ITEM_TYPE_IPV4: MLX5_XSET_ITEM_MASK_SPEC(ipv4, hdr.next_proto_id); + if (!mask) + return RTE_FLOW_ITEM_TYPE_VOID; ret = mlx5_inet_proto_to_item_type(spec, mask); break; case RTE_FLOW_ITEM_TYPE_IPV6: MLX5_XSET_ITEM_MASK_SPEC(ipv6, hdr.proto); + if (!mask) + return RTE_FLOW_ITEM_TYPE_VOID; ret = mlx5_inet_proto_to_item_type(spec, mask); break; case RTE_FLOW_ITEM_TYPE_GENEVE: https://lab.dpdk.org/results/dashboard/patchsets/20667/ UNH-IOL DPDK Community Lab