| /linux/tools/testing/selftests/net/ |
| H A D | tun.c | 420 static int parse_udp_tunnel_vnet_packet(uint8_t *buf, int len, int tunnel_type, in parse_udp_tunnel_vnet_packet() 436 if (tunnel_type & UDP_TUNNEL_OUTER_IPV4) { in parse_udp_tunnel_vnet_packet() 461 if (tunnel_type & UDP_TUNNEL_INNER_IPV4) { in parse_udp_tunnel_vnet_packet() 689 int tunnel_type; in assign_ifaddr_vars() 700 .tunnel_type = type, \ in assign_sockaddr_vars() 708 .tunnel_type = type, \ in assign_sockaddr_vars() 716 .tunnel_type = type, \ in assign_sockaddr_vars() 724 .tunnel_type = type, \ in assign_sockaddr_vars() 733 .tunnel_type = type, \ in FIXTURE_SETUP() 742 .tunnel_type in FIXTURE_SETUP() 419 parse_udp_tunnel_vnet_packet(uint8_t * buf,int len,int tunnel_type,bool is_tap) parse_udp_tunnel_vnet_packet() argument 553 int tunnel_type; FIXTURE_VARIANT() local 731 int tunnel_type = variant->tunnel_type; FIXTURE_SETUP() local 793 int tunnel_type = variant->tunnel_type; build_gso_packet_into_tun() local 895 int tunnel_type = variant->tunnel_type; receive_gso_packet_from_tun() local [all...] |
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_tc_lib.c | 192 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 D | hinic_tx.c | 291 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 D | tc_tun_gre.c | 93 .tunnel_type = MLX5E_TC_TUNNEL_TYPE_GRETAP,
|
| H A D | tc_tun.h | 30 int tunnel_type; member
|
| H A D | tc_tun_mplsoudp.c | 119 .tunnel_type = MLX5E_TC_TUNNEL_TYPE_MPLSOUDP,
|
| H A D | tc_tun_vxlan.c | 250 .tunnel_type = MLX5E_TC_TUNNEL_TYPE_VXLAN,
|
| H A D | tc_tun_geneve.c | 346 .tunnel_type = MLX5E_TC_TUNNEL_TYPE_GENEVE,
|
| /linux/drivers/net/ethernet/intel/libie/ |
| H A D | rx.c | 26 .tunnel_type = LIBETH_RX_PT_TUNNEL_IP_##tun, \
|
| /linux/include/net/libeth/ |
| H A D | rx.h | 199 u32 tunnel_type:3; member
|
| /linux/drivers/net/ethernet/qlogic/qede/ |
| H A D | qede.h | 326 u8 tunnel_type; member
|
| /linux/drivers/net/ethernet/intel/idpf/ |
| H A D | idpf_virtchnl.c | 2578 ptype->tunnel_type = LIBETH_RX_PT_TUNNEL_IP_IP; in idpf_fill_ptype_lookup() 2623 rx_pt->tunnel_type = in idpf_parse_protocol_ids() 2632 rx_pt->tunnel_type = in idpf_parse_protocol_ids()
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e.h | 326 u8 tunnel_type; member
|
| H A D | i40e_txrx.c | 1797 if (decoded.tunnel_type >= LIBETH_RX_PT_TUNNEL_IP_GRENAT) in i40e_rx_checksum()
|
| H A D | i40e_main.c | 8415 if (filter->tunnel_type != I40E_CLOUD_TNL_TYPE_NONE) in i40e_add_del_cloud_filter() 8416 cld_filter.flags = cpu_to_le16(filter->tunnel_type << in i40e_add_del_cloud_filter()
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt.c | 5935 static int bnxt_hwrm_tunnel_dst_port_free(struct bnxt *bp, u8 tunnel_type) 5940 if (tunnel_type == TUNNEL_DST_PORT_FREE_REQ_TUNNEL_TYPE_VXLAN && in bnxt_hwrm_tunnel_dst_port_free() 5943 if (tunnel_type == TUNNEL_DST_PORT_FREE_REQ_TUNNEL_TYPE_GENEVE && in bnxt_hwrm_tunnel_dst_port_free() 5951 req->tunnel_type = tunnel_type; in bnxt_hwrm_tunnel_dst_port_free() 5953 switch (tunnel_type) { in bnxt_hwrm_tunnel_dst_port_free() 5983 u8 tunnel_type) in bnxt_hwrm_tunnel_dst_port_alloc() 5993 req->tunnel_type = tunnel_type; in bnxt_hwrm_tunnel_dst_port_alloc() 6004 switch (tunnel_type) { in bnxt_hwrm_tunnel_dst_port_alloc() 5936 bnxt_hwrm_tunnel_dst_port_free(struct bnxt * bp,u8 tunnel_type) bnxt_hwrm_tunnel_dst_port_free() argument 5984 bnxt_hwrm_tunnel_dst_port_alloc(struct bnxt * bp,__be16 port,u8 tunnel_type) bnxt_hwrm_tunnel_dst_port_alloc() argument [all...] |
| H A D | bnxt_tc.c | 812 req->tunnel_type = CFA_DECAP_FILTER_ALLOC_REQ_TUNNEL_TYPE_VXLAN; in hwrm_cfa_decap_filter_alloc()
|
| /linux/include/linux/bnge/ |
| H A D | hsi.h | 8638 u8 tunnel_type; member 8835 u8 tunnel_type; member 9024 u8 tunnel_type; member 9101 u8 tunnel_type; member
|