Home
last modified time | relevance | path

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

/drivers/net/ethernet/huawei/hinic/
Dhinic_tx.c201 enum hinic_l3_offload_type *l3_type, in get_inner_l3_l4_type() argument
207 *l3_type = (offload_type == TX_OFFLOAD_CSUM) ? in get_inner_l3_l4_type()
212 *l3_type = IPV6_PKT; in get_inner_l3_l4_type()
222 *l3_type = L3TYPE_UNKNOWN; in get_inner_l3_l4_type()
357 enum hinic_l3_offload_type l3_type; in offload_csum() local
373 l3_type = IPV4_PKT_NO_CHKSUM_OFFLOAD; in offload_csum()
379 l3_type = IPV6_PKT; in offload_csum()
388 l3_type = L3TYPE_UNKNOWN; in offload_csum()
392 hinic_task_set_outter_l3(task, l3_type, in offload_csum()
425 get_inner_l3_l4_type(skb, &ip, &l4, TX_OFFLOAD_CSUM, &l3_type, in offload_csum()
[all …]
Dhinic_hw_qp.h156 enum hinic_l3_offload_type l3_type,
160 enum hinic_l3_offload_type l3_type,
Dhinic_hw_qp.c514 enum hinic_l3_offload_type l3_type, in hinic_task_set_outter_l3() argument
517 task->pkt_info2 |= HINIC_SQ_TASK_INFO2_SET(l3_type, OUTER_L3TYPE) | in hinic_task_set_outter_l3()
522 enum hinic_l3_offload_type l3_type, in hinic_task_set_inner_l3() argument
525 task->pkt_info0 |= HINIC_SQ_TASK_INFO0_SET(l3_type, INNER_L3TYPE); in hinic_task_set_inner_l3()
/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_ste_v0.c146 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV4,
150 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6,
162 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6,
166 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6,
170 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6,
174 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6,
178 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6,
182 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6,
186 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6,
190 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6,
[all …]
Ddr_ste_v1.c164 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV4,
168 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6,
180 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6,
184 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6,
188 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6,
192 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6,
196 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6,
200 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6,
204 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6,
208 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6,
[all …]
Dmlx5_ifc_dr_ste_v1.h176 u8 l3_type[0x2]; member
210 u8 l3_type[0x2]; member
245 u8 l3_type[0x2]; member
294 u8 l3_type[0x2]; member
Dmlx5_ifc_dr.h174 u8 l3_type[0x2]; member
207 u8 l3_type[0x2]; member
229 u8 l3_type[0x2]; member
286 u8 l3_type[0x2]; member
Ddr_action.c1576 u32 l3_type = 0; in dr_actions_convert_modify_header() local
1605 if (l3_type && hw_dst_action_info->l3_type && in dr_actions_convert_modify_header()
1606 hw_dst_action_info->l3_type != l3_type) { in dr_actions_convert_modify_header()
1610 if (hw_dst_action_info->l3_type) in dr_actions_convert_modify_header()
1611 l3_type = hw_dst_action_info->l3_type; in dr_actions_convert_modify_header()
Ddr_types.h905 u8 l3_type; member
/drivers/net/ethernet/google/gve/
Dgve_rx_dqo.c430 if (ptype.l3_type == GVE_L3_TYPE_IPV4) { in gve_rx_skb_csum()
433 } else if (ptype.l3_type == GVE_L3_TYPE_IPV6) { in gve_rx_skb_csum()
462 else if (ptype.l3_type != GVE_L3_TYPE_UNKNOWN) in gve_rx_skb_hash()
614 switch (ptype.l3_type) { in gve_rx_complete_rsc()
Dgve_adminq.h303 u8 l3_type; member
Dgve_adminq.c884 ptype_lut->ptypes[i].l3_type = in gve_adminq_get_ptype_map_dqo()
885 ptype_map->ptypes[i].l3_type; in gve_adminq_get_ptype_map_dqo()
Dgve.h457 u8 l3_type; /* `gve_l3_type` in gve_adminq.h */ member
/drivers/net/ethernet/cavium/thunder/
Dq_struct.h187 u64 l3_type:4; member
224 u64 l3_type:4;
/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c3692 int l3_type, l4_type; in hns3_rx_handle_csum() local
3710 l3_type = hnae3_get_field(l234info, HNS3_RXD_L3ID_M, in hns3_rx_handle_csum()
3715 if ((l3_type == HNS3_L3_TYPE_IPV4 || in hns3_rx_handle_csum()
3716 l3_type == HNS3_L3_TYPE_IPV6) && in hns3_rx_handle_csum()
3956 u32 l3_type; in hns3_set_gro_and_checksum() local
3976 l3_type = hns3_rx_ptype_tbl[ptype].l3_type; in hns3_set_gro_and_checksum()
3978 l3_type = hnae3_get_field(l234info, HNS3_RXD_L3ID_M, in hns3_set_gro_and_checksum()
3982 if (l3_type == HNS3_L3_TYPE_IPV4) in hns3_set_gro_and_checksum()
3984 else if (l3_type == HNS3_L3_TYPE_IPV6) in hns3_set_gro_and_checksum()
Dhns3_enet.h397 u32 l3_type : 4; member
/drivers/infiniband/hw/mlx5/
Dmain.c2909 u8 l3_type_cap = MLX5_CAP_ROCE(dev->mdev, l3_type); in get_core_cap_flags()