Home
last modified time | relevance | path

Searched refs:match_c (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/include/linux/mlx5/
Dfs_helpers.h41 static inline bool mlx5_fs_is_ipsec_flow(const u32 *match_c) in mlx5_fs_is_ipsec_flow() argument
43 void *misc_params_c = MLX5_ADDR_OF(fte_match_param, match_c, in mlx5_fs_is_ipsec_flow()
49 static inline bool _mlx5_fs_is_outer_ipproto_flow(const u32 *match_c, in _mlx5_fs_is_outer_ipproto_flow() argument
52 const void *headers_c = MLX5_ADDR_OF(fte_match_param, match_c, in _mlx5_fs_is_outer_ipproto_flow()
61 static inline bool mlx5_fs_is_outer_tcp_flow(const u32 *match_c, in mlx5_fs_is_outer_tcp_flow() argument
64 return _mlx5_fs_is_outer_ipproto_flow(match_c, match_v, IPPROTO_TCP); in mlx5_fs_is_outer_tcp_flow()
67 static inline bool mlx5_fs_is_outer_udp_flow(const u32 *match_c, in mlx5_fs_is_outer_udp_flow() argument
70 return _mlx5_fs_is_outer_ipproto_flow(match_c, match_v, IPPROTO_UDP); in mlx5_fs_is_outer_udp_flow()
73 static inline bool mlx5_fs_is_vxlan_flow(const u32 *match_c) in mlx5_fs_is_vxlan_flow() argument
75 void *misc_params_c = MLX5_ADDR_OF(fte_match_param, match_c, in mlx5_fs_is_vxlan_flow()
[all …]
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dipsec.c551 const u32 *match_c, in validate_fpga_full_mask() argument
555 match_c, in validate_fpga_full_mask()
558 match_c, in validate_fpga_full_mask()
602 const u32 *match_c, in mlx5_is_fpga_ipsec_rule() argument
608 ipv6_flow = mlx5_fs_is_outer_ipv6_flow(dev, match_c, match_v); in mlx5_is_fpga_ipsec_rule()
611 mlx5_fs_is_outer_udp_flow(match_c, match_v) || in mlx5_is_fpga_ipsec_rule()
612 mlx5_fs_is_outer_tcp_flow(match_c, match_v) || in mlx5_is_fpga_ipsec_rule()
613 mlx5_fs_is_vxlan_flow(match_c) || in mlx5_is_fpga_ipsec_rule()
614 !(mlx5_fs_is_outer_ipv4_flow(dev, match_c, match_v) || in mlx5_is_fpga_ipsec_rule()
622 mlx5_fs_is_outer_ipsec_flow(match_c)) in mlx5_is_fpga_ipsec_rule()
[all …]
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs_ethtool.c322 static int set_flow_attrs(u32 *match_c, u32 *match_v, in set_flow_attrs() argument
325 void *outer_headers_c = MLX5_ADDR_OF(fte_match_param, match_c, in set_flow_attrs()
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dmain.c2687 u32 *match_c = spec->match_criteria; in parse_flow_attr() local
2689 void *misc_params_c = MLX5_ADDR_OF(fte_match_param, match_c, in parse_flow_attr()
2693 void *misc_params2_c = MLX5_ADDR_OF(fte_match_param, match_c, in parse_flow_attr()
2703 headers_c = MLX5_ADDR_OF(fte_match_param, match_c, in parse_flow_attr()
2710 headers_c = MLX5_ADDR_OF(fte_match_param, match_c, in parse_flow_attr()
3087 const u32 *match_c = spec->match_criteria; in is_valid_esp_aes_gcm() local
3091 bool is_ipsec = mlx5_fs_is_ipsec_flow(match_c); in is_valid_esp_aes_gcm()
4059 void *match_c; in raw_fs_is_multicast() local
4068 match_c = fs_matcher->matcher_mask.match_params; in raw_fs_is_multicast()
4071 match_c_set_lyr_2_4 = MLX5_ADDR_OF(fte_match_param, match_c, in raw_fs_is_multicast()