Home
last modified time | relevance | path

Searched refs:tunnel_type (Results 1 – 18 of 18) sorted by relevance

/linux/tools/testing/selftests/net/
H A Dtun.c419 static int parse_udp_tunnel_vnet_packet(uint8_t *buf, int len, int tunnel_type, in parse_udp_tunnel_vnet_packet() argument
435 if (tunnel_type & UDP_TUNNEL_OUTER_IPV4) { in parse_udp_tunnel_vnet_packet()
460 if (tunnel_type & UDP_TUNNEL_INNER_IPV4) { in parse_udp_tunnel_vnet_packet()
553 int tunnel_type; in FIXTURE_VARIANT() local
564 .tunnel_type = type, \
572 .tunnel_type = type, \
580 .tunnel_type = type, \
588 .tunnel_type = type, \
597 .tunnel_type = type, \
606 .tunnel_type = type, \
[all …]
/linux/drivers/net/ethernet/intel/ice/
H A Dice_tc_lib.c192 list[i].type = ice_proto_type_from_tunnel(fltr->tunnel_type); in ice_tc_fill_tunnel_outer()
193 switch (fltr->tunnel_type) { in ice_tc_fill_tunnel_outer()
229 list[i].type = ice_proto_type_from_tunnel(fltr->tunnel_type); in ice_tc_fill_tunnel_outer()
392 rule_info->tun_type = ice_sw_type_from_tunnel(tc_fltr->tunnel_type); in ice_tc_fill_rules()
393 if (tc_fltr->tunnel_type != TNL_LAST) { in ice_tc_fill_rules()
397 if (tc_fltr->tunnel_type != TNL_PFCP) { in ice_tc_fill_rules()
1515 fltr->tunnel_type = TNL_GTPC; in ice_parse_gtp_type()
1534 fltr->tunnel_type = ice_tc_tun_get_type(dev); in ice_parse_tunnel_attr()
1578 fltr->tunnel_type != TNL_VXLAN && fltr->tunnel_type != TNL_GENEVE) { in ice_parse_tunnel_attr()
1583 if (fltr->tunnel_type != TNL_GTPU) { in ice_parse_tunnel_attr()
[all …]
/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_tx.c291 u32 tunnel_type = 0; in offload_tso() local
312 tunnel_type = TUNNEL_UDP_CSUM; in offload_tso()
314 tunnel_type = TUNNEL_UDP_NO_CSUM; in offload_tso()
319 hinic_task_set_tunnel_l4(task, tunnel_type, l4_tunnel_len); in offload_tso()
359 u32 tunnel_type = NOT_TUNNEL; in offload_csum() local
370 tunnel_type = TUNNEL_UDP_NO_CSUM; in offload_csum()
381 tunnel_type = TUNNEL_UDP_CSUM; in offload_csum()
406 tunnel_type = NOT_TUNNEL; in offload_csum()
419 hinic_task_set_tunnel_l4(task, tunnel_type, l4_tunnel_len); in offload_csum()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_gre.c93 .tunnel_type = MLX5E_TC_TUNNEL_TYPE_GRETAP,
H A Dtc_tun.h30 int tunnel_type; member
H A Dtc_tun_mplsoudp.c119 .tunnel_type = MLX5E_TC_TUNNEL_TYPE_MPLSOUDP,
H A Dtc_tun_vxlan.c250 .tunnel_type = MLX5E_TC_TUNNEL_TYPE_VXLAN,
H A Dtc_tun_geneve.c346 .tunnel_type = MLX5E_TC_TUNNEL_TYPE_GENEVE,
H A Dtc_tun_encap.c593 a->tc_tunnel->tunnel_type == b->tc_tunnel->tunnel_type; in mlx5e_tc_tun_encap_info_equal_generic()
636 key->tc_tunnel->tunnel_type); in hash_encap_info()
/linux/drivers/net/ethernet/intel/libie/
H A Drx.c26 .tunnel_type = LIBETH_RX_PT_TUNNEL_IP_##tun, \
/linux/include/net/libeth/
H A Drx.h197 u32 tunnel_type:3; member
/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede.h326 u8 tunnel_type; member
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e.h326 u8 tunnel_type; member
H A Di40e_txrx.c1797 if (decoded.tunnel_type >= LIBETH_RX_PT_TUNNEL_IP_GRENAT) in i40e_rx_checksum()
H A Di40e_main.c8418 if (filter->tunnel_type != I40E_CLOUD_TNL_TYPE_NONE) in i40e_add_del_cloud_filter()
8419 cld_filter.flags = cpu_to_le16(filter->tunnel_type << in i40e_add_del_cloud_filter()
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_virtchnl.c3040 ptype->tunnel_type = LIBETH_RX_PT_TUNNEL_IP_IP; in idpf_fill_ptype_lookup()
3085 rx_pt->tunnel_type = in idpf_parse_protocol_ids()
3094 rx_pt->tunnel_type = in idpf_parse_protocol_ids()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c5802 static int bnxt_hwrm_tunnel_dst_port_free(struct bnxt *bp, u8 tunnel_type) in bnxt_hwrm_tunnel_dst_port_free() argument
5807 if (tunnel_type == TUNNEL_DST_PORT_FREE_REQ_TUNNEL_TYPE_VXLAN && in bnxt_hwrm_tunnel_dst_port_free()
5810 if (tunnel_type == TUNNEL_DST_PORT_FREE_REQ_TUNNEL_TYPE_GENEVE && in bnxt_hwrm_tunnel_dst_port_free()
5818 req->tunnel_type = tunnel_type; in bnxt_hwrm_tunnel_dst_port_free()
5820 switch (tunnel_type) { in bnxt_hwrm_tunnel_dst_port_free()
5850 u8 tunnel_type) in bnxt_hwrm_tunnel_dst_port_alloc() argument
5860 req->tunnel_type = tunnel_type; in bnxt_hwrm_tunnel_dst_port_alloc()
5871 switch (tunnel_type) { in bnxt_hwrm_tunnel_dst_port_alloc()
6363 req->tunnel_type = in bnxt_hwrm_cfa_ntuple_filter_alloc()
H A Dbnxt_tc.c812 req->tunnel_type = CFA_DECAP_FILTER_ALLOC_REQ_TUNNEL_TYPE_VXLAN; in hwrm_cfa_decap_filter_alloc()