Home
last modified time | relevance | path

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

/dpdk/drivers/net/hns3/
H A Dhns3_dcb.c52 hns3_err(hw, in hns3_shaper_para_calc()
577 hns3_err(hw, in hns3_pri_shaper_rate_cfg()
593 hns3_err(hw, in hns3_pri_shaper_rate_cfg()
879 hns3_err(hw, in hns3_dcb_pri_tc_base_dwrr_cfg()
962 hns3_err(hw, "config pg_dwrr failed: %d", ret); in hns3_dcb_dwrr_cfg()
968 hns3_err(hw, "config pri_dwrr failed: %d", ret); in hns3_dcb_dwrr_cfg()
1075 hns3_err(hw, "nq_to_qs mapping fail: %d", ret); in hns3_pri_q_qs_cfg()
1087 hns3_err(hw, "up_to_tc mapping fail: %d", ret); in hns3_dcb_map_cfg()
1093 hns3_err(hw, "pri_to_pg mapping fail: %d", ret); in hns3_dcb_map_cfg()
1611 hns3_err(hw, "PAUSE setup failed: %d", ret); in hns3_dcb_init_hw()
[all …]
H A Dhns3_ethdev.c395 hns3_err(hw, "Failed to malloc hns3 vlan table"); in hns3_add_dev_vlan_table()
724 hns3_err(hw, "failed to %s rx strip, ret = %d", in hns3_vlan_offload_set()
893 hns3_err(hw, "failed to remove old pvid %u, " in hns3_update_vlan_filter_entries()
1022 hns3_err(hw, "Invalid vlan_id = %u > %d", pvid, in hns3_vlan_pvid_set()
1747 hns3_err(hw, "mc mac vlan table is full"); in hns3_add_mc_mac_addr()
1836 hns3_err(hw, "on RTE_ETH_MQ_RX_DCB_RSS mode, " in hns3_check_mq_mode()
1933 hns3_err(hw, "failed to config dcb: %d", ret); in hns3_setup_dcb()
5432 hns3_err(hw, "Invalid pause time %u setting.", in hns3_flow_ctrl_set()
5483 hns3_err(hw, "Invalid pause time %u setting.", in hns3_priority_flow_ctrl_set()
5542 hns3_err(hw, "Failed to init cmd: %d", ret); in hns3_reinit_dev()
[all …]
H A Dhns3_ethdev_vf.c343 hns3_err(hw, "Set promisc mode fail, ret = %d", ret); in hns3vf_set_promisc_mode()
560 hns3_err(hw, "Failed to set mtu during resetting"); in hns3vf_dev_mtu_set()
578 hns3_err(hw, "failed to set mtu because current is " in hns3vf_dev_mtu_set()
1110 hns3_err(hw, in hns3vf_vlan_filter_set()
1139 hns3_err(hw, "%s vlan filter failed, ret = %d.", in hns3vf_en_vlan_filter()
1155 hns3_err(hw, "vf %s strip failed, ret = %d.", in hns3vf_en_hw_strip_rxvtag()
1235 hns3_err(hw, in hns3vf_handle_all_vlan_table()
2182 hns3_err(hw, "%d handle long time delta %" PRIu64 in hns3vf_reset_service()
2208 hns3_err(hw, "Failed to init cmd: %d", ret); in hns3vf_reinit_dev()
2220 hns3_err(hw, "Failed to enable msix"); in hns3vf_reinit_dev()
[all …]
H A Dhns3_regs.c107 hns3_err(hw, "Query register number cmd failed, ret = %d", in hns3_get_regs_num()
143 hns3_err(hw, "fail to get the number of registers, " in hns3_get_regs_length()
154 hns3_err(hw, "fail to get the number of dfx registers, " in hns3_get_regs_length()
185 hns3_err(hw, "Failed to allocate %zx bytes needed to " in hns3_get_32_bit_regs()
194 hns3_err(hw, "Query 32 bit register cmd failed, ret = %d", in hns3_get_32_bit_regs()
242 hns3_err(hw, "Failed to allocate %zx bytes needed to " in hns3_get_64_bit_regs()
251 hns3_err(hw, "Query 64 bit register cmd failed, ret = %d", in hns3_get_64_bit_regs()
357 hns3_err(hw, "fail to get dfx bd num, ret = %d.\n", ret); in hns3_get_dfx_reg_bd_num()
512 hns3_err(hw, "Get register number failed, ret = %d", ret); in hns3_get_regs()
519 hns3_err(hw, "Get 32 bit register failed, ret = %d", ret); in hns3_get_regs()
[all …]
H A Dhns3_intr.c1729 hns3_err(hw, in config_ppu_err_intrs()
2110 hns3_err(hw, in hns3_handle_msix_error()
2162 hns3_err(hw, in hns3_handle_ras_error()
2208 hns3_err(hw, "total_module:%u, total_type:%u", in hns3_handle_type_reg_error_data()
2212 hns3_err(hw, "found %s %s, is %s error.", in hns3_handle_type_reg_error_data()
2220 hns3_err(hw, "reg_value:"); in hns3_handle_type_reg_error_data()
2222 hns3_err(hw, "0x%08x", err_info->reg[i]); in hns3_handle_type_reg_error_data()
2243 hns3_err(hw, "reset_type = %s, mod_num = %u.", in hns3_handle_module_error_data()
2256 hns3_err(hw, in hns3_handle_module_error_data()
2289 hns3_err(hw, "the value of bd_num is 0!"); in hns3_query_all_err_bd_num()
[all …]
H A Dhns3_mbx.c49 hns3_err(hw, in hns3_mbx_proc_timeout()
57 hns3_err(hw, "VF could not get mbx(%u,%u) from PF", code, subcode); in hns3_mbx_proc_timeout()
73 hns3_err(hw, "VF mbx response len(=%u) exceeds maximum(=%d)", in hns3_get_mbx_resp()
81 hns3_err(hw, "Don't wait for mbx response because of " in hns3_get_mbx_resp()
88 hns3_err(hw, "Don't wait for mbx response because of " in hns3_get_mbx_resp()
162 hns3_err(hw, in hns3_send_mbx_msg()
190 hns3_err(hw, "VF failed(=%d) to send mbx message to PF", in hns3_send_mbx_msg()
201 hns3_err(hw, "VF failed(=%d) to send mbx message to PF", in hns3_send_mbx_msg()
547 hns3_err(hw, "received unsupported(%u) mbx msg", in hns3_dev_handle_mbx_msg()
H A Dhns3_rss.c231 hns3_err(hw, "Configure RSS algo key failed %d", ret); in hns3_rss_set_algo_key()
277 hns3_err(hw, in hns3_set_rss_indir_table()
300 hns3_err(hw, "No hns3_rss_lut memory can be allocated"); in hns3_rss_reset_indir_table()
306 hns3_err(hw, "RSS uninit indir table failed: %d", ret); in hns3_rss_reset_indir_table()
354 hns3_err(hw, "Update RSS flow types tuples failed %d", ret); in hns3_set_rss_tuple_by_rss_hf()
385 hns3_err(hw, "the hash key len(%u) is invalid, must be %u", in hns3_dev_rss_hash_update()
466 hns3_err(hw, "The size of hash lookup table configured (%u)" in hns3_dev_rss_reta_update()
479 hns3_err(hw, "queue id(%u) set to redirection table " in hns3_dev_rss_reta_update()
520 hns3_err(hw, "The size of hash lookup table configured (%u)" in hns3_dev_rss_reta_query()
606 hns3_err(hw, "Sets rss tc mode failed %d", ret); in hns3_set_rss_tc_mode()
[all …]
H A Dhns3_stats.c328 hns3_err(hw, "Mac_update_stats alloced desc malloc fail"); in hns3_update_mac_stats()
375 hns3_err(hw, "MAC statistic reg number is invalid!"); in hns3_mac_query_reg_num()
439 hns3_err(hw, "failed to query RPU stats: %d", ret); in hns3_update_port_rpu_drop_stats()
670 hns3_err(hw, "update oerror stats failed, ret = %d", ret); in hns3_stats_get()
716 hns3_err(hw, "clear oerror stats failed, ret = %d", ret); in hns3_stats_reset()
778 hns3_err(hw, "Clear Mac stats fail : %d", ret); in hns3_mac_stats_reset()
1071 hns3_err(hw, "Update Mac stats fail : %d", ret); in hns3_dev_xstats_get()
1361 hns3_err(hw, "ids[%u] (%" PRIu64 ") is invalid, " in hns3_dev_xstats_get_by_id()
1430 hns3_err(hw, "ids[%u] (%" PRIu64 ") is invalid, " in hns3_dev_xstats_get_names_by_id()
1505 hns3_err(hw, "failed to allocate rx_ring pkt_num."); in hns3_tqp_stats_init()
[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()
760 hns3_err(hw, "Config fd key_y fail, loc=%u, ret=%d", in hns3_config_key()
767 hns3_err(hw, "Config fd key_x fail, loc=%u, ret=%d", in hns3_config_key()
922 hns3_err(hw, "Hash table full? err:%d!", ret); in hns3_insert_fdir_filter()
943 hns3_err(hw, "Delete hash key fail ret=%d", ret); in hns3_remove_fdir_filter()
969 hns3_err(hw, "Failed to delete fdir: %u src_ip:%x " in hns3_fdir_filter_program()
991 hns3_err(hw, "Failed to allocate fdir_rule memory"); in hns3_fdir_filter_program()
[all …]
H A Dhns3_common.c338 hns3_err(hw, "failed to set mc mac addr, nb_mc_addr(%u) " in hns3_set_mc_addr_chk_param()
350 hns3_err(hw, in hns3_set_mc_addr_chk_param()
362 hns3_err(hw, "failed to set mc mac addr, " in hns3_set_mc_addr_chk_param()
381 hns3_err(hw, "failed to set mc mac addr, " in hns3_set_mc_addr_chk_param()
496 hns3_err(hw, "failed to %s mac addr(%s) index:%d ret = %d.", in hns3_configure_all_mac_addr()
517 hns3_err(hw, "failed to add mc mac addr, same addrs" in hns3_find_duplicate_mc_addr()
559 hns3_err(hw, "failed to add mac addr(%s), ret = %d", mac_str, in hns3_add_mac_addr()
585 hns3_err(hw, "failed to remove mac addr(%s), ret = %d", mac_str, in hns3_remove_mac_addr()
606 hns3_err(hw, "failed to allocate %zx bytes needed to store MAC addresses", in hns3_init_mac_addrs()
730 hns3_err(hw, "failed to allocate %u rx_queues intr_vec", in hns3_map_rx_interrupt()
[all …]
H A Dhns3_rxtx.c587 hns3_err(hw, "TQP enable fail, ret = %d", ret); in hns3_tqp_enable()
650 hns3_err(hw, "Send reset tqp cmd fail, ret = %d", ret); in hns3pf_reset_tqp()
752 hns3_err(hw, in hns3pf_reset_all_tqps()
812 hns3_err(hw, in hns3_reset_all_tqps()
921 hns3_err(hw, "reset queue timeout, queue_id = %u, " in hns3_reset_queue()
1762 hns3_err(hw, "if Rx burst mode is vector, " in hns3_rxq_conf_runtime_check()
1802 hns3_err(hw, "Rx queue runtime setup fail."); in hns3_rx_queue_conf_check()
1856 hns3_err(hw, in hns3_rx_queue_setup()
2999 hns3_err(hw, in hns3_tx_queue_setup()
3137 hns3_err(hw, "%s hardware GRO failed, ret = %d", in hns3_config_gro()
[all …]
H A Dhns3_ptp.c31 hns3_err(hw, in hns3_mbuf_dyn_rx_timestamp_register()
52 hns3_err(hw, in hns3_ptp_int_en()
105 hns3_err(hw, "configure PTP time failed, en = %d, ret = %d", in hns3_timesync_configure()
289 hns3_err(hw, "restore PTP enable state(%d) failed, ret = %d", in hns3_restore_ptp()
H A Dhns3_mp.c156 hns3_err(hw, "port %u unknown request (req_type %d)", in mp_req_on_rxtx()
165 hns3_err(hw, "port %u failed to request stop/start Rx/Tx (%d)", in mp_req_on_rxtx()
179 hns3_err(hw, "port %u request failed on secondary #%d", in mp_req_on_rxtx()
H A Dhns3_cmd.c84 hns3_err(hw, "allocate dma mem failed"); in hns3_alloc_cmd_desc()
110 hns3_err(hw, "descriptor %s alloc error %d", in hns3_alloc_cmd_queue()
198 hns3_err(hw, "wrong cmd addr(%0x) head (%u, %u-%u)", addr, 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()
617 hns3_err(hw, "firmware fails to initialize the PHY, ret = %d.", in hns3_apply_fw_compat_cmd_result()
H A Dhns3_ethdev_dump.c238 hns3_err(hw, "detect rx_queues is NULL!\n"); in get_rx_queue()
263 hns3_err(hw, "detect tx_queues is NULL!\n"); in get_tx_queue()
293 hns3_err(hw, "detect rx_queues is NULL!\n"); in get_rxtx_fake_queue_info()
307 hns3_err(hw, "detect tx_queues is NULL!\n"); in get_rxtx_fake_queue_info()
466 hns3_err(hw, in get_vlan_filter_cfg()
508 hns3_err(hw, in get_vlan_rx_offload_cfg()
597 hns3_err(hw, in get_vlan_tx_offload_cfg()
H A Dhns3_logs.h19 #define hns3_err(hw, fmt, args...) \ macro
H A Dhns3_flow.c245 hns3_err(hw, "Can't find available counter to release"); in hns3_counter_release()
297 hns3_err(hw, "queue ID(%u) is greater than number of " in hns3_handle_action_queue()
1486 hns3_err(hw, "Invalid RSS algorithm configuration(%d)", in hns3_parse_rss_algorithm()
1515 hns3_err(hw, "Update RSS tuples by rss hf failed %d", ret); in hns3_hw_rss_hash_set()
1536 hns3_err(hw, "queue id(%u) set to redirection table " in hns3_update_indir_table()
1588 hns3_err(hw, "RSS disable failed(%d)", ret); in hns3_config_rss_filter()
1627 hns3_err(hw, "RSS config init fail(%d)", ret); in hns3_config_rss_filter()
1668 hns3_err(hw, "fail to delete all RSS filters, success num = %d " in hns3_clear_rss_filter()
1700 hns3_err(hw, "Enter duplicate RSS configuration : %d", ret); in hns3_flow_parse_rss()
1769 hns3_err(hw, "failed to allocate hns3_rss_filter memory"); in hns3_flow_create_rss_rule()
[all …]
H A Dhns3_tm.c924 hns3_err(hw, "failed to config port rate, ret = %d", ret); in hns3_tm_config_port_rate()
953 hns3_err(hw, "failed to config tc (%u) rate, ret = %d", in hns3_tm_config_tc_rate()