Home
last modified time | relevance | path

Searched refs:l3_type (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_tx.c202 enum hinic_l3_offload_type *l3_type, in get_inner_l3_l4_type() argument
208 *l3_type = (offload_type == TX_OFFLOAD_CSUM) ? in get_inner_l3_l4_type()
213 *l3_type = IPV6_PKT; in get_inner_l3_l4_type()
223 *l3_type = L3TYPE_UNKNOWN; in get_inner_l3_l4_type()
358 enum hinic_l3_offload_type l3_type; in offload_csum() local
374 l3_type = IPV4_PKT_NO_CHKSUM_OFFLOAD; in offload_csum()
380 l3_type = IPV6_PKT; in offload_csum()
389 l3_type = L3TYPE_UNKNOWN; in offload_csum()
393 hinic_task_set_outter_l3(task, l3_type, in offload_csum()
426 get_inner_l3_l4_type(skb, &ip, &l4, TX_OFFLOAD_CSUM, &l3_type, in offload_csum()
[all …]
H A Dhinic_hw_qp.h156 enum hinic_l3_offload_type l3_type,
160 enum hinic_l3_offload_type l3_type,
H A Dhinic_hw_qp.c513 enum hinic_l3_offload_type l3_type, in hinic_task_set_outter_l3() argument
516 task->pkt_info2 |= HINIC_SQ_TASK_INFO2_SET(l3_type, OUTER_L3TYPE) | in hinic_task_set_outter_l3()
521 enum hinic_l3_offload_type l3_type, in hinic_task_set_inner_l3() argument
524 task->pkt_info0 |= HINIC_SQ_TASK_INFO0_SET(l3_type, INNER_L3TYPE); in hinic_task_set_inner_l3()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Ddr_ste_v1.c41 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV4,
45 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6,
57 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6,
61 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6,
65 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6,
69 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6,
73 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6,
77 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6,
81 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6,
85 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6,
[all …]
/linux/drivers/net/ethernet/google/gve/
H A Dgve_rx_dqo.c392 if (ptype.l3_type == GVE_L3_TYPE_IPV4) { in gve_rx_skb_csum()
395 } else if (ptype.l3_type == GVE_L3_TYPE_IPV6) { in gve_rx_skb_csum()
424 else if (ptype.l3_type != GVE_L3_TYPE_UNKNOWN) in gve_rx_skb_hash()
656 switch (ptype.l3_type) { in gve_rx_complete_rsc()
H A Dgve.h644 u8 l3_type; /* `gve_l3_type` in gve_adminq.h */ member
/linux/drivers/net/ethernet/cavium/thunder/
H A Dq_struct.h187 u64 l3_type:4; member
224 u64 l3_type:4;
/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.c3886 int l3_type, l4_type; in hns3_rx_handle_csum() local
3904 l3_type = hnae3_get_field(l234info, HNS3_RXD_L3ID_M, in hns3_rx_handle_csum()
3909 if ((l3_type == HNS3_L3_TYPE_IPV4 || in hns3_rx_handle_csum()
3910 l3_type == HNS3_L3_TYPE_IPV6) && in hns3_rx_handle_csum()
4150 u32 l3_type; in hns3_set_gro_and_checksum() local
4170 l3_type = hns3_rx_ptype_tbl[ptype].l3_type; in hns3_set_gro_and_checksum()
4172 l3_type = hnae3_get_field(l234info, HNS3_RXD_L3ID_M, in hns3_set_gro_and_checksum()
4176 if (l3_type == HNS3_L3_TYPE_IPV4) in hns3_set_gro_and_checksum()
4178 else if (l3_type == HNS3_L3_TYPE_IPV6) in hns3_set_gro_and_checksum()
4200 int l3_type = hnae3_get_field(l234info, HNS3_RXD_L3ID_M, in hns3_set_rx_skb_rss_type() local
[all …]
H A Dhns3_enet.h407 u32 l3_type : 4; member
/linux/include/linux/qed/
H A Dcommon_hsi.h1058 enum l3_type { enum
/linux/drivers/infiniband/hw/mlx5/
H A Dmain.c3111 u8 l3_type_cap = MLX5_CAP_ROCE(dev->mdev, l3_type); in get_core_cap_flags()
/linux/include/linux/mlx5/
H A Dmlx5_ifc.h1222 u8 l3_type[0x4]; member