Home
last modified time | relevance | path

Searched refs:gre (Results 1 – 6 of 6) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
A Dct_fs_hmfs.c40 static u32 get_matcher_idx(bool ipv4, bool tcp, bool gre) in get_matcher_idx() argument
42 return ipv4 * 3 + tcp * 2 + gre; in get_matcher_idx()
94 struct mlx5_flow_spec *spec, bool ipv4, bool tcp, bool gre) in mlx5_ct_fs_hmfs_matcher_create() argument
101 u32 priority = get_matcher_idx(ipv4, tcp, gre); /* Static priority based on params. */ in mlx5_ct_fs_hmfs_matcher_create()
113 bool nat, bool ipv4, bool tcp, bool gre) in mlx5_ct_fs_hmfs_matcher_get() argument
116 u32 matcher_idx = get_matcher_idx(ipv4, tcp, gre); in mlx5_ct_fs_hmfs_matcher_get()
136 hws_bwc_matcher = mlx5_ct_fs_hmfs_matcher_create(fs, tbl, spec, ipv4, tcp, gre); in mlx5_ct_fs_hmfs_matcher_get()
140 nat, ipv4, tcp, gre, PTR_ERR(hws_bwc_matcher)); in mlx5_ct_fs_hmfs_matcher_get()
198 bool nat, tcp, ipv4, gre; in mlx5_ct_fs_hmfs_ct_rule_add() local
212 gre = MLX5_GET(fte_match_param, spec->match_value, in mlx5_ct_fs_hmfs_ct_rule_add()
[all …]
A Dct_fs_smfs.c47 bool gre) in mlx5_ct_fs_smfs_fill_mask() argument
80 } else if (!gre) { in mlx5_ct_fs_smfs_fill_mask()
90 bool tcp, bool gre, u32 priority) in mlx5_ct_fs_smfs_matcher_create() argument
99 mlx5_ct_fs_smfs_fill_mask(fs, spec, ipv4, tcp, gre); in mlx5_ct_fs_smfs_matcher_create()
111 mlx5_ct_fs_smfs_matcher_get(struct mlx5_ct_fs *fs, bool nat, bool ipv4, bool tcp, bool gre) in mlx5_ct_fs_smfs_matcher_get() argument
122 smfs_matcher = &matchers->smfs_matchers[ipv4 * 3 + tcp * 2 + gre]; in mlx5_ct_fs_smfs_matcher_get()
148 dr_matcher = mlx5_ct_fs_smfs_matcher_create(fs, tbl, ipv4, tcp, gre, prio); in mlx5_ct_fs_smfs_matcher_get()
152 nat, ipv4, tcp, gre, PTR_ERR(dr_matcher)); in mlx5_ct_fs_smfs_matcher_get()
232 bool nat, tcp, ipv4, gre; in mlx5_ct_fs_smfs_ct_rule_add() local
255 gre = MLX5_GET(fte_match_param, spec->match_value, in mlx5_ct_fs_smfs_ct_rule_add()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
A Ddr_ste_v0.c1250 DR_STE_SET_TAG(gre, tag, gre_protocol, misc, gre_protocol); in dr_ste_v0_build_tnl_gre_tag()
1252 DR_STE_SET_TAG(gre, tag, gre_k_present, misc, gre_k_present); in dr_ste_v0_build_tnl_gre_tag()
1253 DR_STE_SET_TAG(gre, tag, gre_key_h, misc, gre_key_h); in dr_ste_v0_build_tnl_gre_tag()
1254 DR_STE_SET_TAG(gre, tag, gre_key_l, misc, gre_key_l); in dr_ste_v0_build_tnl_gre_tag()
1256 DR_STE_SET_TAG(gre, tag, gre_c_present, misc, gre_c_present); in dr_ste_v0_build_tnl_gre_tag()
1258 DR_STE_SET_TAG(gre, tag, gre_s_present, misc, gre_s_present); in dr_ste_v0_build_tnl_gre_tag()
/drivers/infiniband/hw/mlx5/
A Dfs.c403 if (ib_spec->gre.mask.c_ks_res0_ver) in parse_flow_attr()
415 ntohs(ib_spec->gre.mask.protocol)); in parse_flow_attr()
417 ntohs(ib_spec->gre.val.protocol)); in parse_flow_attr()
421 &ib_spec->gre.mask.key, in parse_flow_attr()
422 sizeof(ib_spec->gre.mask.key)); in parse_flow_attr()
425 &ib_spec->gre.val.key, in parse_flow_attr()
426 sizeof(ib_spec->gre.val.key)); in parse_flow_attr()
/drivers/net/ethernet/hisilicon/hns3/
A Dhns3_enet.h612 struct gre_base_hdr *gre; member
/drivers/infiniband/core/
A Duverbs_cmd.c2849 ib_spec->gre.size = sizeof(struct ib_flow_spec_gre); in ib_uverbs_kern_spec_to_ib_spec_filter()
2850 memcpy(&ib_spec->gre.val, kern_spec_val, actual_filter_sz); in ib_uverbs_kern_spec_to_ib_spec_filter()
2851 memcpy(&ib_spec->gre.mask, kern_spec_mask, actual_filter_sz); in ib_uverbs_kern_spec_to_ib_spec_filter()

Completed in 32 milliseconds