Home
last modified time | relevance | path

Searched refs:tnl_type (Results 1 – 4 of 4) sorted by relevance

/linux/tools/testing/selftests/net/openvswitch/
H A Dopenvswitch.sh763 local tnl_type=$1; shift
767 info "setting up kernel ${tnl_type} tunnel ${name}"
768 ovs_sbx "${sbxname}" ip -netns ${ns} link add dev ${name} type ${tnl_type} $* || return 1
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dsge.c1270 enum cpl_tx_tnl_lso_type tnl_type = TX_TNL_TYPE_OPAQUE; in cxgb_encap_offload_supported() local
1276 return tnl_type; in cxgb_encap_offload_supported()
1286 return tnl_type; in cxgb_encap_offload_supported()
1292 tnl_type = TX_TNL_TYPE_VXLAN; in cxgb_encap_offload_supported()
1294 tnl_type = TX_TNL_TYPE_GENEVE; in cxgb_encap_offload_supported()
1297 return tnl_type; in cxgb_encap_offload_supported()
1300 return tnl_type; in cxgb_encap_offload_supported()
1305 enum cpl_tx_tnl_lso_type tnl_type) in t6_fill_tnl_lso() argument
1332 switch (tnl_type) { in t6_fill_tnl_lso()
1346 CPL_TX_TNL_LSO_TNLTYPE_V(tnl_type)); in t6_fill_tnl_lso()
[all …]
/linux/drivers/net/ethernet/intel/ice/
H A Dice_flex_pipe.c578 enum ice_tunnel_type tnl_type; in ice_udp_tunnel_set_port() local
582 tnl_type = ti->type == UDP_TUNNEL_TYPE_VXLAN ? TNL_VXLAN : TNL_GENEVE; in ice_udp_tunnel_set_port()
583 index = ice_tunnel_idx_to_entry(&pf->hw, tnl_type, idx); in ice_udp_tunnel_set_port()
585 status = ice_create_tunnel(&pf->hw, index, tnl_type, ntohs(ti->port)); in ice_udp_tunnel_set_port()
600 enum ice_tunnel_type tnl_type; in ice_udp_tunnel_unset_port() local
603 tnl_type = ti->type == UDP_TUNNEL_TYPE_VXLAN ? TNL_VXLAN : TNL_GENEVE; in ice_udp_tunnel_unset_port()
605 status = ice_destroy_tunnel(&pf->hw, ti->hw_priv, tnl_type, in ice_udp_tunnel_unset_port()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_common.c5144 u16 tnl_type; in i40e_aq_add_cloud_filters_bb() local
5147 tnl_type = le16_get_bits(filters[i].element.flags, in i40e_aq_add_cloud_filters_bb()
5154 if (tnl_type == I40E_AQC_ADD_CLOUD_TNL_TYPE_GENEVE) { in i40e_aq_add_cloud_filters_bb()
5237 u16 tnl_type; in i40e_aq_rem_cloud_filters_bb() local
5240 tnl_type = le16_get_bits(filters[i].element.flags, in i40e_aq_rem_cloud_filters_bb()
5247 if (tnl_type == I40E_AQC_ADD_CLOUD_TNL_TYPE_GENEVE) { in i40e_aq_rem_cloud_filters_bb()