Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/netronome/nfp/flower/
A Daction.c195 if (tun_type) { in nfp_fl_output()
402 enum nfp_flower_tun_type tun_type, in nfp_fl_set_tun() argument
423 (tun_type != NFP_FL_TUNNEL_GENEVE || in nfp_fl_set_tun()
434 FIELD_PREP(NFP_FL_TUNNEL_TYPE, tun_type) | in nfp_fl_set_tun()
489 if (tun_type == NFP_FL_TUNNEL_GENEVE) { in nfp_fl_set_tun()
1004 true, tun_type, tun_out_cnt, in nfp_flower_loop_action()
1013 false, tun_type, tun_out_cnt, in nfp_flower_loop_action()
1049 if (*tun_type == NFP_FL_TUNNEL_NONE) { in nfp_flower_loop_action()
1205 enum nfp_flower_tun_type tun_type; in nfp_flower_compile_action() local
1216 tun_type = NFP_FL_TUNNEL_NONE; in nfp_flower_compile_action()
[all …]
A Dcmsg.h702 enum nfp_flower_tun_type tun_type) in nfp_fl_netdev_is_tunnel_type() argument
705 return tun_type == NFP_FL_TUNNEL_VXLAN; in nfp_fl_netdev_is_tunnel_type()
707 return tun_type == NFP_FL_TUNNEL_GRE; in nfp_fl_netdev_is_tunnel_type()
709 return tun_type == NFP_FL_TUNNEL_GENEVE; in nfp_fl_netdev_is_tunnel_type()
A 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()
518 enum nfp_flower_tun_type tun_type, in nfp_flower_compile_flow_match() argument
557 port_id, false, tun_type, extack); in nfp_flower_compile_flow_match()
563 port_id, true, tun_type, extack); in nfp_flower_compile_flow_match()
A 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()
1302 enum nfp_flower_tun_type tun_type = NFP_FL_TUNNEL_NONE; in nfp_flower_add_offload() local
1328 &tun_type, extack); in nfp_flower_add_offload()
1339 flow_pay, tun_type, extack); in nfp_flower_add_offload()
A Dmain.h427 bool mask_version, enum nfp_flower_tun_type tun_type,
475 enum nfp_flower_tun_type tun_type,
561 enum nfp_flower_tun_type *tun_type,
A Dconntrack.c544 enum nfp_flower_tun_type tun_type = NFP_FL_TUNNEL_NONE; in nfp_fl_ct_add_offload() local
575 &tun_type, NULL); in nfp_fl_ct_add_offload()
619 port_id, false, tun_type, NULL); in nfp_fl_ct_add_offload()
623 port_id, true, tun_type, NULL); in nfp_fl_ct_add_offload()
/linux/net/netfilter/ipvs/
A Dip_vs_xmit.c1149 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()
1205 if (tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GUE) { in ip_vs_tunnel_xmit()
1229 if (tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GUE) { in ip_vs_tunnel_xmit()
1240 } else if (tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GRE) in ip_vs_tunnel_xmit()
1298 int tun_type, gso_type; in ip_vs_tunnel_xmit_v6() local
1322 tun_type = cp->dest->tun_type; in ip_vs_tunnel_xmit_v6()
1325 if (tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GUE) { in ip_vs_tunnel_xmit_v6()
1353 if (tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GUE) { in ip_vs_tunnel_xmit_v6()
[all …]
A 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()
1059 if (udest->tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GUE) { in ip_vs_add_dest()
1130 if (udest->tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GUE) { in ip_vs_edit_dest()
2457 udest->tun_type = IP_VS_CONN_F_TUNNEL_TYPE_IPIP; in ip_vs_copy_udest_compat()
3313 dest->tun_type) || in ip_vs_genl_fill_dest()
3459 udest->tun_type = nla_get_u8(nla_tun_type); in ip_vs_genl_parse_dest()
A 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/drivers/net/ethernet/intel/ice/
A Dice_switch.c3868 if (found && recp[i].tun_type == tun_type) in ice_find_recp()
4390 recp->tun_type = rm->tun_type; in ice_add_sw_recipe()
4478 switch (tun_type) { in ice_tun_type_match_word()
4533 switch (rinfo->tun_type) { in ice_get_compat_fv_bitmap()
4663 rm->tun_type = rinfo->tun_type; in ice_add_adv_recipe()
4766 if (tun_type == ICE_SW_TUN_NVGRE) { in ice_find_dummy_packet()
4780 if (tun_type == ICE_SW_TUN_VXLAN || in ice_find_dummy_packet()
4781 tun_type == ICE_SW_TUN_GENEVE) { in ice_find_dummy_packet()
4964 switch (tun_type) { in ice_fill_adv_packet_tun()
5029 rinfo->tun_type == list_itr->rule_info.tun_type && in ice_find_adv_rule_entry()
[all …]
A Dice_switch.h174 enum ice_sw_tunnel_type tun_type; member
215 enum ice_sw_tunnel_type tun_type; member
A Dice_tc_lib.c221 rule_info->tun_type = ice_sw_type_from_tunnel(tc_fltr->tunnel_type); in ice_tc_fill_rules()
/linux/drivers/net/ethernet/qlogic/qed/
A Dqed_sp_commands.c181 struct qed_tunn_update_type *tun_type) in __qed_set_ramrod_tunnel_param() argument
183 *p_tunn_cls = tun_type->tun_cls; in __qed_set_ramrod_tunnel_param()
188 struct qed_tunn_update_type *tun_type, in qed_set_ramrod_tunnel_param() argument
193 __qed_set_ramrod_tunnel_param(p_tunn_cls, tun_type); in qed_set_ramrod_tunnel_param()
/linux/samples/bpf/
A Dtc_l2_redirect.sh14 local tun_type=$1
46 if [[ $tun_type == "ipip" ]]; then
/linux/include/net/
A Dip_vs.h602 u16 tun_type; /* tunnel type */ member
665 __u16 tun_type; /* tunnel type */ member

Completed in 107 milliseconds