summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMaor Dickman <maord@nvidia.com>2021-01-24 15:56:36 +0200
committerSaeed Mahameed <saeedm@nvidia.com>2021-03-12 15:29:34 -0800
commita3222a2da0a2d6c7682252d4bfdff05721a82b95 (patch)
tree97fb9f113b7dea037b3a30890c27ea62fe5eaf49 /include
parent69e2916ebce4410c0f6ba6c59c4f6e9eb228e5ec (diff)
net/mlx5e: Allow to match on ICMP parameters
Support matching on ICMPv4/6 type and code parameters using misc3 section of match parameters. Signed-off-by: Maor Dickman <maord@nvidia.com> Reviewed-by: Roi Dayan <roid@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mlx5/device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mlx5/device.h b/include/linux/mlx5/device.h
index dc3d2508f5c6..92a029a800a0 100644
--- a/include/linux/mlx5/device.h
+++ b/include/linux/mlx5/device.h
@@ -1142,6 +1142,8 @@ enum mlx5_flex_parser_protos {
MLX5_FLEX_PROTO_GENEVE = 1 << 3,
MLX5_FLEX_PROTO_CW_MPLS_GRE = 1 << 4,
MLX5_FLEX_PROTO_CW_MPLS_UDP = 1 << 5,
+ MLX5_FLEX_PROTO_ICMP = 1 << 8,
+ MLX5_FLEX_PROTO_ICMPV6 = 1 << 9,
};
/* MLX5 DEV CAPs */