Home
last modified time | relevance | path

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

/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()
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()
929 enum nfp_flower_tun_type *tun_type, int *tun_out_cnt, in nfp_flower_output_action() argument
951 err = nfp_fl_output(app, output, act, nfp_fl, last, netdev, *tun_type, in nfp_flower_output_action()
[all …]
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()
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()
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()
1300 enum nfp_flower_tun_type tun_type = NFP_FL_TUNNEL_NONE; in nfp_flower_add_offload() local
1326 &tun_type, extack); in nfp_flower_add_offload()
1337 flow_pay, tun_type, extack); in nfp_flower_add_offload()
Dmain.h429 bool mask_version, enum nfp_flower_tun_type tun_type,
477 enum nfp_flower_tun_type tun_type,
563 enum nfp_flower_tun_type *tun_type,
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()
/drivers/net/ethernet/qlogic/qed/
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()