Home
last modified time | relevance | path

Searched refs:hns3_get_field (Results 1 – 9 of 9) sorted by relevance

/dpdk/drivers/net/hns3/
H A Dhns3_rxtx.h643 ptype = hns3_get_field(ol_info, HNS3_RXD_PTYPE_M, in hns3_rx_calc_ptype()
648 ol4id = hns3_get_field(ol_info, HNS3_RXD_OL4ID_M, HNS3_RXD_OL4ID_S); in hns3_rx_calc_ptype()
649 ol3id = hns3_get_field(ol_info, HNS3_RXD_OL3ID_M, HNS3_RXD_OL3ID_S); in hns3_rx_calc_ptype()
650 l3id = hns3_get_field(l234_info, HNS3_RXD_L3ID_M, HNS3_RXD_L3ID_S); in hns3_rx_calc_ptype()
651 l4id = hns3_get_field(l234_info, HNS3_RXD_L4ID_M, HNS3_RXD_L4ID_S); in hns3_rx_calc_ptype()
H A Dhns3_cmd.c722 hns3_get_field(version, HNS3_FW_VERSION_BYTE3_M, in hns3_cmd_init()
724 hns3_get_field(version, HNS3_FW_VERSION_BYTE2_M, in hns3_cmd_init()
726 hns3_get_field(version, HNS3_FW_VERSION_BYTE1_M, in hns3_cmd_init()
728 hns3_get_field(version, HNS3_FW_VERSION_BYTE0_M, in hns3_cmd_init()
H A Dhns3_common.c25 hns3_get_field(version, HNS3_FW_VERSION_BYTE3_M, in hns3_fw_version_get()
27 hns3_get_field(version, HNS3_FW_VERSION_BYTE2_M, in hns3_fw_version_get()
29 hns3_get_field(version, HNS3_FW_VERSION_BYTE1_M, in hns3_fw_version_get()
31 hns3_get_field(version, HNS3_FW_VERSION_BYTE0_M, in hns3_fw_version_get()
H A Dhns3_dcb.c919 hns3_get_field(version, HNS3_FW_VERSION_BYTE3_M, in hns3_dcb_pri_dwrr_cfg()
921 hns3_get_field(version, HNS3_FW_VERSION_BYTE2_M, in hns3_dcb_pri_dwrr_cfg()
923 hns3_get_field(version, HNS3_FW_VERSION_BYTE1_M, in hns3_dcb_pri_dwrr_cfg()
925 hns3_get_field(version, HNS3_FW_VERSION_BYTE0_M, in hns3_dcb_pri_dwrr_cfg()
1018 qs_id_l = hns3_get_field(qs_id, HNS3_DCB_QS_ID_L_MSK, in hns3_q_to_qs_map_cfg()
1020 qs_id_h = hns3_get_field(qs_id, HNS3_DCB_QS_ID_H_MSK, in hns3_q_to_qs_map_cfg()
1313 grp = hns3_get_field(tc, HNS3_BP_GRP_ID_M, HNS3_BP_GRP_ID_S); in hns3_bp_setup_hw()
1314 sub_grp = hns3_get_field(tc, HNS3_BP_SUB_GRP_ID_M, in hns3_bp_setup_hw()
H A Dhns3_dcb.h189 hns3_get_field((src), (HNS3_DCB_SHAP_##string##_MSK), \
H A Dhns3_ethdev.h926 #define hns3_get_field(origin, mask, shift) \ macro
931 hns3_get_field((origin), (0x1UL << (shift)), (shift))
H A Dhns3_ethdev.c1885 req->int_vector_id = hns3_get_field(vector_id, HNS3_TQP_INT_ID_L_M, in hns3_bind_ring_with_vector()
2502 hns3_get_field(rte_le_to_cpu_16(req->nic_pf_intr_vector_number), in hns3_query_pf_resource()
2520 cfg->tc_num = hns3_get_field(rte_le_to_cpu_32(req->param[0]), in hns3_parse_cfg()
2523 cfg->phy_addr = hns3_get_field(rte_le_to_cpu_32(req->param[1]), in hns3_parse_cfg()
2526 cfg->media_type = hns3_get_field(rte_le_to_cpu_32(req->param[1]), in hns3_parse_cfg()
2531 mac_addr_tmp_high = hns3_get_field(rte_le_to_cpu_32(req->param[3]), in hns3_parse_cfg()
2537 cfg->default_speed = hns3_get_field(rte_le_to_cpu_32(req->param[3]), in hns3_parse_cfg()
2540 cfg->rss_size_max = hns3_get_field(rte_le_to_cpu_32(req->param[3]), in hns3_parse_cfg()
2550 cfg->speed_ability = hns3_get_field(rte_le_to_cpu_32(req->param[1]), in hns3_parse_cfg()
2553 cfg->umv_space = hns3_get_field(rte_le_to_cpu_32(req->param[1]), in hns3_parse_cfg()
[all …]
H A Dhns3_ethdev_vf.c1390 num_msi = hns3_get_field(rte_le_to_cpu_16(req->vf_intr_vector_number), in hns3_query_vf_resource()
H A Dhns3_rxtx.c2327 strip_status = hns3_get_field(l234_info, HNS3_RXD_STRP_TAGP_M, in hns3_rxd_to_vlan_tci()
2705 gro_size = hns3_get_field(bd_base_info, HNS3_RXD_GRO_SIZE_M, in hns3_recv_scattered_pkts()