/linux/drivers/net/ethernet/netronome/nfp/flower/ |
A D | action.c | 195 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 D | cmsg.h | 702 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 D | match.c | 73 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 D | offload.c | 177 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 D | main.h | 427 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 D | conntrack.c | 544 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 D | ip_vs_xmit.c | 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() 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 D | ip_vs_ctl.c | 535 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 D | ip_vs_core.c | 1524 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 D | ice_switch.c | 3868 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 D | ice_switch.h | 174 enum ice_sw_tunnel_type tun_type; member 215 enum ice_sw_tunnel_type tun_type; member
|
A D | ice_tc_lib.c | 221 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 D | qed_sp_commands.c | 181 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 D | tc_l2_redirect.sh | 14 local tun_type=$1 46 if [[ $tun_type == "ipip" ]]; then
|
/linux/include/net/ |
A D | ip_vs.h | 602 u16 tun_type; /* tunnel type */ member 665 __u16 tun_type; /* tunnel type */ member
|