Home
last modified time | relevance | path

Searched refs:tun_type (Results 1 – 16 of 16) sorted by relevance

/Linux-v6.1/drivers/net/ethernet/netronome/nfp/flower/
Daction.c176 enum nfp_flower_tun_type tun_type, int *tun_out_cnt, in nfp_fl_output() argument
195 if (tun_type) { in nfp_fl_output()
197 if (!nfp_fl_netdev_is_tunnel_type(out_dev, tun_type)) { in nfp_fl_output()
210 output->port = cpu_to_be32(NFP_FL_PORT_TYPE_TUN | tun_type); in nfp_fl_output()
403 enum nfp_flower_tun_type tun_type, in nfp_fl_set_tun() argument
424 (tun_type != NFP_FL_TUNNEL_GENEVE || in nfp_fl_set_tun()
441 FIELD_PREP(NFP_FL_TUNNEL_TYPE, tun_type) | in nfp_fl_set_tun()
491 if (tun_type == NFP_FL_TUNNEL_GENEVE) { in nfp_fl_set_tun()
977 enum nfp_flower_tun_type *tun_type, int *tun_out_cnt, in nfp_flower_output_action() argument
999 err = nfp_fl_output(app, output, act, nfp_fl, last, netdev, *tun_type, in nfp_flower_output_action()
[all …]
Dcmsg.h707 enum nfp_flower_tun_type tun_type) in nfp_fl_netdev_is_tunnel_type() argument
710 return tun_type == NFP_FL_TUNNEL_VXLAN; in nfp_fl_netdev_is_tunnel_type()
712 return tun_type == NFP_FL_TUNNEL_GRE; in nfp_fl_netdev_is_tunnel_type()
714 return tun_type == NFP_FL_TUNNEL_GENEVE; in nfp_fl_netdev_is_tunnel_type()
Dmatch.c73 bool mask_version, enum nfp_flower_tun_type tun_type, in nfp_flower_compile_port() argument
81 if (tun_type) { in nfp_flower_compile_port()
82 frame->in_port = cpu_to_be32(NFP_FL_PORT_TYPE_TUN | tun_type); in nfp_flower_compile_port()
541 enum nfp_flower_tun_type tun_type, in nfp_flower_compile_flow_match() argument
580 port_id, false, tun_type, extack); in nfp_flower_compile_flow_match()
586 port_id, true, tun_type, extack); in nfp_flower_compile_flow_match()
Doffload.c177 enum nfp_flower_tun_type *tun_type, bool ipv6, in nfp_flower_calc_udp_tun_layer() argument
184 *tun_type = NFP_FL_TUNNEL_VXLAN; in nfp_flower_calc_udp_tun_layer()
206 *tun_type = NFP_FL_TUNNEL_GENEVE; in nfp_flower_calc_udp_tun_layer()
242 enum nfp_flower_tun_type *tun_type, in nfp_flower_calculate_key_layers() argument
368 *tun_type = NFP_FL_TUNNEL_GRE; in nfp_flower_calculate_key_layers()
398 tun_type, ipv6_tun, in nfp_flower_calculate_key_layers()
406 if (!nfp_fl_netdev_is_tunnel_type(netdev, *tun_type)) { in nfp_flower_calculate_key_layers()
1334 enum nfp_flower_tun_type tun_type = NFP_FL_TUNNEL_NONE; in nfp_flower_add_offload() local
1360 &tun_type, extack); in nfp_flower_add_offload()
1371 flow_pay, tun_type, extack); in nfp_flower_add_offload()
Dmain.h548 bool mask_version, enum nfp_flower_tun_type tun_type,
596 enum nfp_flower_tun_type tun_type,
686 enum nfp_flower_tun_type *tun_type,
Dconntrack.c785 enum nfp_flower_tun_type tun_type = NFP_FL_TUNNEL_NONE; in nfp_fl_ct_add_offload() local
816 &tun_type, NULL); in nfp_fl_ct_add_offload()
860 port_id, false, tun_type, NULL); in nfp_fl_ct_add_offload()
864 port_id, true, tun_type, NULL); in nfp_fl_ct_add_offload()
/Linux-v6.1/net/netfilter/ipvs/
Dip_vs_xmit.c386 if (dest->tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GUE) { in __ip_vs_get_out_rt()
392 } else if (dest->tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GRE) { in __ip_vs_get_out_rt()
549 if (dest->tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GUE) { in __ip_vs_get_out_rt_v6()
555 } else if (dest->tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GRE) { in __ip_vs_get_out_rt_v6()
1149 int tun_type, gso_type; in ip_vs_tunnel_xmit() local
1172 tun_type = cp->dest->tun_type; in ip_vs_tunnel_xmit()
1175 if (tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GUE) { in ip_vs_tunnel_xmit()
1185 } else if (tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GRE) { in ip_vs_tunnel_xmit()
1205 if (tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GUE) { in ip_vs_tunnel_xmit()
1215 } else if (tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GRE) { in ip_vs_tunnel_xmit()
[all …]
Dip_vs_ctl.c535 switch (dest->tun_type) { in ip_vs_rs_hash()
897 udest->tun_type != dest->tun_type || in __ip_vs_update_dest()
902 dest->tun_type = udest->tun_type; in __ip_vs_update_dest()
1056 if (udest->tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GUE) { in ip_vs_add_dest()
1127 if (udest->tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GUE) { in ip_vs_edit_dest()
2452 udest->tun_type = IP_VS_CONN_F_TUNNEL_TYPE_IPIP; in ip_vs_copy_udest_compat()
3308 dest->tun_type) || in ip_vs_genl_fill_dest()
3454 udest->tun_type = nla_get_u8(nla_tun_type); in ip_vs_genl_parse_dest()
Dip_vs_core.c1524 if (dest->tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GUE) { in ipvs_udp_decap()
1558 if (dest->tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GRE) { in ipvs_gre_decap()
1649 if (!dest || dest->tun_type != IP_VS_CONN_F_TUNNEL_TYPE_IPIP) in ip_vs_in_icmp()
/Linux-v6.1/drivers/net/ethernet/qlogic/qed/
Dqed_sp_commands.c183 struct qed_tunn_update_type *tun_type) in __qed_set_ramrod_tunnel_param() argument
185 *p_tunn_cls = tun_type->tun_cls; in __qed_set_ramrod_tunnel_param()
190 struct qed_tunn_update_type *tun_type, in qed_set_ramrod_tunnel_param() argument
195 __qed_set_ramrod_tunnel_param(p_tunn_cls, tun_type); in qed_set_ramrod_tunnel_param()
/Linux-v6.1/drivers/net/ethernet/intel/ice/
Dice_switch.h190 enum ice_sw_tunnel_type tun_type; member
232 enum ice_sw_tunnel_type tun_type; member
Dice_switch.c4594 enum ice_sw_tunnel_type tun_type) in ice_find_recp() argument
4657 if (found && recp[i].tun_type == tun_type) in ice_find_recp()
5194 recp->tun_type = rm->tun_type; in ice_add_sw_recipe()
5245 static bool ice_tun_type_match_word(enum ice_sw_tunnel_type tun_type, u16 *mask) in ice_tun_type_match_word() argument
5247 switch (tun_type) { in ice_tun_type_match_word()
5277 if (ice_tun_type_match_word(rinfo->tun_type, &mask)) { in ice_add_special_words()
5318 switch (rinfo->tun_type) { in ice_get_compat_fv_bitmap()
5450 *rid = ice_find_recp(hw, lkup_exts, rinfo->tun_type); in ice_add_adv_recipe()
5455 rm->tun_type = rinfo->tun_type; in ice_add_adv_recipe()
5606 enum ice_sw_tunnel_type tun_type) in ice_find_dummy_packet() argument
[all …]
Dice_eswitch.c47 rule_info.tun_type = ICE_SW_TUN_AND_NON_TUN; in ice_eswitch_add_vf_mac_rule()
Dice_tc_lib.c353 rule_info->tun_type = ice_sw_type_from_tunnel(tc_fltr->tunnel_type); in ice_tc_fill_rules()
/Linux-v6.1/samples/bpf/
Dtc_l2_redirect.sh14 local tun_type=$1
46 if [[ $tun_type == "ipip" ]]; then
/Linux-v6.1/include/net/
Dip_vs.h602 u16 tun_type; /* tunnel type */ member
665 __u16 tun_type; /* tunnel type */ member