Home
last modified time | relevance | path

Searched refs:l3_type (Results 1 - 25 of 32) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_ste_v2.c72 .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 Ddr_ste_v0.c147 .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 Ddr_ste_v1.c171 .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 Dmlx5_ifc_dr_ste_v1.h211 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 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
H A Ddr_action.c1894 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 Dhinic_tx.c201 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 Dhinic_hw_qp.h156 enum hinic_l3_offload_type l3_type,
160 enum hinic_l3_offload_type l3_type,
H A Dhinic_hw_qp.c515 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 Dhinic_tx.c202 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 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()
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 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
1684 u32 l3_type = MLX5DR_ACTION_MDFY_HW_HDR_L3_NONE; dr_actions_convert_modify_header() local
[all...]
H A Dmlx5_ifc_dr.h265 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 Ddr_ste.c797 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 Dgve_rx_dqo.c471 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 Dgve_adminq.h373 u8 l3_type; member
H A Dgve_adminq.c1021 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 Dgve.h612 u8 l3_type; /* `gve_l3_type` in gve_adminq.h */ member
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/thunder/
H A Dq_struct.h187 u64 l3_type:4; member
224 u64 l3_type:4;
/kernel/linux/linux-6.6/drivers/net/ethernet/cavium/thunder/
H A Dq_struct.h187 u64 l3_type:4; member
224 u64 l3_type:4;
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath12k/
H A Drx_desc.h749 __le16 l3_type; member
844 * l3_type
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.c3888 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 Dhns3_enet.h405 u32 l3_type : 4; member
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.c2802 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()

Completed in 52 milliseconds

12