hclge_dev 61 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c static int hclge_alloc_cmd_queue(struct hclge_dev *hdev, int ring_type) hclge_dev 104 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c struct hclge_dev *hdev = ring->dev; hclge_dev 139 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c struct hclge_dev *hdev = container_of(hw, struct hclge_dev, hw); hclge_dev 260 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c struct hclge_dev *hdev = container_of(hw, struct hclge_dev, hw); hclge_dev 353 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c int hclge_cmd_queue_init(struct hclge_dev *hdev) hclge_dev 389 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c static int hclge_firmware_compat_config(struct hclge_dev *hdev) hclge_dev 406 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c int hclge_cmd_init(struct hclge_dev *hdev) hclge_dev 496 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c void hclge_cmd_uninit(struct hclge_dev *hdev) hclge_dev 11 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h struct hclge_dev; hclge_dev 27 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h struct hclge_dev *dev; hclge_dev 1066 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h int hclge_cmd_init(struct hclge_dev *hdev); hclge_dev 1093 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h int hclge_cmd_set_promisc_mode(struct hclge_dev *hdev, hclge_dev 1101 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h void hclge_cmd_uninit(struct hclge_dev *hdev); hclge_dev 1102 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h int hclge_cmd_queue_init(struct hclge_dev *hdev); hclge_dev 10 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c static int hclge_ieee_ets_to_tm_info(struct hclge_dev *hdev, hclge_dev 43 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c static void hclge_tm_info_to_ieee_ets(struct hclge_dev *hdev, hclge_dev 68 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c struct hclge_dev *hdev = vport->back; hclge_dev 75 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c static int hclge_dcb_common_validate(struct hclge_dev *hdev, u8 num_tc, hclge_dev 106 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c static int hclge_ets_validate(struct hclge_dev *hdev, struct ieee_ets *ets, hclge_dev 157 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c static int hclge_map_update(struct hclge_dev *hdev) hclge_dev 178 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c static int hclge_client_setup_tc(struct hclge_dev *hdev) hclge_dev 201 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c static int hclge_notify_down_uinit(struct hclge_dev *hdev) hclge_dev 212 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c static int hclge_notify_init_up(struct hclge_dev *hdev) hclge_dev 227 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c struct hclge_dev *hdev = vport->back; hclge_dev 283 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c struct hclge_dev *hdev = vport->back; hclge_dev 319 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c struct hclge_dev *hdev = vport->back; hclge_dev 372 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c struct hclge_dev *hdev = vport->back; hclge_dev 384 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c struct hclge_dev *hdev = vport->back; hclge_dev 403 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c struct hclge_dev *hdev = vport->back; hclge_dev 453 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c void hclge_dcb_ops_set(struct hclge_dev *hdev) hclge_dev 10 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.h void hclge_dcb_ops_set(struct hclge_dev *hdev); hclge_dev 12 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.h static inline void hclge_dcb_ops_set(struct hclge_dev *hdev) {} hclge_dev 74 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c static int hclge_dbg_get_dfx_bd_num(struct hclge_dev *hdev, int offset) hclge_dev 95 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c static int hclge_dbg_cmd_send(struct hclge_dev *hdev, hclge_dev 119 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c static void hclge_dbg_dump_reg_common(struct hclge_dev *hdev, hclge_dev 180 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c static void hclge_dbg_dump_dcb(struct hclge_dev *hdev, const char *cmd_buf) hclge_dev 280 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c static void hclge_dbg_dump_reg_cmd(struct hclge_dev *hdev, const char *cmd_buf) hclge_dev 306 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c static void hclge_title_idx_print(struct hclge_dev *hdev, bool flag, int index, hclge_dev 318 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c static void hclge_dbg_dump_tc(struct hclge_dev *hdev) hclge_dev 349 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c static void hclge_dbg_dump_tm_pg(struct hclge_dev *hdev) hclge_dev 440 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c static void hclge_dbg_dump_tm(struct hclge_dev *hdev) hclge_dev 552 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c static void hclge_dbg_dump_tm_map(struct hclge_dev *hdev, hclge_dev 641 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c static void hclge_dbg_dump_qos_pause_cfg(struct hclge_dev *hdev) hclge_dev 664 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c static void hclge_dbg_dump_qos_pri_map(struct hclge_dev *hdev) hclge_dev 692 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c static void hclge_dbg_dump_qos_buf_cfg(struct hclge_dev *hdev) hclge_dev 811 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c static void hclge_dbg_dump_mng_table(struct hclge_dev *hdev) hclge_dev 875 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c static void hclge_dbg_fd_tcam_read(struct hclge_dev *hdev, u8 stage, hclge_dev 922 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c static void hclge_dbg_fd_tcam(struct hclge_dev *hdev) hclge_dev 932 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c static void hclge_dbg_dump_rst_info(struct hclge_dev *hdev) hclge_dev 966 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c static void hclge_dbg_get_m7_stats_info(struct hclge_dev *hdev) hclge_dev 1023 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c static void hclge_ncl_config_data_print(struct hclge_dev *hdev, hclge_dev 1052 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c static void hclge_dbg_dump_ncl_config(struct hclge_dev *hdev, hclge_dev 1096 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c static void hclge_dbg_dump_mac_tnl_status(struct hclge_dev *hdev) hclge_dev 1119 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c struct hclge_dev *hdev = vport->back; hclge_dev 658 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c static int hclge_cmd_query_error(struct hclge_dev *hdev, hclge_dev 679 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c static int hclge_clear_mac_tnl_int(struct hclge_dev *hdev) hclge_dev 689 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c static int hclge_config_common_hw_err_int(struct hclge_dev *hdev, bool en) hclge_dev 726 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c static int hclge_config_ncsi_hw_err_int(struct hclge_dev *hdev, bool en) hclge_dev 748 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c static int hclge_config_igu_egu_hw_err_int(struct hclge_dev *hdev, bool en) hclge_dev 786 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c static int hclge_config_ppp_error_interrupt(struct hclge_dev *hdev, u32 cmd, hclge_dev 835 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c static int hclge_config_ppp_hw_err_int(struct hclge_dev *hdev, bool en) hclge_dev 850 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c static int hclge_config_tm_hw_err_int(struct hclge_dev *hdev, bool en) hclge_dev 886 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c static int hclge_config_mac_err_int(struct hclge_dev *hdev, bool en) hclge_dev 907 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c int hclge_config_mac_tnl_int(struct hclge_dev *hdev, bool en) hclge_dev 922 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c static int hclge_config_ppu_error_interrupts(struct hclge_dev *hdev, u32 cmd, hclge_dev 981 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c static int hclge_config_ppu_hw_err_int(struct hclge_dev *hdev, bool en) hclge_dev 1010 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c static int hclge_config_ssu_hw_err_int(struct hclge_dev *hdev, bool en) hclge_dev 1075 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c static int hclge_query_bd_num(struct hclge_dev *hdev, bool is_ras, hclge_dev 1121 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c static int hclge_handle_mpf_ras_error(struct hclge_dev *hdev, hclge_dev 1279 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c static int hclge_handle_pf_ras_error(struct hclge_dev *hdev, hclge_dev 1344 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c static int hclge_handle_all_ras_errors(struct hclge_dev *hdev) hclge_dev 1375 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c static int hclge_log_rocee_axi_error(struct hclge_dev *hdev) hclge_dev 1411 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c static int hclge_log_rocee_ecc_error(struct hclge_dev *hdev) hclge_dev 1435 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c static int hclge_log_rocee_ovf_error(struct hclge_dev *hdev) hclge_dev 1482 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c hclge_log_and_clear_rocee_ras_error(struct hclge_dev *hdev) hclge_dev 1545 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c int hclge_config_rocee_ras_interrupt(struct hclge_dev *hdev, bool en) hclge_dev 1574 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c struct hclge_dev *hdev = ae_dev->priv; hclge_dev 1618 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c int hclge_config_nic_hw_error(struct hclge_dev *hdev, bool state) hclge_dev 1637 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c struct hclge_dev *hdev = ae_dev->priv; hclge_dev 1680 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c static int hclge_clear_hw_msix_error(struct hclge_dev *hdev, hclge_dev 1704 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c static int hclge_query_over_8bd_err_info(struct hclge_dev *hdev, u16 *vf_id, hclge_dev 1730 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c static void hclge_handle_over_8bd_err(struct hclge_dev *hdev, hclge_dev 1779 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c static int hclge_handle_mpf_msix_error(struct hclge_dev *hdev, hclge_dev 1830 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c static int hclge_handle_pf_msix_error(struct hclge_dev *hdev, hclge_dev 1884 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c static int hclge_handle_all_hw_msix_error(struct hclge_dev *hdev, hclge_dev 1946 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c int hclge_handle_hw_msix_error(struct hclge_dev *hdev, hclge_dev 1964 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c struct hclge_dev *hdev = ae_dev->priv; hclge_dev 120 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.h int (*config_err_int)(struct hclge_dev *hdev, bool en); hclge_dev 129 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.h int hclge_config_mac_tnl_int(struct hclge_dev *hdev, bool en); hclge_dev 130 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.h int hclge_config_nic_hw_error(struct hclge_dev *hdev, bool state); hclge_dev 131 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.h int hclge_config_rocee_ras_interrupt(struct hclge_dev *hdev, bool en); hclge_dev 134 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.h int hclge_handle_hw_msix_error(struct hclge_dev *hdev, hclge_dev 58 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_set_mac_mtu(struct hclge_dev *hdev, int new_mps); hclge_dev 59 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_init_vlan_config(struct hclge_dev *hdev); hclge_dev 60 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_sync_vlan_filter(struct hclge_dev *hdev); hclge_dev 63 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_set_umv_space(struct hclge_dev *hdev, u16 space_size, hclge_dev 65 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_rfs_filter_expire(struct hclge_dev *hdev); hclge_dev 69 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_set_default_loopback(struct hclge_dev *hdev); hclge_dev 414 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_mac_update_stats_defective(struct hclge_dev *hdev) hclge_dev 453 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_mac_update_stats_complete(struct hclge_dev *hdev, u32 desc_num) hclge_dev 497 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_mac_query_reg_num(struct hclge_dev *hdev, u32 *desc_num) hclge_dev 518 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_mac_update_stats(struct hclge_dev *hdev) hclge_dev 540 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 672 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_update_stats_for_all(struct hclge_dev *hdev) hclge_dev 697 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 726 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 801 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 813 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 821 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_parse_func_status(struct hclge_dev *hdev, hclge_dev 836 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_query_function_status(struct hclge_dev *hdev) hclge_dev 867 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_query_pf_resource(struct hclge_dev *hdev) hclge_dev 972 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 1121 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_parse_fiber_link_mode(struct hclge_dev *hdev, hclge_dev 1141 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_parse_backplane_link_mode(struct hclge_dev *hdev, hclge_dev 1154 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_parse_copper_link_mode(struct hclge_dev *hdev, hclge_dev 1185 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_parse_link_mode(struct hclge_dev *hdev, u8 speed_ability) hclge_dev 1260 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_get_cfg(struct hclge_dev *hdev, struct hclge_cfg *hcfg) hclge_dev 1292 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_get_cap(struct hclge_dev *hdev) hclge_dev 1311 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_init_kdump_kernel_config(struct hclge_dev *hdev) hclge_dev 1328 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_configure(struct hclge_dev *hdev) hclge_dev 1401 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_config_tso(struct hclge_dev *hdev, unsigned int tso_mss_min, hclge_dev 1425 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_config_gro(struct hclge_dev *hdev, bool en) hclge_dev 1447 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_alloc_tqps(struct hclge_dev *hdev) hclge_dev 1476 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_map_tqps_to_func(struct hclge_dev *hdev, u16 func_id, hclge_dev 1503 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 1535 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 1555 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_map_tqp_to_vport(struct hclge_dev *hdev, hclge_dev 1579 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_map_tqp(struct hclge_dev *hdev) hclge_dev 1601 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 1616 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_alloc_vport(struct hclge_dev *hdev) hclge_dev 1676 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_cmd_alloc_tx_buff(struct hclge_dev *hdev, hclge_dev 1706 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_tx_buffer_alloc(struct hclge_dev *hdev, hclge_dev 1717 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static u32 hclge_get_tc_num(struct hclge_dev *hdev) hclge_dev 1729 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_get_pfc_priv_num(struct hclge_dev *hdev, hclge_dev 1747 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_get_no_pfc_priv_num(struct hclge_dev *hdev, hclge_dev 1789 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static bool hclge_is_rx_buf_ok(struct hclge_dev *hdev, hclge_dev 1855 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_tx_buffer_calc(struct hclge_dev *hdev, hclge_dev 1881 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static bool hclge_rx_buf_calc_all(struct hclge_dev *hdev, bool max, hclge_dev 1917 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static bool hclge_drop_nopfc_buf_till_fit(struct hclge_dev *hdev, hclge_dev 1947 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static bool hclge_drop_pfc_buf_till_fit(struct hclge_dev *hdev, hclge_dev 1977 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_only_alloc_priv_buff(struct hclge_dev *hdev, hclge_dev 2031 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_rx_buffer_calc(struct hclge_dev *hdev, hclge_dev 2064 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_rx_priv_buf_alloc(struct hclge_dev *hdev, hclge_dev 2097 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_rx_priv_wl_config(struct hclge_dev *hdev, hclge_dev 2141 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_common_thrd_config(struct hclge_dev *hdev, hclge_dev 2184 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_common_wl_config(struct hclge_dev *hdev, hclge_dev 2209 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c int hclge_buffer_alloc(struct hclge_dev *hdev) hclge_dev 2298 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_init_msi(struct hclge_dev *hdev) hclge_dev 2353 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_cfg_mac_speed_dup_hw(struct hclge_dev *hdev, int speed, hclge_dev 2418 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c int hclge_cfg_mac_speed_dup(struct hclge_dev *hdev, int speed, u8 duplex) hclge_dev 2442 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 2447 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_set_autoneg_en(struct hclge_dev *hdev, bool enable) hclge_dev 2472 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 2490 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 2502 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 2516 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 2524 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_set_fec_hw(struct hclge_dev *hdev, u32 fec_mode) hclge_dev 2552 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 2573 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 2582 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_mac_init(struct hclge_dev *hdev) hclge_dev 2635 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_mbx_task_schedule(struct hclge_dev *hdev) hclge_dev 2643 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_reset_task_schedule(struct hclge_dev *hdev) hclge_dev 2651 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c void hclge_task_schedule(struct hclge_dev *hdev, unsigned long delay_time) hclge_dev 2664 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_get_mac_link_status(struct hclge_dev *hdev) hclge_dev 2685 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_get_mac_phy_link(struct hclge_dev *hdev) hclge_dev 2709 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_update_link_status(struct hclge_dev *hdev) hclge_dev 2759 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_get_sfp_speed(struct hclge_dev *hdev, u32 *speed) hclge_dev 2782 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_get_sfp_info(struct hclge_dev *hdev, struct hclge_mac *mac) hclge_dev 2824 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_update_port_info(struct hclge_dev *hdev) hclge_dev 2869 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 2876 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static u32 hclge_check_event_cause(struct hclge_dev *hdev, u32 *clearval) hclge_dev 2936 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_clear_event_cause(struct hclge_dev *hdev, u32 event_type, hclge_dev 2951 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_clear_all_event_cause(struct hclge_dev *hdev) hclge_dev 2967 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = data; hclge_dev 3025 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_free_vector(struct hclge_dev *hdev, int vector_id) hclge_dev 3038 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_get_misc_vector(struct hclge_dev *hdev) hclge_dev 3054 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = container_of(notify, struct hclge_dev, hclge_dev 3064 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_misc_affinity_setup(struct hclge_dev *hdev) hclge_dev 3075 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_misc_affinity_teardown(struct hclge_dev *hdev) hclge_dev 3081 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_misc_irq_init(struct hclge_dev *hdev) hclge_dev 3099 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_misc_irq_uninit(struct hclge_dev *hdev) hclge_dev 3105 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c int hclge_notify_client(struct hclge_dev *hdev, hclge_dev 3132 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_notify_roce_client(struct hclge_dev *hdev, hclge_dev 3160 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_reset_wait(struct hclge_dev *hdev) hclge_dev 3219 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_set_vf_rst(struct hclge_dev *hdev, int func_id, bool reset) hclge_dev 3234 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_set_all_vf_rst(struct hclge_dev *hdev, bool reset) hclge_dev 3268 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_func_reset_sync_vf(struct hclge_dev *hdev) hclge_dev 3301 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c void hclge_report_hw_error(struct hclge_dev *hdev, hclge_dev 3315 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_handle_imp_error(struct hclge_dev *hdev) hclge_dev 3333 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c int hclge_func_reset_cmd(struct hclge_dev *hdev, int func_id) hclge_dev 3351 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_do_reset(struct hclge_dev *hdev) hclge_dev 3395 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = ae_dev->priv; hclge_dev 3439 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_clear_reset_cause(struct hclge_dev *hdev) hclge_dev 3467 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_reset_prepare_down(struct hclge_dev *hdev) hclge_dev 3484 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_reset_handshake(struct hclge_dev *hdev, bool enable) hclge_dev 3497 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_reset_prepare_wait(struct hclge_dev *hdev) hclge_dev 3556 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static bool hclge_reset_err_handle(struct hclge_dev *hdev) hclge_dev 3588 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_set_rst_done(struct hclge_dev *hdev) hclge_dev 3616 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_reset_prepare_up(struct hclge_dev *hdev) hclge_dev 3641 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_reset_stack(struct hclge_dev *hdev) hclge_dev 3660 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_reset(struct hclge_dev *hdev) hclge_dev 3760 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = ae_dev->priv; hclge_dev 3805 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = ae_dev->priv; hclge_dev 3812 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = from_timer(hdev, t, reset_timer); hclge_dev 3825 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_reset_subtask(struct hclge_dev *hdev) hclge_dev 3853 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = hclge_dev 3854 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c container_of(work, struct hclge_dev, rst_service_task); hclge_dev 3868 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = hclge_dev 3869 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c container_of(work, struct hclge_dev, mbx_service_task); hclge_dev 3881 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_update_vport_alive(struct hclge_dev *hdev) hclge_dev 3900 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = hclge_dev 3901 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c container_of(work, struct hclge_dev, service_task.work); hclge_dev 3938 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 3970 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_get_vector_index(struct hclge_dev *hdev, int vector) hclge_dev 3984 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 4009 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_set_rss_algo_key(struct hclge_dev *hdev, hclge_dev 4046 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_set_rss_indir_table(struct hclge_dev *hdev, const u8 *indir) hclge_dev 4078 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_set_rss_tc_mode(struct hclge_dev *hdev, u16 *tc_valid, hclge_dev 4125 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_set_rss_input_tuple(struct hclge_dev *hdev) hclge_dev 4189 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 4255 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 4383 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 4388 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c int hclge_rss_init_hw(struct hclge_dev *hdev) hclge_dev 4442 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c void hclge_rss_indir_init_cfg(struct hclge_dev *hdev) hclge_dev 4454 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_rss_init_cfg(struct hclge_dev *hdev) hclge_dev 4493 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 4559 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 4576 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 4598 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c int hclge_cmd_set_promisc_mode(struct hclge_dev *hdev, hclge_dev 4646 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 4662 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_get_fd_mode(struct hclge_dev *hdev, u8 *fd_mode) hclge_dev 4683 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_get_fd_allocation(struct hclge_dev *hdev, hclge_dev 4712 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_set_fd_key_config(struct hclge_dev *hdev, int stage_num) hclge_dev 4739 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_init_fd_config(struct hclge_dev *hdev) hclge_dev 4804 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_fd_tcam_config(struct hclge_dev *hdev, u8 stage, bool sel_x, hclge_dev 4846 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_fd_ad_config(struct hclge_dev *hdev, u8 stage, int loc, hclge_dev 5049 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_config_key(struct hclge_dev *hdev, u8 stage, hclge_dev 5105 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_config_action(struct hclge_dev *hdev, u8 stage, hclge_dev 5134 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_fd_check_spec(struct hclge_dev *hdev, hclge_dev 5300 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static bool hclge_fd_rule_exist(struct hclge_dev *hdev, u16 location) hclge_dev 5317 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_fd_update_rule_list(struct hclge_dev *hdev, hclge_dev 5368 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_fd_get_tuple(struct hclge_dev *hdev, hclge_dev 5522 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_fd_config_rule(struct hclge_dev *hdev, hclge_dev 5555 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 5644 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 5679 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 5711 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 5756 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 5772 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 5976 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 6030 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c hclge_fd_search_flow_keys(struct hclge_dev *hdev, hclge_dev 6073 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 6148 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_rfs_filter_expire(struct hclge_dev *hdev) hclge_dev 6184 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 6194 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 6203 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 6211 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 6219 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 6230 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_cfg_mac_mode(struct hclge_dev *hdev, bool enable) hclge_dev 6261 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_config_switch_param(struct hclge_dev *hdev, int vfid, hclge_dev 6297 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_phy_link_status_wait(struct hclge_dev *hdev, hclge_dev 6321 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_mac_link_status_wait(struct hclge_dev *hdev, int link_ret) hclge_dev 6340 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_mac_phy_link_status_wait(struct hclge_dev *hdev, bool en, hclge_dev 6356 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_set_app_loopback(struct hclge_dev *hdev, bool en) hclge_dev 6392 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_cfg_serdes_loopback(struct hclge_dev *hdev, bool en, hclge_dev 6456 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_set_serdes_loopback(struct hclge_dev *hdev, bool en, hclge_dev 6475 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_enable_phy_loopback(struct hclge_dev *hdev, hclge_dev 6493 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_disable_phy_loopback(struct hclge_dev *hdev, hclge_dev 6505 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_set_phy_loopback(struct hclge_dev *hdev, bool en) hclge_dev 6533 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_tqp_enable(struct hclge_dev *hdev, unsigned int tqp_id, hclge_dev 6559 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 6607 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_set_default_loopback(struct hclge_dev *hdev) hclge_dev 6642 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 6659 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 6677 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 6739 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 6863 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 6892 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 6934 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 6983 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_init_umv_space(struct hclge_dev *hdev) hclge_dev 7011 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_uninit_umv_space(struct hclge_dev *hdev) hclge_dev 7027 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_set_umv_space(struct hclge_dev *hdev, u16 space_size, hclge_dev 7055 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_reset_umv_space(struct hclge_dev *hdev) hclge_dev 7073 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 7086 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 7115 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 7186 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 7220 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 7264 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 7382 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c void hclge_uninit_vport_mac_table(struct hclge_dev *hdev) hclge_dev 7404 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_get_mac_ethertype_cmd_status(struct hclge_dev *hdev, hclge_dev 7446 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_add_mgr_tbl(struct hclge_dev *hdev, hclge_dev 7471 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int init_mgr_tbl(struct hclge_dev *hdev) hclge_dev 7492 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 7502 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 7551 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 7559 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_set_vlan_filter_ctrl(struct hclge_dev *hdev, u8 vlan_type, hclge_dev 7596 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 7614 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_set_vf_vlan_common(struct hclge_dev *hdev, u16 vfid, hclge_dev 7697 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_set_port_vlan_filter(struct hclge_dev *hdev, __be16 proto, hclge_dev 7725 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_set_vlan_filter_hw(struct hclge_dev *hdev, __be16 proto, hclge_dev 7778 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 7821 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 7899 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_set_vlan_protocol_type(struct hclge_dev *hdev) hclge_dev 7940 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_init_vlan_config(struct hclge_dev *hdev) hclge_dev 8022 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 8047 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 8068 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 8086 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c void hclge_uninit_vport_vlan_table(struct hclge_dev *hdev) hclge_dev 8107 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 8162 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 8188 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 8262 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 8312 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 8353 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_sync_vlan_filter(struct hclge_dev *hdev) hclge_dev 8386 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_set_mac_mtu(struct hclge_dev *hdev, int new_mps) hclge_dev 8409 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 8459 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_send_reset_tqp_cmd(struct hclge_dev *hdev, u16 queue_id, hclge_dev 8483 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_get_reset_status(struct hclge_dev *hdev, u16 queue_id) hclge_dev 8518 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 8563 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 8601 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 8606 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_set_flowctrl_adv(struct hclge_dev *hdev, u32 rx_en, u32 tx_en) hclge_dev 8616 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_cfg_pauseparam(struct hclge_dev *hdev, u32 rx_en, u32 tx_en) hclge_dev 8631 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c int hclge_cfg_flowctrl(struct hclge_dev *hdev) hclge_dev 8667 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 8693 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_record_user_pauseparam(struct hclge_dev *hdev, hclge_dev 8712 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 8748 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 8762 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 8775 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 8821 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_info_show(struct hclge_dev *hdev) hclge_dev 8851 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = ae_dev->priv; hclge_dev 8896 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = ae_dev->priv; hclge_dev 8946 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = ae_dev->priv; hclge_dev 8998 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = ae_dev->priv; hclge_dev 9028 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_pci_init(struct hclge_dev *hdev) hclge_dev 9078 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_pci_uninit(struct hclge_dev *hdev) hclge_dev 9089 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_state_init(struct hclge_dev *hdev) hclge_dev 9099 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_state_uninit(struct hclge_dev *hdev) hclge_dev 9118 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = ae_dev->priv; hclge_dev 9137 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = ae_dev->priv; hclge_dev 9142 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_clear_resetting_state(struct hclge_dev *hdev) hclge_dev 9162 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev; hclge_dev 9369 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_stats_clear(struct hclge_dev *hdev) hclge_dev 9374 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static void hclge_reset_vport_state(struct hclge_dev *hdev) hclge_dev 9387 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = ae_dev->priv; hclge_dev 9492 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = ae_dev->priv; hclge_dev 9526 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 9545 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 9557 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 9621 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_get_regs_num(struct hclge_dev *hdev, u32 *regs_num_32_bit, hclge_dev 9646 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_get_32_bit_regs(struct hclge_dev *hdev, u32 regs_num, hclge_dev 9700 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_get_64_bit_regs(struct hclge_dev *hdev, u32 regs_num, hclge_dev 9762 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c int hclge_query_bd_num_cmd_send(struct hclge_dev *hdev, struct hclge_desc *desc) hclge_dev 9776 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_get_dfx_reg_bd_num(struct hclge_dev *hdev, hclge_dev 9804 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_dfx_reg_cmd_send(struct hclge_dev *hdev, hclge_dev 9849 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_get_dfx_reg_len(struct hclge_dev *hdev, int *len) hclge_dev 9874 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_get_dfx_reg(struct hclge_dev *hdev, void *data) hclge_dev 9918 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_fetch_pf_reg(struct hclge_dev *hdev, void *data, hclge_dev 9977 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 10019 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 10065 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_set_led_status(struct hclge_dev *hdev, u8 locate_led_status) hclge_dev 10095 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 10113 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 10125 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_dev *hdev = vport->back; hclge_dev 913 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h struct hclge_dev *back; /* Back reference to associated dev */ hclge_dev 950 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h static inline bool hclge_is_reset_pending(struct hclge_dev *hdev) hclge_dev 956 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h int hclge_cfg_mac_speed_dup(struct hclge_dev *hdev, int speed, u8 duplex); hclge_dev 961 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h int hclge_buffer_alloc(struct hclge_dev *hdev); hclge_dev 962 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h int hclge_rss_init_hw(struct hclge_dev *hdev); hclge_dev 963 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h void hclge_rss_indir_init_cfg(struct hclge_dev *hdev); hclge_dev 965 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h void hclge_mbx_handler(struct hclge_dev *hdev); hclge_dev 968 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h int hclge_cfg_flowctrl(struct hclge_dev *hdev); hclge_dev 969 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h int hclge_func_reset_cmd(struct hclge_dev *hdev, int func_id); hclge_dev 975 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h int hclge_notify_client(struct hclge_dev *hdev, hclge_dev 984 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h void hclge_uninit_vport_mac_table(struct hclge_dev *hdev); hclge_dev 986 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h void hclge_uninit_vport_vlan_table(struct hclge_dev *hdev); hclge_dev 992 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h void hclge_task_schedule(struct hclge_dev *hdev, unsigned long delay_time); hclge_dev 993 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h int hclge_query_bd_num_cmd_send(struct hclge_dev *hdev, hclge_dev 995 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h void hclge_report_hw_error(struct hclge_dev *hdev, hclge_dev 21 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c struct hclge_dev *hdev = vport->back; hclge_dev 63 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c struct hclge_dev *hdev = vport->back; hclge_dev 88 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c struct hclge_dev *hdev = vport->back; hclge_dev 220 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c struct hclge_dev *hdev = vport->back; hclge_dev 264 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c struct hclge_dev *hdev = vport->back; hclge_dev 390 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c struct hclge_dev *hdev = vport->back; hclge_dev 407 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c struct hclge_dev *hdev = vport->back; hclge_dev 419 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c struct hclge_dev *hdev = vport->back; hclge_dev 431 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c struct hclge_dev *hdev = vport->back; hclge_dev 454 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c struct hclge_dev *hdev = vport->back; hclge_dev 489 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c struct hclge_dev *hdev = vport->back; hclge_dev 535 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c struct hclge_dev *hdev = vport->back; hclge_dev 548 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c static void hclge_link_fail_parse(struct hclge_dev *hdev, u8 link_fail_code) hclge_dev 565 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c static void hclge_handle_link_change_event(struct hclge_dev *hdev, hclge_dev 585 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c static void hclge_handle_ncsi_error(struct hclge_dev *hdev) hclge_dev 594 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c void hclge_mbx_handler(struct hclge_dev *hdev) hclge_dev 46 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c struct hclge_dev *hdev = bus->priv; hclge_dev 84 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c struct hclge_dev *hdev = bus->priv; hclge_dev 123 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c int hclge_mac_mdio_config(struct hclge_dev *hdev) hclge_dev 179 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c struct hclge_dev *hdev = vport->back; hclge_dev 202 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c struct hclge_dev *hdev = vport->back; hclge_dev 242 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c struct hclge_dev *hdev = vport->back; hclge_dev 251 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c void hclge_mac_start_phy(struct hclge_dev *hdev) hclge_dev 261 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c void hclge_mac_stop_phy(struct hclge_dev *hdev) hclge_dev 7 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.h int hclge_mac_mdio_config(struct hclge_dev *hdev); hclge_dev 10 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.h void hclge_mac_start_phy(struct hclge_dev *hdev); hclge_dev 11 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.h void hclge_mac_stop_phy(struct hclge_dev *hdev); hclge_dev 115 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_pfc_stats_get(struct hclge_dev *hdev, hclge_dev 151 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c int hclge_pfc_rx_stats_get(struct hclge_dev *hdev, u64 *stats) hclge_dev 156 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c int hclge_pfc_tx_stats_get(struct hclge_dev *hdev, u64 *stats) hclge_dev 161 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c int hclge_mac_pause_en_cfg(struct hclge_dev *hdev, bool tx, bool rx) hclge_dev 173 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_pfc_pause_en_cfg(struct hclge_dev *hdev, u8 tx_rx_bitmap, hclge_dev 187 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_pause_param_cfg(struct hclge_dev *hdev, const u8 *addr, hclge_dev 205 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c int hclge_pause_addr_cfg(struct hclge_dev *hdev, const u8 *mac_addr) hclge_dev 227 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_fill_pri_array(struct hclge_dev *hdev, u8 *pri, u8 pri_id) hclge_dev 250 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_up_to_tc_map(struct hclge_dev *hdev) hclge_dev 268 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_tm_pg_to_pri_map_cfg(struct hclge_dev *hdev, hclge_dev 284 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_tm_qs_to_pri_map_cfg(struct hclge_dev *hdev, hclge_dev 301 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_tm_q_to_qs_map_cfg(struct hclge_dev *hdev, hclge_dev 317 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_tm_pg_weight_cfg(struct hclge_dev *hdev, u8 pg_id, hclge_dev 333 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_tm_pri_weight_cfg(struct hclge_dev *hdev, u8 pri_id, hclge_dev 349 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_tm_qs_weight_cfg(struct hclge_dev *hdev, u16 qs_id, hclge_dev 379 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_tm_pg_shapping_cfg(struct hclge_dev *hdev, hclge_dev 400 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_tm_port_shaper_cfg(struct hclge_dev *hdev) hclge_dev 426 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_tm_pri_shapping_cfg(struct hclge_dev *hdev, hclge_dev 448 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_tm_pg_schd_mode_cfg(struct hclge_dev *hdev, u8 pg_id) hclge_dev 464 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_tm_pri_schd_mode_cfg(struct hclge_dev *hdev, u8 pri_id) hclge_dev 480 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_tm_qs_schd_mode_cfg(struct hclge_dev *hdev, u16 qs_id, u8 mode) hclge_dev 496 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_tm_qs_bp_cfg(struct hclge_dev *hdev, u8 tc, u8 grp_id, hclge_dev 517 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c struct hclge_dev *hdev = vport->back; hclge_dev 577 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static void hclge_tm_vport_info_update(struct hclge_dev *hdev) hclge_dev 589 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static void hclge_tm_tc_info_init(struct hclge_dev *hdev) hclge_dev 614 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static void hclge_tm_pg_info_init(struct hclge_dev *hdev) hclge_dev 639 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static void hclge_pfc_info_init(struct hclge_dev *hdev) hclge_dev 657 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static void hclge_tm_schd_info_init(struct hclge_dev *hdev) hclge_dev 668 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_tm_pg_to_pri_map(struct hclge_dev *hdev) hclge_dev 687 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_tm_pg_shaper_cfg(struct hclge_dev *hdev) hclge_dev 730 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_tm_pg_dwrr_cfg(struct hclge_dev *hdev) hclge_dev 750 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_vport_q_to_qs_map(struct hclge_dev *hdev, hclge_dev 775 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_tm_pri_q_qs_cfg(struct hclge_dev *hdev) hclge_dev 819 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_tm_pri_tc_base_shaper_cfg(struct hclge_dev *hdev) hclge_dev 856 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c struct hclge_dev *hdev = vport->back; hclge_dev 888 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c struct hclge_dev *hdev = vport->back; hclge_dev 905 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_tm_pri_vnet_base_shaper_cfg(struct hclge_dev *hdev) hclge_dev 927 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_tm_pri_shaper_cfg(struct hclge_dev *hdev) hclge_dev 944 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_tm_pri_tc_base_dwrr_cfg(struct hclge_dev *hdev) hclge_dev 973 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_tm_ets_tc_dwrr_cfg(struct hclge_dev *hdev) hclge_dev 1006 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c struct hclge_dev *hdev = vport->back; hclge_dev 1027 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_tm_pri_vnet_base_dwrr_cfg(struct hclge_dev *hdev) hclge_dev 1044 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_tm_pri_dwrr_cfg(struct hclge_dev *hdev) hclge_dev 1074 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_tm_map_cfg(struct hclge_dev *hdev) hclge_dev 1089 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_tm_shaper_cfg(struct hclge_dev *hdev) hclge_dev 1104 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c int hclge_tm_dwrr_cfg(struct hclge_dev *hdev) hclge_dev 1115 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_tm_lvl2_schd_mode_cfg(struct hclge_dev *hdev) hclge_dev 1136 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c struct hclge_dev *hdev = vport->back; hclge_dev 1159 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_tm_lvl34_schd_mode_cfg(struct hclge_dev *hdev) hclge_dev 1192 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_tm_schd_mode_hw(struct hclge_dev *hdev) hclge_dev 1203 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c int hclge_tm_schd_setup_hw(struct hclge_dev *hdev) hclge_dev 1226 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_pause_param_setup_hw(struct hclge_dev *hdev) hclge_dev 1235 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_pfc_setup_hw(struct hclge_dev *hdev) hclge_dev 1251 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_bp_setup_hw(struct hclge_dev *hdev, u8 tc) hclge_dev 1280 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_mac_pause_setup_hw(struct hclge_dev *hdev) hclge_dev 1313 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c static int hclge_tm_bp_setup(struct hclge_dev *hdev) hclge_dev 1327 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c int hclge_pause_setup_hw(struct hclge_dev *hdev, bool init) hclge_dev 1359 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c void hclge_tm_prio_tc_info_update(struct hclge_dev *hdev, u8 *prio_tc) hclge_dev 1375 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c void hclge_tm_schd_info_update(struct hclge_dev *hdev, u8 num_tc) hclge_dev 1395 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c void hclge_tm_pfc_info_update(struct hclge_dev *hdev) hclge_dev 1408 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c int hclge_tm_init_hw(struct hclge_dev *hdev, bool init) hclge_dev 1427 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c int hclge_tm_schd_init(struct hclge_dev *hdev) hclge_dev 1442 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c int hclge_tm_vport_map_update(struct hclge_dev *hdev) hclge_dev 144 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h int hclge_tm_schd_init(struct hclge_dev *hdev); hclge_dev 145 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h int hclge_tm_vport_map_update(struct hclge_dev *hdev); hclge_dev 146 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h int hclge_pause_setup_hw(struct hclge_dev *hdev, bool init); hclge_dev 147 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h int hclge_tm_schd_setup_hw(struct hclge_dev *hdev); hclge_dev 148 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h void hclge_tm_prio_tc_info_update(struct hclge_dev *hdev, u8 *prio_tc); hclge_dev 149 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h void hclge_tm_schd_info_update(struct hclge_dev *hdev, u8 num_tc); hclge_dev 150 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h void hclge_tm_pfc_info_update(struct hclge_dev *hdev); hclge_dev 151 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h int hclge_tm_dwrr_cfg(struct hclge_dev *hdev); hclge_dev 152 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h int hclge_tm_init_hw(struct hclge_dev *hdev, bool init); hclge_dev 153 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h int hclge_mac_pause_en_cfg(struct hclge_dev *hdev, bool tx, bool rx); hclge_dev 154 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h int hclge_pause_addr_cfg(struct hclge_dev *hdev, const u8 *mac_addr); hclge_dev 155 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h int hclge_pfc_rx_stats_get(struct hclge_dev *hdev, u64 *stats); hclge_dev 156 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h int hclge_pfc_tx_stats_get(struct hclge_dev *hdev, u64 *stats);