Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
A Ddr_ste_v2.h73 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV4,
77 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6,
89 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6,
93 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6,
97 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6,
101 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6,
105 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6,
109 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6,
113 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6,
117 .l3_type = DR_STE_ACTION_MDFY_TYPE_L3_IPV6,
[all …]
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 = DR_STE_ACTION_MDFY_TYPE_L3_IPV6,
[all …]
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 …]
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
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
A Ddr_action.c1922 u32 l3_type = 0; in dr_actions_convert_modify_header() local
1961 if (l3_type && hw_dst_action_info->l3_type && in dr_actions_convert_modify_header()
1962 hw_dst_action_info->l3_type != l3_type) { in dr_actions_convert_modify_header()
1966 if (hw_dst_action_info->l3_type) in dr_actions_convert_modify_header()
1967 l3_type = hw_dst_action_info->l3_type; in dr_actions_convert_modify_header()
A Ddr_types.h1012 u8 l3_type; member
/drivers/net/ethernet/huawei/hinic/
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 …]
A Dhinic_hw_qp.h156 enum hinic_l3_offload_type l3_type,
160 enum hinic_l3_offload_type l3_type,
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()
/drivers/net/ethernet/huawei/hinic3/
A Dhinic3_tx.c236 enum hinic3_l3_type *l3_type, u8 *l4_proto) in get_inner_l3_l4_type() argument
242 *l3_type = HINIC3_L3_IP4_PKT_CSUM; in get_inner_l3_l4_type()
245 *l3_type = HINIC3_L3_IP6_PKT; in get_inner_l3_l4_type()
253 *l3_type = HINIC3_L3_UNKNOWN; in get_inner_l3_l4_type()
291 enum hinic3_l3_type l3_type; in hinic3_tso() local
326 get_inner_l3_l4_type(skb, &ip, &l4, &l3_type, &l4_proto); in hinic3_tso()
/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
A Ddefiner.h291 u8 l3_type[0x2]; member
315 u8 l3_type[0x2]; member
392 u8 l3_type[0x2]; member
A Ddefiner.c888 HWS_CALC_HDR_DST(curr_fc, eth_l2_outer.l3_type); in hws_definer_conv_outer()
1069 HWS_CALC_HDR_DST(curr_fc, eth_l2_inner.l3_type); in hws_definer_conv_inner()
/drivers/net/ethernet/google/gve/
A Dgve_rx_dqo.c408 if (ptype.l3_type == GVE_L3_TYPE_IPV4) { in gve_rx_skb_csum()
411 } else if (ptype.l3_type == GVE_L3_TYPE_IPV6) { in gve_rx_skb_csum()
440 else if (ptype.l3_type != GVE_L3_TYPE_UNKNOWN) in gve_rx_skb_hash()
889 switch (ptype.l3_type) { in gve_rx_complete_rsc()
A Dgve_adminq.h474 u8 l3_type; member
A Dgve_adminq.c1305 ptype_lut->ptypes[i].l3_type = in gve_adminq_get_ptype_map_dqo()
1306 ptype_map->ptypes[i].l3_type; in gve_adminq_get_ptype_map_dqo()
A Dgve.h696 u8 l3_type; /* `gve_l3_type` in gve_adminq.h */ member
/drivers/net/ethernet/cavium/thunder/
A Dq_struct.h187 u64 l3_type:4; member
224 u64 l3_type:4;
/drivers/net/ethernet/meta/fbnic/
A Dfbnic_txrx.c188 unsigned int l3_type, l4_type, l4len, hdrlen; in fbnic_tx_lso() local
196 l3_type = FBNIC_TWD_L3_TYPE_OTHER; in fbnic_tx_lso()
199 l3_type = FBNIC_TWD_L3_TYPE_IPV4; in fbnic_tx_lso()
201 l3_type = FBNIC_TWD_L3_TYPE_IPV6; in fbnic_tx_lso()
209 l3_type = FBNIC_TWD_L3_TYPE_V6V6; in fbnic_tx_lso()
230 *meta |= cpu_to_le64(FIELD_PREP(FBNIC_TWD_L3_TYPE_MASK, l3_type) | in fbnic_tx_lso()
/drivers/net/ethernet/hisilicon/hns3/
A Dhns3_enet.c3897 int l3_type, l4_type; in hns3_rx_handle_csum() local
3915 l3_type = hnae3_get_field(l234info, HNS3_RXD_L3ID_M, in hns3_rx_handle_csum()
3920 if ((l3_type == HNS3_L3_TYPE_IPV4 || in hns3_rx_handle_csum()
3921 l3_type == HNS3_L3_TYPE_IPV6) && in hns3_rx_handle_csum()
4161 u32 l3_type; in hns3_set_gro_and_checksum() local
4181 l3_type = hns3_rx_ptype_tbl[ptype].l3_type; in hns3_set_gro_and_checksum()
4183 l3_type = hnae3_get_field(l234info, HNS3_RXD_L3ID_M, in hns3_set_gro_and_checksum()
4187 if (l3_type == HNS3_L3_TYPE_IPV4) in hns3_set_gro_and_checksum()
4189 else if (l3_type == HNS3_L3_TYPE_IPV6) in hns3_set_gro_and_checksum()
4216 if (l3_type == HNS3_L3_TYPE_IPV4 || in hns3_set_rx_skb_rss_type()
[all …]
A Dhns3_enet.h407 u32 l3_type : 4; member
/drivers/net/wireless/ath/ath12k/
A Drx_desc.h811 __le16 l3_type; member
/drivers/infiniband/hw/mlx5/
A Dmain.c3174 u8 l3_type_cap = MLX5_CAP_ROCE(dev->mdev, l3_type); in get_core_cap_flags()

Completed in 118 milliseconds