Skip to content

Commit

Permalink
net/mlx5: fix inet IPIP protocol type
Browse files Browse the repository at this point in the history
[ upstream commit d16ec68 ]

Fix typo in INET IPIP protocol macro.

Fixes: f3f1f57 ("net/mlx5: fix RSS expansion with explicit next protocol")

Signed-off-by: Gregory Etelson <getelson@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
  • Loading branch information
getelson-at-mellanox authored and bluca committed Mar 9, 2022
1 parent cfd9d09 commit 7913c92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/mlx5/mlx5_flow.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ mlx5_inet_proto_to_item_type(uint8_t proto_spec, uint8_t proto_mask)
case IPPROTO_TCP:
type = RTE_FLOW_ITEM_TYPE_TCP;
break;
case IPPROTO_IP:
case IPPROTO_IPIP:
type = RTE_FLOW_ITEM_TYPE_IPV4;
break;
case IPPROTO_IPV6:
Expand Down

0 comments on commit 7913c92

Please sign in to comment.