mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
net/mlx5: DR, Fix lower case macro prefix "mlx5_" to "MLX5_"
Macros prefix should be capital letters - fix the prefix in mlx5_FLEX_PARSER_MPLS_OVER_UDP_ENABLED. Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
This commit is contained in:
parent
84dfac39c6
commit
c3fb0e280b
@ -152,7 +152,7 @@ int mlx5dr_cmd_query_device(struct mlx5_core_dev *mdev,
|
||||
caps->flex_parser_id_mpls_over_gre =
|
||||
MLX5_CAP_GEN(mdev, flex_parser_id_outer_first_mpls_over_gre);
|
||||
|
||||
if (caps->flex_protocols & mlx5_FLEX_PARSER_MPLS_OVER_UDP_ENABLED)
|
||||
if (caps->flex_protocols & MLX5_FLEX_PARSER_MPLS_OVER_UDP_ENABLED)
|
||||
caps->flex_parser_id_mpls_over_udp =
|
||||
MLX5_CAP_GEN(mdev, flex_parser_id_outer_first_mpls_over_udp_label);
|
||||
|
||||
|
@ -359,7 +359,7 @@ static bool dr_mask_is_tnl_mpls_over_gre(struct mlx5dr_match_param *mask,
|
||||
|
||||
static int dr_matcher_supp_tnl_mpls_over_udp(struct mlx5dr_cmd_caps *caps)
|
||||
{
|
||||
return caps->flex_protocols & mlx5_FLEX_PARSER_MPLS_OVER_UDP_ENABLED;
|
||||
return caps->flex_protocols & MLX5_FLEX_PARSER_MPLS_OVER_UDP_ENABLED;
|
||||
}
|
||||
|
||||
static bool dr_mask_is_tnl_mpls_over_udp(struct mlx5dr_match_param *mask,
|
||||
|
@ -1291,7 +1291,7 @@ enum {
|
||||
enum {
|
||||
MLX5_FLEX_PARSER_GENEVE_ENABLED = 1 << 3,
|
||||
MLX5_FLEX_PARSER_MPLS_OVER_GRE_ENABLED = 1 << 4,
|
||||
mlx5_FLEX_PARSER_MPLS_OVER_UDP_ENABLED = 1 << 5,
|
||||
MLX5_FLEX_PARSER_MPLS_OVER_UDP_ENABLED = 1 << 5,
|
||||
MLX5_FLEX_PARSER_VXLAN_GPE_ENABLED = 1 << 7,
|
||||
MLX5_FLEX_PARSER_ICMP_V4_ENABLED = 1 << 8,
|
||||
MLX5_FLEX_PARSER_ICMP_V6_ENABLED = 1 << 9,
|
||||
|
Loading…
Reference in New Issue
Block a user