Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/intel/ice/
H A Dice_tc_lib.c195 list[i].type = ice_proto_type_from_tunnel(fltr->tunnel_type); in ice_tc_fill_tunnel_outer()
196 switch (fltr->tunnel_type) { in ice_tc_fill_tunnel_outer()
232 list[i].type = ice_proto_type_from_tunnel(fltr->tunnel_type); in ice_tc_fill_tunnel_outer()
395 rule_info->tun_type = ice_sw_type_from_tunnel(tc_fltr->tunnel_type); in ice_tc_fill_rules()
396 if (tc_fltr->tunnel_type != TNL_LAST) { in ice_tc_fill_rules()
400 if (tc_fltr->tunnel_type != TNL_PFCP) { in ice_tc_fill_rules()
1351 fltr->tunnel_type = TNL_GTPC; in ice_parse_gtp_type()
1370 fltr->tunnel_type = ice_tc_tun_get_type(dev); in ice_parse_tunnel_attr()
1414 fltr->tunnel_type != TNL_VXLAN && fltr->tunnel_type != TNL_GENEVE) { in ice_parse_tunnel_attr()
1419 if (fltr->tunnel_type != TNL_GTPU) { in ice_parse_tunnel_attr()
[all …]
H A Dice_tc_lib.h171 u8 tunnel_type; member
H A Dice_txrx_lib.c143 if (decoded.tunnel_type >= LIBETH_RX_PT_TUNNEL_IP_GRENAT) in ice_rx_csum()
/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.c224 .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.c594 a->tc_tunnel->tunnel_type == b->tc_tunnel->tunnel_type; in mlx5e_tc_tun_encap_info_equal_generic()
637 key->tc_tunnel->tunnel_type); in hash_encap_info()
/linux/include/net/libeth/
H A Drx.h191 u32 tunnel_type:3; member
/linux/drivers/net/ethernet/intel/libie/
H A Drx.c23 .tunnel_type = LIBETH_RX_PT_TUNNEL_IP_##tun, \
/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede.h326 u8 tunnel_type; member
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_singleq_txrx.c643 if (decoded.tunnel_type >= LIBETH_RX_PT_TUNNEL_IP_GRENAT) in idpf_rx_singleq_csum()
H A Didpf_virtchnl.c2517 ptype->tunnel_type = LIBETH_RX_PT_TUNNEL_IP_IP; in idpf_fill_ptype_lookup()
2642 ptype_lkup[k].tunnel_type = in idpf_send_get_rx_ptype_msg()
2653 ptype_lkup[k].tunnel_type = in idpf_send_get_rx_ptype_msg()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_hsi.h7558 u8 tunnel_type; member
7752 u8 tunnel_type; member
7993 u8 tunnel_type; member
8141 u8 tunnel_type; member
8285 u8 tunnel_type; member
8717 u8 tunnel_type; member
8773 u8 tunnel_type; member
8832 u8 tunnel_type; member
H A Dbnxt.c5663 static int bnxt_hwrm_tunnel_dst_port_free(struct bnxt *bp, u8 tunnel_type) in bnxt_hwrm_tunnel_dst_port_free() argument
5668 if (tunnel_type == TUNNEL_DST_PORT_FREE_REQ_TUNNEL_TYPE_VXLAN && in bnxt_hwrm_tunnel_dst_port_free()
5671 if (tunnel_type == TUNNEL_DST_PORT_FREE_REQ_TUNNEL_TYPE_GENEVE && in bnxt_hwrm_tunnel_dst_port_free()
5679 req->tunnel_type = tunnel_type; in bnxt_hwrm_tunnel_dst_port_free()
5681 switch (tunnel_type) { in bnxt_hwrm_tunnel_dst_port_free()
5711 u8 tunnel_type) in bnxt_hwrm_tunnel_dst_port_alloc() argument
5721 req->tunnel_type = tunnel_type; in bnxt_hwrm_tunnel_dst_port_alloc()
5732 switch (tunnel_type) { in bnxt_hwrm_tunnel_dst_port_alloc()
6221 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()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.c1798 if (decoded.tunnel_type >= LIBETH_RX_PT_TUNNEL_IP_GRENAT) in i40e_rx_checksum()
H A Di40e_main.c8429 if (filter->tunnel_type != I40E_CLOUD_TNL_TYPE_NONE) in i40e_add_del_cloud_filter()
8430 cld_filter.flags = cpu_to_le16(filter->tunnel_type << in i40e_add_del_cloud_filter()