Home
last modified time | relevance | path

Searched refs:hns3_err (Results 1 – 14 of 14) sorted by relevance

/f-stack/dpdk/drivers/net/hns3/
H A Dhns3_dcb.c52 hns3_err(hw, in hns3_shaper_para_calc()
441 hns3_err(hw, in hns3_dcb_pg_shaper_cfg()
457 hns3_err(hw, in hns3_dcb_pg_shaper_cfg()
559 hns3_err(hw, in hns3_dcb_pri_tc_base_shaper_cfg()
575 hns3_err(hw, in hns3_dcb_pri_tc_base_shaper_cfg()
835 hns3_err(hw, in hns3_dcb_pri_tc_base_dwrr_cfg()
918 hns3_err(hw, "config pg_dwrr failed: %d", ret); in hns3_dcb_dwrr_cfg()
1031 hns3_err(hw, "nq_to_qs mapping fail: %d", ret); in hns3_pri_q_qs_cfg()
1595 hns3_err(hw, "PAUSE setup failed: %d", ret); in hns3_dcb_init_hw()
1639 hns3_err(hw, in hns3_dcb_init()
[all …]
H A Dhns3_regs.c90 hns3_err(hw, "Query register number cmd failed, ret = %d", in hns3_get_regs_num()
125 hns3_err(hw, "Get register number failed, ret = %d.", in hns3_get_regs_length()
157 hns3_err(hw, "Failed to allocate %zx bytes needed to " in hns3_get_32_bit_regs()
166 hns3_err(hw, "Query 32 bit register cmd failed, ret = %d", in hns3_get_32_bit_regs()
214 hns3_err(hw, "Failed to allocate %zx bytes needed to " in hns3_get_64_bit_regs()
223 hns3_err(hw, "Query 64 bit register cmd failed, ret = %d", in hns3_get_64_bit_regs()
317 hns3_err(hw, "the input parameter regs is NULL!"); in hns3_get_regs()
344 hns3_err(hw, "Get register number failed, ret = %d", ret); in hns3_get_regs()
351 hns3_err(hw, "Get 32 bit register failed, ret = %d", ret); in hns3_get_regs()
358 hns3_err(hw, "Get 64 bit register failed, ret = %d", ret); in hns3_get_regs()
H A Dhns3_ethdev.c253 hns3_err(hw, "Received unknown event"); in hns3_interrupt_handler()
325 hns3_err(hw, "Failed to malloc hns3 vlan table"); in hns3_add_dev_vlan_table()
835 hns3_err(hw, "failed to remove old pvid %u, " in hns3_update_vlan_filter_entries()
948 hns3_err(hw, "Invalid vlan_id = %u > %d", pvid, in hns3_vlan_pvid_set()
1825 hns3_err(hw, "mc mac vlan table is full"); in hns3_add_mc_addr()
1904 hns3_err(hw, in hns3_set_mc_addr_chk_param()
1916 hns3_err(hw, "failed to set mc mac addr, " in hns3_set_mc_addr_chk_param()
1933 hns3_err(hw, "failed to set mc mac addr, " in hns3_set_mc_addr_chk_param()
2152 hns3_err(hw, "on ETH_MQ_RX_DCB_RSS mode, " in hns3_check_mq_mode()
4298 hns3_err(hw, "get sfp speed failed %d", ret); in hns3_get_sfp_speed()
[all …]
H A Dhns3_ethdev_vf.c215 hns3_err(hw, "failed to add mc mac addr, same addrs" in hns3vf_add_mc_addr_common()
371 hns3_err(hw, "failed to %s mac addr(%s) index:%d " in hns3vf_configure_mac_addr()
444 hns3_err(hw, in hns3vf_set_mc_addr_chk_param()
456 hns3_err(hw, "failed to set mc mac addr, " in hns3vf_set_mc_addr_chk_param()
473 hns3_err(hw, "failed to set mc mac addr, " in hns3vf_set_mc_addr_chk_param()
1475 hns3_err(hw, in hns3vf_vlan_filter_set()
1566 hns3_err(hw, in hns3vf_handle_all_vlan_table()
2114 hns3_err(hw, "Failed to allocate %u rx_queues" in hns3vf_map_rx_interrupt()
2628 hns3_err(hw, "Failed to init cmd: %d", ret); in hns3vf_reinit_dev()
2640 hns3_err(hw, "Failed to enable msix"); in hns3vf_reinit_dev()
[all …]
H A Dhns3_mbx.c77 hns3_err(hw, "VF mbx response len(=%u) exceeds maximum(=%d)", in hns3_get_mbx_resp()
87 hns3_err(hw, "Don't wait for mbx respone because of " in hns3_get_mbx_resp()
94 hns3_err(hw, "Don't wait for mbx respone because of " in hns3_get_mbx_resp()
115 hns3_err(hw, in hns3_get_mbx_resp()
148 hns3_err(hw, in hns3_send_mbx_msg()
175 hns3_err(hw, "VF failed(=%d) to send mbx message to PF", in hns3_send_mbx_msg()
186 hns3_err(hw, "VF failed(=%d) to send mbx message to PF", in hns3_send_mbx_msg()
240 hns3_err(hw, "Fetched unsupported(%u) message from arq", in hns3_mbx_handler()
430 hns3_err(hw, in hns3_dev_handle_mbx_msg()
H A Dhns3_stats.c439 hns3_err(hw, "Query mac reg num fail : %d", ret); in hns3_query_update_mac_stats()
460 hns3_err(hw, "Failed to query RX No.%u queue stat: %d", in hns3_update_tqp_stats()
474 hns3_err(hw, "Failed to query TX No.%u queue stat: %d", in hns3_update_tqp_stats()
513 hns3_err(hw, "Update tqp stats fail : %d", ret); in hns3_stats_get()
625 hns3_err(hw, "Clear Mac stats fail : %d", ret); in hns3_mac_stats_reset()
743 hns3_err(hw, "Update Mac stats fail : %d", ret); in hns3_dev_xstats_get()
942 hns3_err(hw, "Update tqp stats fail : %d", ret); in hns3_dev_xstats_get_by_id()
962 hns3_err(hw, "ids[%u] (%" PRIx64 ") is invalid, " in hns3_dev_xstats_get_by_id()
1023 hns3_err(hw, "ids[%u] (%" PRIx64 ") is invalid, " in hns3_dev_xstats_get_names_by_id()
1073 hns3_err(hw, "failed to allocate rx_ring pkt_num."); in hns3_tqp_stats_init()
[all …]
H A Dhns3_rss.c235 hns3_err(hw, "Configure RSS algo key failed %d", ret); in hns3_set_rss_algo_key()
306 hns3_err(hw, in hns3_set_rss_indir_table()
329 hns3_err(hw, "No hns3_rss_lut memory can be allocated"); in hns3_rss_reset_indir_table()
335 hns3_err(hw, "RSS uninit indir table failed: %d", ret); in hns3_rss_reset_indir_table()
384 hns3_err(hw, "Update RSS flow types tuples failed %d", ret); in hns3_set_rss_tuple_by_rss_hf()
441 hns3_err(hw, "The hash key len(%u) is invalid", in hns3_dev_rss_hash_update()
514 hns3_err(hw, "The size of hash lookup table configured (%u)" in hns3_dev_rss_reta_update()
527 hns3_err(hw, "queue id(%u) set to redirection table " in hns3_dev_rss_reta_update()
568 hns3_err(hw, "The size of hash lookup table configured (%u)" in hns3_dev_rss_reta_query()
628 hns3_err(hw, "Sets rss tc mode failed %d", ret); in hns3_set_rss_tc_mode()
[all …]
H A Dhns3_fdir.c237 hns3_err(hw, "Get fd mode fail, ret=%d", ret); in hns3_get_fd_mode()
262 hns3_err(hw, "Query fd allocation fail, ret=%d", ret); in hns3_get_fd_allocation()
298 hns3_err(hw, "Set fd key fail, ret=%d", ret); in hns3_set_fd_key_config()
323 hns3_err(hw, "Unsupported flow director mode %u", in hns3_init_fd_config()
747 hns3_err(hw, "Config fd key_y fail, loc=%u, ret=%d", in hns3_config_key()
754 hns3_err(hw, "Config fd key_x fail, loc=%u, ret=%d", in hns3_config_key()
916 hns3_err(hw, "Hash table full? err:%d(%s)!", ret, in hns3_insert_fdir_filter()
941 hns3_err(hw, "Delete hash key fail ret=%d", ret); in hns3_remove_fdir_filter()
968 hns3_err(hw, "Failed to delete fdir: %u src_ip:%x " in hns3_fdir_filter_program()
990 hns3_err(hw, "Failed to allocate fdir_rule memory"); in hns3_fdir_filter_program()
[all …]
H A Dhns3_intr.c1175 hns3_err(hw, "fail to %s PPP error int, ret = %d", in config_ppp_err_intr()
1292 hns3_err(hw, in config_ppu_err_intrs()
1316 hns3_err(hw, "fail to %s PPU MPF other intr, ret = %d", in enable_ppu_err_intr()
1342 hns3_err(hw, "fail to %s TM SCH interrupts, ret = %d", in enable_tm_err_intr()
1361 hns3_err(hw, "fail to %s TM QCN mem errors, ret = %d\n", in enable_tm_err_intr()
1424 hns3_err(hw, "fail to %s MAC COMMON error intr: %d", in enable_mac_err_intr()
1539 hns3_err(hw, "error bd num: mpf(%u), min_mpf(%u), " in query_num_bds()
1616 hns3_err(hw, "error hardware err_type = %d\n", err_type); in hns3_handle_hw_error()
1677 hns3_err(hw, in hns3_handle_msix_error()
1729 hns3_err(hw, in hns3_handle_ras_error()
[all …]
H A Dhns3_rxtx.c575 hns3_err(hw, "TQP enable fail, ret = %d", ret); in hns3_tqp_enable()
819 hns3_err(hw, "reset queue timeout, queue_id = %u, " in hns3_reset_queue()
1129 hns3_err(hw, "failed to reset all queues, ret = %d.", in hns3_init_queues()
1645 hns3_err(hw, "if Rx burst mode is vector, " in hns3_rxq_conf_runtime_check()
1685 hns3_err(hw, "Rx queue runtime setup fail."); in hns3_rx_queue_conf_check()
1739 hns3_err(hw, in hns3_rx_queue_setup()
2567 hns3_err(hw, in hns3_tx_queue_setup()
2688 hns3_err(hw, "%s hardware GRO failed, ret = %d", in hns3_config_gro()
3806 hns3_err(hw, "fail to reset Rx queue %u, ret = %d.", in hns3_dev_rx_queue_start()
3813 hns3_err(hw, "fail to init Rx queue %u, ret = %d.", in hns3_dev_rx_queue_start()
[all …]
H A Dhns3_mp.c136 hns3_err(hw, "port %u unknown request (req_type %d)", in mp_req_on_rxtx()
145 hns3_err(hw, "port %u failed to request stop/start Rx/Tx (%d)", in mp_req_on_rxtx()
159 hns3_err(hw, "port %u request failed on secondary #%d", in mp_req_on_rxtx()
H A Dhns3_cmd.c90 hns3_err(hw, "allocate dma mem failed"); in hns3_alloc_cmd_desc()
116 hns3_err(hw, "descriptor %s alloc error %d", in hns3_alloc_cmd_queue()
202 hns3_err(hw, "wrong cmd head (%u, %u-%u)", head, in hns3_cmd_csq_clean()
317 hns3_err(hw, in hns3_cmd_poll_reply()
323 hns3_err(hw, "Don't wait for reply because of reset pending"); in hns3_cmd_poll_reply()
330 hns3_err(hw, "Wait for reply timeout"); in hns3_cmd_poll_reply()
H A Dhns3_logs.h19 #define hns3_err(hw, fmt, args...) \ macro
H A Dhns3_flow.c231 hns3_err(hw, "Can't find available counter to release"); in hns3_counter_release()
269 hns3_err(hw, "queue ID(%u) is greater than number of " in hns3_handle_action_queue()
1472 hns3_err(hw, "Invalid RSS algorithm configuration(%u)", in hns3_parse_rss_algorithm()
1505 hns3_err(hw, "Update RSS tuples by rss hf failed %d", ret); in hns3_hw_rss_hash_set()
1526 hns3_err(hw, "queue id(%u) set to redirection table " in hns3_update_indir_table()
1579 hns3_err(hw, "RSS disable failed(%d)", ret); in hns3_config_rss_filter()
1618 hns3_err(hw, "RSS config init fail(%d)", ret); in hns3_config_rss_filter()
1693 hns3_err(hw, "Enter duplicate RSS configuration : %d", ret); in hns3_flow_parse_rss()
1807 hns3_err(hw, in hns3_flow_create()
1842 hns3_err(hw, "Failed to allocate fdir_rule memory"); in hns3_flow_create()
[all …]