Home
last modified time | relevance | path

Searched refs:misc_params_c (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/include/linux/mlx5/
Dfs_helpers.h43 void *misc_params_c = MLX5_ADDR_OF(fte_match_param, match_c, in mlx5_fs_is_ipsec_flow() local
46 return MLX5_GET(fte_match_set_misc, misc_params_c, outer_esp_spi); in mlx5_fs_is_ipsec_flow()
75 void *misc_params_c = MLX5_ADDR_OF(fte_match_param, match_c, in mlx5_fs_is_vxlan_flow() local
78 return MLX5_GET(fte_match_set_misc, misc_params_c, vxlan_vni); in mlx5_fs_is_vxlan_flow()
136 void *misc_params_c = in mlx5_fs_is_outer_ipsec_flow() local
139 return MLX5_GET(fte_match_set_misc, misc_params_c, outer_esp_spi); in mlx5_fs_is_outer_ipsec_flow()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dipsec.c554 const void *misc_params_c = MLX5_ADDR_OF(fte_match_param, in validate_fpga_full_mask() local
592 if (!is_full_mask(MLX5_ADDR_OF(fte_match_set_misc, misc_params_c, in validate_fpga_full_mask()
1004 char *misc_params_c = MLX5_ADDR_OF(create_flow_group_in, in, in fpga_ipsec_fs_create_flow_group() local
1018 MLX5_GET(fte_match_set_misc, misc_params_c, outer_esp_spi); in fpga_ipsec_fs_create_flow_group()
1022 MLX5_SET(fte_match_set_misc, misc_params_c, outer_esp_spi, 0); in fpga_ipsec_fs_create_flow_group()
1024 if (!(*misc_params_c) && in fpga_ipsec_fs_create_flow_group()
1025 !memcmp(misc_params_c, misc_params_c + 1, MLX5_ST_SZ_BYTES(fte_match_set_misc) - 1)) in fpga_ipsec_fs_create_flow_group()
1031 MLX5_SET(fte_match_set_misc, misc_params_c, outer_esp_spi, saved_outer_esp_spi_mask); in fpga_ipsec_fs_create_flow_group()
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dmain.c2689 void *misc_params_c = MLX5_ADDR_OF(fte_match_param, match_c, in parse_flow_attr() local
2850 set_flow_label(misc_params_c, misc_params_v, in parse_flow_attr()
2859 MLX5_SET(fte_match_set_misc, misc_params_c, outer_esp_spi, in parse_flow_attr()
2912 MLX5_SET(fte_match_set_misc, misc_params_c, gre_protocol, in parse_flow_attr()
2917 memcpy(MLX5_ADDR_OF(fte_match_set_misc, misc_params_c, in parse_flow_attr()
2995 MLX5_SET(fte_match_set_misc, misc_params_c, vxlan_vni, in parse_flow_attr()
3351 void *misc_params_c = MLX5_ADDR_OF(fte_match_param, in set_underlay_qp() local
3363 misc_params_c, bth_dst_qp, 0xffffff); in set_underlay_qp()