Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/intel/ice/
Dice_tc_lib.c147 list[i].type = ice_proto_type_from_tunnel(fltr->tunnel_type); in ice_tc_fill_tunnel_outer()
148 switch (fltr->tunnel_type) { in ice_tc_fill_tunnel_outer()
184 (fltr->tunnel_type == TNL_GTPU || fltr->tunnel_type == TNL_GTPC)) { in ice_tc_fill_tunnel_outer()
185 list[i].type = ice_proto_type_from_tunnel(fltr->tunnel_type); in ice_tc_fill_tunnel_outer()
274 rule_info->tun_type = ice_sw_type_from_tunnel(tc_fltr->tunnel_type); in ice_tc_fill_rules()
275 if (tc_fltr->tunnel_type != TNL_LAST) { in ice_tc_fill_rules()
830 fltr->tunnel_type = TNL_GTPC; in ice_parse_gtp_type()
848 fltr->tunnel_type = ice_tc_tun_get_type(dev); in ice_parse_tunnel_attr()
892 fltr->tunnel_type != TNL_VXLAN && fltr->tunnel_type != TNL_GENEVE) { in ice_parse_tunnel_attr()
897 if (fltr->tunnel_type != TNL_GTPU) { in ice_parse_tunnel_attr()
[all …]
Dice_tc_lib.h126 u8 tunnel_type; member
Dice_txrx_lib.c154 if (decoded.tunnel_type >= ICE_RX_PTYPE_TUNNEL_IP_GRENAT) in ice_rx_csum()
Dice_lan_tx_rx.h168 u32 tunnel_type:3; member
/linux-5.19.10/drivers/net/ethernet/huawei/hinic/
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-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun_gre.c89 .tunnel_type = MLX5E_TC_TUNNEL_TYPE_GRETAP,
Dtc_tun.h30 int tunnel_type; member
Dtc_tun_mplsoudp.c119 .tunnel_type = MLX5E_TC_TUNNEL_TYPE_MPLSOUDP,
Dtc_tun_vxlan.c153 .tunnel_type = MLX5E_TC_TUNNEL_TYPE_VXLAN,
Dtc_tun_geneve.c361 .tunnel_type = MLX5E_TC_TUNNEL_TYPE_GENEVE,
Dtc_tun_encap.c562 a->tc_tunnel->tunnel_type == b->tc_tunnel->tunnel_type; in mlx5e_tc_tun_encap_info_equal_generic()
574 key->tc_tunnel->tunnel_type); in hash_encap_info()
/linux-5.19.10/drivers/net/ethernet/intel/iavf/
Diavf_type.h377 u32 tunnel_type:3; member
/linux-5.19.10/drivers/net/ethernet/qlogic/qede/
Dqede.h324 u8 tunnel_type; member
/linux-5.19.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_hsi.h7214 u8 tunnel_type; member
7396 u8 tunnel_type; member
7632 u8 tunnel_type; member
7779 u8 tunnel_type; member
7922 u8 tunnel_type; member
8351 u8 tunnel_type; member
8381 u8 tunnel_type; member
8412 u8 tunnel_type; member
Dbnxt.c4834 static int bnxt_hwrm_tunnel_dst_port_free(struct bnxt *bp, u8 tunnel_type) in bnxt_hwrm_tunnel_dst_port_free() argument
4839 if (tunnel_type == TUNNEL_DST_PORT_FREE_REQ_TUNNEL_TYPE_VXLAN && in bnxt_hwrm_tunnel_dst_port_free()
4842 if (tunnel_type == TUNNEL_DST_PORT_FREE_REQ_TUNNEL_TYPE_GENEVE && in bnxt_hwrm_tunnel_dst_port_free()
4850 req->tunnel_type = tunnel_type; in bnxt_hwrm_tunnel_dst_port_free()
4852 switch (tunnel_type) { in bnxt_hwrm_tunnel_dst_port_free()
4875 u8 tunnel_type) in bnxt_hwrm_tunnel_dst_port_alloc() argument
4885 req->tunnel_type = tunnel_type; in bnxt_hwrm_tunnel_dst_port_alloc()
4896 switch (tunnel_type) { in bnxt_hwrm_tunnel_dst_port_alloc()
5021 req->tunnel_type = in bnxt_hwrm_cfa_ntuple_filter_alloc()
Dbnxt_tc.c808 req->tunnel_type = CFA_DECAP_FILTER_ALLOC_REQ_TUNNEL_TYPE_VXLAN; in hwrm_cfa_decap_filter_alloc()
/linux-5.19.10/drivers/net/ethernet/intel/i40e/
Di40e_type.h811 u32 tunnel_type:3; member
Di40e.h298 u8 tunnel_type; member
Di40e_txrx.c1828 if (decoded.tunnel_type >= I40E_RX_PTYPE_TUNNEL_IP_GRENAT) in i40e_rx_checksum()
Di40e_main.c8227 if (filter->tunnel_type != I40E_CLOUD_TNL_TYPE_NONE) in i40e_add_del_cloud_filter()
8228 cld_filter.flags = cpu_to_le16(filter->tunnel_type << in i40e_add_del_cloud_filter()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c2204 } else if (tunnel && tunnel->tunnel_type == MLX5E_TC_TUNNEL_TYPE_VXLAN) { in parse_tunnel_attr()