Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/netronome/nfp/flower/
Daction.c175 enum nfp_flower_tun_type tun_type, int *tun_out_cnt, in nfp_fl_output() argument
194 if (tun_type) { in nfp_fl_output()
196 if (!nfp_fl_netdev_is_tunnel_type(out_dev, tun_type)) { in nfp_fl_output()
209 output->port = cpu_to_be32(NFP_FL_PORT_TYPE_TUN | tun_type); in nfp_fl_output()
400 enum nfp_flower_tun_type tun_type, in nfp_fl_set_ipv4_tun() argument
414 (tun_type != NFP_FL_TUNNEL_GENEVE || in nfp_fl_set_ipv4_tun()
425 FIELD_PREP(NFP_FL_IPV4_TUNNEL_TYPE, tun_type) | in nfp_fl_set_ipv4_tun()
464 if (tun_type == NFP_FL_TUNNEL_GENEVE) { in nfp_fl_set_ipv4_tun()
901 enum nfp_flower_tun_type *tun_type, int *tun_out_cnt, in nfp_flower_output_action() argument
923 err = nfp_fl_output(app, output, act, nfp_fl, last, netdev, *tun_type, in nfp_flower_output_action()
[all …]
Dmatch.c57 bool mask_version, enum nfp_flower_tun_type tun_type, in nfp_flower_compile_port() argument
65 if (tun_type) { in nfp_flower_compile_port()
66 frame->in_port = cpu_to_be32(NFP_FL_PORT_TYPE_TUN | tun_type); in nfp_flower_compile_port()
378 enum nfp_flower_tun_type tun_type, in nfp_flower_compile_flow_match() argument
412 port_id, false, tun_type, extack); in nfp_flower_compile_flow_match()
418 port_id, true, tun_type, extack); in nfp_flower_compile_flow_match()
Dcmsg.h595 enum nfp_flower_tun_type tun_type) in nfp_fl_netdev_is_tunnel_type() argument
598 return tun_type == NFP_FL_TUNNEL_VXLAN; in nfp_fl_netdev_is_tunnel_type()
600 return tun_type == NFP_FL_TUNNEL_GRE; in nfp_fl_netdev_is_tunnel_type()
602 return tun_type == NFP_FL_TUNNEL_GENEVE; in nfp_fl_netdev_is_tunnel_type()
Doffload.c170 enum nfp_flower_tun_type *tun_type, in nfp_flower_calc_udp_tun_layer() argument
177 *tun_type = NFP_FL_TUNNEL_VXLAN; in nfp_flower_calc_udp_tun_layer()
191 *tun_type = NFP_FL_TUNNEL_GENEVE; in nfp_flower_calc_udp_tun_layer()
221 enum nfp_flower_tun_type *tun_type, in nfp_flower_calculate_key_layers() argument
299 *tun_type = NFP_FL_TUNNEL_GRE; in nfp_flower_calculate_key_layers()
326 tun_type, extack); in nfp_flower_calculate_key_layers()
333 if (!nfp_fl_netdev_is_tunnel_type(netdev, *tun_type)) { in nfp_flower_calculate_key_layers()
1119 enum nfp_flower_tun_type tun_type = NFP_FL_TUNNEL_NONE; in nfp_flower_add_offload() local
1136 &tun_type, extack); in nfp_flower_add_offload()
1147 flow_pay, tun_type, extack); in nfp_flower_add_offload()
Dmain.h365 enum nfp_flower_tun_type tun_type,
/Linux-v5.4/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()
552 if (dest->tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GUE) { in __ip_vs_get_out_rt_v6()
558 } 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.c522 switch (dest->tun_type) { in ip_vs_rs_hash()
884 udest->tun_type != dest->tun_type || in __ip_vs_update_dest()
889 dest->tun_type = udest->tun_type; in __ip_vs_update_dest()
1046 if (udest->tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GUE) { in ip_vs_add_dest()
1117 if (udest->tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GUE) { in ip_vs_edit_dest()
2407 udest->tun_type = IP_VS_CONN_F_TUNNEL_TYPE_IPIP; in ip_vs_copy_udest_compat()
3262 dest->tun_type) || in ip_vs_genl_fill_dest()
3408 udest->tun_type = nla_get_u8(nla_tun_type); in ip_vs_genl_parse_dest()
Dip_vs_core.c1594 if (dest->tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GUE) { in ipvs_udp_decap()
1628 if (dest->tun_type == IP_VS_CONN_F_TUNNEL_TYPE_GRE) { in ipvs_gre_decap()
1718 if (!dest || dest->tun_type != IP_VS_CONN_F_TUNNEL_TYPE_IPIP) in ip_vs_in_icmp()
/Linux-v5.4/drivers/net/ethernet/qlogic/qed/
Dqed_sp_commands.c207 struct qed_tunn_update_type *tun_type) in __qed_set_ramrod_tunnel_param() argument
209 *p_tunn_cls = tun_type->tun_cls; in __qed_set_ramrod_tunnel_param()
214 struct qed_tunn_update_type *tun_type, in qed_set_ramrod_tunnel_param() argument
219 __qed_set_ramrod_tunnel_param(p_tunn_cls, tun_type); in qed_set_ramrod_tunnel_param()
/Linux-v5.4/samples/bpf/
Dtc_l2_redirect.sh14 local tun_type=$1
46 if [[ $tun_type == "ipip" ]]; then
/Linux-v5.4/include/net/
Dip_vs.h604 u16 tun_type; /* tunnel type */ member
667 __u16 tun_type; /* tunnel type */ member