/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_ste_v2.c | 72 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV4, 76 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6, 88 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6, 92 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6, 96 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6, 100 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6, 104 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6, 108 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6, 112 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6, 116 .l3_type [all...] |
H A D | dr_ste_v0.c | 147 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV4, 151 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6, 163 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6, 167 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6, 171 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6, 175 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6, 179 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6, 183 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6, 187 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6, 191 .l3_type [all...] |
H A D | dr_ste_v1.c | 171 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV4, 175 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6, 187 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6, 191 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6, 195 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6, 199 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6, 203 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6, 207 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6, 211 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6, 215 .l3_type [all...] |
H A D | mlx5_ifc_dr_ste_v1.h | 211 u8 l3_type[0x2]; member 245 u8 l3_type[0x2]; member 280 u8 l3_type[0x2]; member 329 u8 l3_type[0x2]; member
|
H A D | mlx5_ifc_dr.h | 174 u8 l3_type[0x2]; member 207 u8 l3_type[0x2]; member 229 u8 l3_type[0x2]; member 286 u8 l3_type[0x2]; member
|
H A D | dr_action.c | 1894 u32 l3_type = 0; in dr_actions_convert_modify_header() local 1933 if (l3_type && hw_dst_action_info->l3_type && in dr_actions_convert_modify_header() 1934 hw_dst_action_info->l3_type != l3_type) { in dr_actions_convert_modify_header() 1938 if (hw_dst_action_info->l3_type) in dr_actions_convert_modify_header() 1939 l3_type = hw_dst_action_info->l3_type; in dr_actions_convert_modify_header()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_tx.c | 201 enum hinic_l3_offload_type *l3_type, in get_inner_l3_l4_type() 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() 378 l3_type = IPV6_PKT; in offload_csum() 387 l3_type = L3TYPE_UNKNOWN; in offload_csum() 391 hinic_task_set_outter_l3(task, l3_type, in offload_csum() 424 get_inner_l3_l4_type(skb, &ip, &l4, TX_OFFLOAD_CSUM, &l3_type, in offload_csum() 198 get_inner_l3_l4_type(struct sk_buff *skb, union hinic_l3 *ip, union hinic_l4 *l4, enum hinic_offload_type offload_type, enum hinic_l3_offload_type *l3_type, u8 *l4_proto) get_inner_l3_l4_type() argument [all...] |
H A D | hinic_hw_qp.h | 156 enum hinic_l3_offload_type l3_type, 160 enum hinic_l3_offload_type l3_type,
|
H A D | hinic_hw_qp.c | 515 enum hinic_l3_offload_type l3_type, in hinic_task_set_outter_l3() 518 task->pkt_info2 |= HINIC_SQ_TASK_INFO2_SET(l3_type, OUTER_L3TYPE) | in hinic_task_set_outter_l3() 523 enum hinic_l3_offload_type l3_type, in hinic_task_set_inner_l3() 526 task->pkt_info0 |= HINIC_SQ_TASK_INFO0_SET(l3_type, INNER_L3TYPE); in hinic_task_set_inner_l3() 514 hinic_task_set_outter_l3(struct hinic_sq_task *task, enum hinic_l3_offload_type l3_type, u32 network_len) hinic_task_set_outter_l3() argument 522 hinic_task_set_inner_l3(struct hinic_sq_task *task, enum hinic_l3_offload_type l3_type, u32 network_len) hinic_task_set_inner_l3() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_tx.c | 202 enum hinic_l3_offload_type *l3_type, in get_inner_l3_l4_type() 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() 199 get_inner_l3_l4_type(struct sk_buff *skb, union hinic_l3 *ip, union hinic_l4 *l4, enum hinic_offload_type offload_type, enum hinic_l3_offload_type *l3_type, u8 *l4_proto) get_inner_l3_l4_type() argument [all...] |
H A D | hinic_hw_qp.h | 156 enum hinic_l3_offload_type l3_type, 160 enum hinic_l3_offload_type l3_type,
|
H A D | hinic_hw_qp.c | 513 enum hinic_l3_offload_type l3_type, in hinic_task_set_outter_l3() 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() 524 task->pkt_info0 |= HINIC_SQ_TASK_INFO0_SET(l3_type, INNER_L3TYPE); in hinic_task_set_inner_l3() 512 hinic_task_set_outter_l3(struct hinic_sq_task *task, enum hinic_l3_offload_type l3_type, u32 network_len) hinic_task_set_outter_l3() argument 520 hinic_task_set_inner_l3(struct hinic_sq_task *task, enum hinic_l3_offload_type l3_type, u32 network_len) hinic_task_set_inner_l3() argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_action.c | 225 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 1684 u32 l3_type = MLX5DR_ACTION_MDFY_HW_HDR_L3_NONE; dr_actions_convert_modify_header() local [all...] |
H A D | mlx5_ifc_dr.h | 265 u8 l3_type[0x2]; member 298 u8 l3_type[0x2]; member 320 u8 l3_type[0x2]; member 377 u8 l3_type[0x2]; member
|
H A D | dr_ste.c | 797 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() 1069 MLX5_SET(ste_eth_l2_src_dst, tag, l3_type, STE_IPV4); in dr_ste_build_eth_l2_src_des_tag() 1072 MLX5_SET(ste_eth_l2_src_dst, tag, l3_type, STE_IPV6); in dr_ste_build_eth_l2_src_des_tag() 1266 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() 1319 MLX5_SET(ste_eth_l2_src, tag, l3_type, STE_IPV4); in dr_ste_build_eth_l2_src_or_dst_tag() 1322 MLX5_SET(ste_eth_l2_src, tag, l3_type, STE_IPV6); in dr_ste_build_eth_l2_src_or_dst_tag() 1450 DR_STE_SET_MASK(eth_l2_tnl, bit_mask, l3_type, mask, ip_version); in dr_ste_build_eth_l2_tnl_bit_mask() 1496 MLX5_SET(ste_eth_l2_tnl, tag, l3_type, STE_IPV4); in dr_ste_build_eth_l2_tnl_tag() 1499 MLX5_SET(ste_eth_l2_tnl, tag, l3_type, STE_IPV6); in dr_ste_build_eth_l2_tnl_tag()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/google/gve/ |
H A D | gve_rx_dqo.c | 471 if (ptype.l3_type == GVE_L3_TYPE_IPV4) { in gve_rx_skb_csum() 474 } else if (ptype.l3_type == GVE_L3_TYPE_IPV6) { in gve_rx_skb_csum() 503 else if (ptype.l3_type != GVE_L3_TYPE_UNKNOWN) in gve_rx_skb_hash() 707 switch (ptype.l3_type) { in gve_rx_complete_rsc()
|
H A D | gve_adminq.h | 373 u8 l3_type; member
|
H A D | gve_adminq.c | 1021 ptype_lut->ptypes[i].l3_type = in gve_adminq_get_ptype_map_dqo() 1022 ptype_map->ptypes[i].l3_type; in gve_adminq_get_ptype_map_dqo()
|
H A D | gve.h | 612 u8 l3_type; /* `gve_l3_type` in gve_adminq.h */ member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/thunder/ |
H A D | q_struct.h | 187 u64 l3_type:4; member 224 u64 l3_type:4;
|
/kernel/linux/linux-6.6/drivers/net/ethernet/cavium/thunder/ |
H A D | q_struct.h | 187 u64 l3_type:4; member 224 u64 l3_type:4;
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath12k/ |
H A D | rx_desc.h | 749 __le16 l3_type; member 844 * l3_type
|
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_enet.c | 3888 int l3_type, l4_type; in hns3_rx_handle_csum() local 3906 l3_type = hnae3_get_field(l234info, HNS3_RXD_L3ID_M, in hns3_rx_handle_csum() 3911 if ((l3_type == HNS3_L3_TYPE_IPV4 || in hns3_rx_handle_csum() 3912 l3_type == HNS3_L3_TYPE_IPV6) && in hns3_rx_handle_csum() 4152 u32 l3_type; in hns3_set_gro_and_checksum() local 4172 l3_type = hns3_rx_ptype_tbl[ptype].l3_type; in hns3_set_gro_and_checksum() 4174 l3_type = hnae3_get_field(l234info, HNS3_RXD_L3ID_M, in hns3_set_gro_and_checksum() 4178 if (l3_type == HNS3_L3_TYPE_IPV4) in hns3_set_gro_and_checksum() 4180 else if (l3_type in hns3_set_gro_and_checksum() 4202 int l3_type = hnae3_get_field(l234info, HNS3_RXD_L3ID_M, hns3_set_rx_skb_rss_type() local [all...] |
H A D | hns3_enet.h | 405 u32 l3_type : 4; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_enet.c | 2802 int l3_type, l4_type; in hns3_rx_checksum() local 2834 l3_type = hnae3_get_field(l234info, HNS3_RXD_L3ID_M, in hns3_rx_checksum() 2840 if ((l3_type == HNS3_L3_TYPE_IPV4 || in hns3_rx_checksum() 2841 l3_type == HNS3_L3_TYPE_IPV6) && in hns3_rx_checksum() 3036 u32 l3_type; in hns3_set_gro_and_checksum() local 3051 l3_type = hnae3_get_field(l234info, HNS3_RXD_L3ID_M, HNS3_RXD_L3ID_S); in hns3_set_gro_and_checksum() 3052 if (l3_type == HNS3_L3_TYPE_IPV4) in hns3_set_gro_and_checksum() 3054 else if (l3_type == HNS3_L3_TYPE_IPV6) in hns3_set_gro_and_checksum()
|