| /linux/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() 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 …]
|
| 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() 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()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/ |
| H A D | dr_ste_v1.c | 41 .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 …]
|
| H A D | dr_action.c | 1922 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()
|
| H A D | dr_types.h | 1012 u8 l3_type; member
|
| /linux/drivers/net/ethernet/huawei/hinic3/ |
| H A D | hinic3_tx.c | 276 enum hinic3_l3_type *l3_type, u8 *l4_proto) in get_inner_l3_l4_type() argument 282 *l3_type = HINIC3_L3_IP4_PKT_CSUM; in get_inner_l3_l4_type() 285 *l3_type = HINIC3_L3_IP6_PKT; in get_inner_l3_l4_type() 293 *l3_type = HINIC3_L3_UNKNOWN; in get_inner_l3_l4_type() 333 enum hinic3_l3_type l3_type; in hinic3_tso() local 370 get_inner_l3_l4_type(skb, &ip, &l4, &l3_type, &l4_proto); in hinic3_tso()
|
| /linux/drivers/net/ethernet/cavium/thunder/ |
| H A D | q_struct.h | 187 u64 l3_type:4; member 224 u64 l3_type:4;
|
| /linux/drivers/net/ethernet/hisilicon/hns3/ |
| H A D | hns3_enet.c | 3936 int l3_type, l4_type; in hns3_rx_handle_csum() local 3954 l3_type = hnae3_get_field(l234info, HNS3_RXD_L3ID_M, in hns3_rx_handle_csum() 3959 if ((l3_type == HNS3_L3_TYPE_IPV4 || in hns3_rx_handle_csum() 3960 l3_type == HNS3_L3_TYPE_IPV6) && in hns3_rx_handle_csum() 4200 u32 l3_type; in hns3_set_gro_and_checksum() local 4220 l3_type = hns3_rx_ptype_tbl[ptype].l3_type; in hns3_set_gro_and_checksum() 4222 l3_type = hnae3_get_field(l234info, HNS3_RXD_L3ID_M, in hns3_set_gro_and_checksum() 4226 if (l3_type == HNS3_L3_TYPE_IPV4) in hns3_set_gro_and_checksum() 4228 else if (l3_type == HNS3_L3_TYPE_IPV6) in hns3_set_gro_and_checksum() 4250 int l3_type = hnae3_get_field(l234info, HNS3_RXD_L3ID_M, in hns3_set_rx_skb_rss_type() local [all …]
|
| H A D | hns3_enet.h | 407 u32 l3_type : 4; member
|
| /linux/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_txrx.c | 200 unsigned int l3_type, l4_type, l4len, hdrlen; in fbnic_tx_lso() local 208 l3_type = FBNIC_TWD_L3_TYPE_OTHER; in fbnic_tx_lso() 211 l3_type = FBNIC_TWD_L3_TYPE_IPV4; in fbnic_tx_lso() 213 l3_type = FBNIC_TWD_L3_TYPE_IPV6; in fbnic_tx_lso() 221 l3_type = FBNIC_TWD_L3_TYPE_V6V6; in fbnic_tx_lso() 242 *meta |= cpu_to_le64(FIELD_PREP(FBNIC_TWD_L3_TYPE_MASK, l3_type) | in fbnic_tx_lso()
|
| /linux/drivers/net/ethernet/google/gve/ |
| H A D | gve_adminq.h | 474 u8 l3_type; member
|
| /linux/include/linux/qed/ |
| H A D | common_hsi.h | 1058 enum l3_type { enum
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| H A D | definer.c | 888 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()
|