Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_action.c225 u8 l3_type; member
262 .l3_type = MLX5DR_ACTION_MDFY_HW_HDR_L3_IPV4,
266 .l3_type = MLX5DR_ACTION_MDFY_HW_HDR_L3_IPV6,
278 .l3_type = MLX5DR_ACTION_MDFY_HW_HDR_L3_IPV6,
282 .l3_type = MLX5DR_ACTION_MDFY_HW_HDR_L3_IPV6,
286 .l3_type = MLX5DR_ACTION_MDFY_HW_HDR_L3_IPV6,
290 .l3_type = MLX5DR_ACTION_MDFY_HW_HDR_L3_IPV6,
294 .l3_type = MLX5DR_ACTION_MDFY_HW_HDR_L3_IPV6,
298 .l3_type = MLX5DR_ACTION_MDFY_HW_HDR_L3_IPV6,
302 .l3_type = MLX5DR_ACTION_MDFY_HW_HDR_L3_IPV6,
[all …]
Dmlx5_ifc_dr.h264 u8 l3_type[0x2]; member
297 u8 l3_type[0x2]; member
319 u8 l3_type[0x2]; member
376 u8 l3_type[0x2]; member
Ddr_ste.c793 DR_STE_SET_MASK(eth_l2_src_dst, bit_mask, l3_type, mask, ip_version); in dr_ste_build_eth_l2_src_des_bit_mask()
1075 MLX5_SET(ste_eth_l2_src_dst, tag, l3_type, STE_IPV4); in dr_ste_build_eth_l2_src_des_tag()
1078 MLX5_SET(ste_eth_l2_src_dst, tag, l3_type, STE_IPV6); in dr_ste_build_eth_l2_src_des_tag()
1284 DR_STE_SET_MASK(eth_l2_src, bit_mask, l3_type, mask, ip_version); in dr_ste_build_eth_l2_src_or_dst_bit_mask()
1339 MLX5_SET(ste_eth_l2_src, tag, l3_type, STE_IPV4); in dr_ste_build_eth_l2_src_or_dst_tag()
1342 MLX5_SET(ste_eth_l2_src, tag, l3_type, STE_IPV6); in dr_ste_build_eth_l2_src_or_dst_tag()
1474 DR_STE_SET_MASK(eth_l2_tnl, bit_mask, l3_type, mask, ip_version); in dr_ste_build_eth_l2_tnl_bit_mask()
1522 MLX5_SET(ste_eth_l2_tnl, tag, l3_type, STE_IPV4); in dr_ste_build_eth_l2_tnl_tag()
1525 MLX5_SET(ste_eth_l2_tnl, tag, l3_type, STE_IPV6); in dr_ste_build_eth_l2_tnl_tag()
/Linux-v5.4/drivers/net/ethernet/huawei/hinic/
Dhinic_tx.c203 enum hinic_l3_offload_type *l3_type, in get_inner_l3_l4_type() argument
209 *l3_type = (offload_type == TX_OFFLOAD_CSUM) ? in get_inner_l3_l4_type()
214 *l3_type = IPV6_PKT; in get_inner_l3_l4_type()
224 *l3_type = L3TYPE_UNKNOWN; in get_inner_l3_l4_type()
359 enum hinic_l3_offload_type l3_type; in offload_csum() local
373 l3_type = IPV4_PKT_NO_CHKSUM_OFFLOAD; in offload_csum()
375 l3_type = IPV6_PKT; in offload_csum()
377 l3_type = L3TYPE_UNKNOWN; in offload_csum()
379 hinic_task_set_outter_l3(task, l3_type, in offload_csum()
397 get_inner_l3_l4_type(skb, &ip, &l4, TX_OFFLOAD_CSUM, &l3_type, in offload_csum()
[all …]
Dhinic_hw_qp.h146 enum hinic_l3_offload_type l3_type,
150 enum hinic_l3_offload_type l3_type,
Dhinic_hw_qp.c510 enum hinic_l3_offload_type l3_type, in hinic_task_set_outter_l3() argument
513 task->pkt_info2 |= HINIC_SQ_TASK_INFO2_SET(l3_type, OUTER_L3TYPE) | in hinic_task_set_outter_l3()
518 enum hinic_l3_offload_type l3_type, in hinic_task_set_inner_l3() argument
521 task->pkt_info0 |= HINIC_SQ_TASK_INFO0_SET(l3_type, INNER_L3TYPE); in hinic_task_set_inner_l3()
/Linux-v5.4/drivers/net/ethernet/cavium/thunder/
Dq_struct.h187 u64 l3_type:4; member
224 u64 l3_type:4;
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c2514 int l3_type, l4_type; in hns3_rx_checksum() local
2546 l3_type = hnae3_get_field(l234info, HNS3_RXD_L3ID_M, in hns3_rx_checksum()
2552 if ((l3_type == HNS3_L3_TYPE_IPV4 || in hns3_rx_checksum()
2553 l3_type == HNS3_L3_TYPE_IPV6) && in hns3_rx_checksum()
2744 u32 l3_type; in hns3_set_gro_and_checksum() local
2759 l3_type = hnae3_get_field(l234info, HNS3_RXD_L3ID_M, HNS3_RXD_L3ID_S); in hns3_set_gro_and_checksum()
2760 if (l3_type == HNS3_L3_TYPE_IPV4) in hns3_set_gro_and_checksum()
2762 else if (l3_type == HNS3_L3_TYPE_IPV6) in hns3_set_gro_and_checksum()
/Linux-v5.4/include/linux/qed/
Dcommon_hsi.h993 enum l3_type { enum
/Linux-v5.4/include/linux/mlx5/
Dmlx5_ifc.h885 u8 l3_type[0x4]; member
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dmain.c5096 u8 l3_type_cap = MLX5_CAP_ROCE(dev->mdev, l3_type); in get_core_cap_flags()