/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/ |
D | action.c | 176 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() 401 enum nfp_flower_tun_type tun_type, in nfp_fl_set_tun() argument 422 (tun_type != NFP_FL_TUNNEL_GENEVE || in nfp_fl_set_tun() 433 FIELD_PREP(NFP_FL_TUNNEL_TYPE, tun_type) | in nfp_fl_set_tun() 488 if (tun_type == NFP_FL_TUNNEL_GENEVE) { in nfp_fl_set_tun() 930 enum nfp_flower_tun_type *tun_type, int *tun_out_cnt, in nfp_flower_output_action() argument 952 err = nfp_fl_output(app, output, act, nfp_fl, last, netdev, *tun_type, in nfp_flower_output_action() [all …]
|
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()
|
D | match.c | 56 bool mask_version, enum nfp_flower_tun_type tun_type, in nfp_flower_compile_port() argument 64 if (tun_type) { in nfp_flower_compile_port() 65 frame->in_port = cpu_to_be32(NFP_FL_PORT_TYPE_TUN | tun_type); in nfp_flower_compile_port() 476 enum nfp_flower_tun_type tun_type, in nfp_flower_compile_flow_match() argument 516 port_id, false, tun_type, extack); in nfp_flower_compile_flow_match() 522 port_id, true, tun_type, extack); in nfp_flower_compile_flow_match()
|
D | offload.c | 178 enum nfp_flower_tun_type *tun_type, bool ipv6, in nfp_flower_calc_udp_tun_layer() argument 185 *tun_type = NFP_FL_TUNNEL_VXLAN; in nfp_flower_calc_udp_tun_layer() 207 *tun_type = NFP_FL_TUNNEL_GENEVE; in nfp_flower_calc_udp_tun_layer() 243 enum nfp_flower_tun_type *tun_type, in nfp_flower_calculate_key_layers() argument 370 *tun_type = NFP_FL_TUNNEL_GRE; in nfp_flower_calculate_key_layers() 400 tun_type, ipv6_tun, in nfp_flower_calculate_key_layers() 408 if (!nfp_fl_netdev_is_tunnel_type(netdev, *tun_type)) { in nfp_flower_calculate_key_layers() 1293 enum nfp_flower_tun_type tun_type = NFP_FL_TUNNEL_NONE; in nfp_flower_add_offload() local 1310 &tun_type, extack); in nfp_flower_add_offload() 1321 flow_pay, tun_type, extack); in nfp_flower_add_offload()
|
D | main.h | 413 enum nfp_flower_tun_type tun_type,
|
/kernel/linux/linux-5.10/net/netfilter/ipvs/ |
D | ip_vs_xmit.c | 386 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 …]
|
D | ip_vs_ctl.c | 534 switch (dest->tun_type) { in ip_vs_rs_hash() 896 udest->tun_type != dest->tun_type || in __ip_vs_update_dest() 901 dest->tun_type = udest->tun_type; in __ip_vs_update_dest() 1058 if (udest->tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GUE) { in ip_vs_add_dest() 1129 if (udest->tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GUE) { in ip_vs_edit_dest() 2450 udest->tun_type = IP_VS_CONN_F_TUNNEL_TYPE_IPIP; in ip_vs_copy_udest_compat() 3306 dest->tun_type) || in ip_vs_genl_fill_dest() 3452 udest->tun_type = nla_get_u8(nla_tun_type); in ip_vs_genl_parse_dest()
|
D | ip_vs_core.c | 1583 if (dest->tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GUE) { in ipvs_udp_decap() 1617 if (dest->tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GRE) { in ipvs_gre_decap() 1708 if (!dest || dest->tun_type != IP_VS_CONN_F_TUNNEL_TYPE_IPIP) in ip_vs_in_icmp()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
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()
|
/kernel/linux/linux-5.10/samples/bpf/ |
D | tc_l2_redirect.sh | 14 local tun_type=$1 46 if [[ $tun_type == "ipip" ]]; then
|
/kernel/linux/linux-5.10/include/net/ |
D | ip_vs.h | 602 u16 tun_type; /* tunnel type */ member 665 __u16 tun_type; /* tunnel type */ member
|