Home
last modified time | relevance | path

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

/openbmc/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()
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_tc_lib.c188 list[i].type = ice_proto_type_from_tunnel(fltr->tunnel_type); in ice_tc_fill_tunnel_outer()
189 switch (fltr->tunnel_type) { in ice_tc_fill_tunnel_outer()
225 (fltr->tunnel_type == TNL_GTPU || fltr->tunnel_type == TNL_GTPC)) { in ice_tc_fill_tunnel_outer()
226 list[i].type = ice_proto_type_from_tunnel(fltr->tunnel_type); in ice_tc_fill_tunnel_outer()
373 rule_info->tun_type = ice_sw_type_from_tunnel(tc_fltr->tunnel_type); in ice_tc_fill_rules()
374 if (tc_fltr->tunnel_type != TNL_LAST) { in ice_tc_fill_rules()
1309 fltr->tunnel_type = TNL_GTPC; in ice_parse_gtp_type()
1327 fltr->tunnel_type = ice_tc_tun_get_type(dev); in ice_parse_tunnel_attr()
1368 fltr->tunnel_type != TNL_VXLAN && fltr->tunnel_type != TNL_GENEVE) { in ice_parse_tunnel_attr()
1373 if (fltr->tunnel_type != TNL_GTPU) { in ice_parse_tunnel_attr()
[all …]
H A Dice_tc_lib.h165 u8 tunnel_type; member
H A Dice_txrx_lib.c154 if (decoded.tunnel_type >= ICE_RX_PTYPE_TUNNEL_IP_GRENAT) in ice_rx_csum()
H A Dice_lan_tx_rx.h168 u32 tunnel_type:3; member
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_gre.c89 .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.c223 .tunnel_type = MLX5E_TC_TUNNEL_TYPE_VXLAN,
H A Dtc_tun_geneve.c344 .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()
/openbmc/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_type.h377 u32 tunnel_type:3; member
/openbmc/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede.h326 u8 tunnel_type; member
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_hsi.h6906 u8 tunnel_type; member
7088 u8 tunnel_type; member
7327 u8 tunnel_type; member
7474 u8 tunnel_type; member
7617 u8 tunnel_type; member
8047 u8 tunnel_type; member
8088 u8 tunnel_type; member
8135 u8 tunnel_type; member
H A Dbnxt.c4806 static int bnxt_hwrm_tunnel_dst_port_free(struct bnxt *bp, u8 tunnel_type) in bnxt_hwrm_tunnel_dst_port_free() argument
4811 if (tunnel_type == TUNNEL_DST_PORT_FREE_REQ_TUNNEL_TYPE_VXLAN && in bnxt_hwrm_tunnel_dst_port_free()
4814 if (tunnel_type == TUNNEL_DST_PORT_FREE_REQ_TUNNEL_TYPE_GENEVE && in bnxt_hwrm_tunnel_dst_port_free()
4822 req->tunnel_type = tunnel_type; in bnxt_hwrm_tunnel_dst_port_free()
4824 switch (tunnel_type) { in bnxt_hwrm_tunnel_dst_port_free()
4847 u8 tunnel_type) in bnxt_hwrm_tunnel_dst_port_alloc() argument
4857 req->tunnel_type = tunnel_type; in bnxt_hwrm_tunnel_dst_port_alloc()
4868 switch (tunnel_type) { in bnxt_hwrm_tunnel_dst_port_alloc()
4993 req->tunnel_type = in bnxt_hwrm_cfa_ntuple_filter_alloc()
H A Dbnxt_tc.c808 req->tunnel_type = CFA_DECAP_FILTER_ALLOC_REQ_TUNNEL_TYPE_VXLAN; in hwrm_cfa_decap_filter_alloc()
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_type.h772 u32 tunnel_type:3; member
H A Di40e.h271 u8 tunnel_type; member
H A Di40e_txrx.c1812 if (decoded.tunnel_type >= I40E_RX_PTYPE_TUNNEL_IP_GRENAT) in i40e_rx_checksum()
H A Di40e_main.c8425 if (filter->tunnel_type != I40E_CLOUD_TNL_TYPE_NONE) in i40e_add_del_cloud_filter()
8426 cld_filter.flags = cpu_to_le16(filter->tunnel_type << in i40e_add_del_cloud_filter()