hclgevf_dev
struct hclgevf_dev *hdev;
void hclgevf_arq_init(struct hclgevf_dev *hdev);
struct hclgevf_dev;
int hclgevf_devlink_init(struct hclgevf_dev *hdev)
void hclgevf_devlink_uninit(struct hclgevf_dev *hdev)
struct hclgevf_dev *hdev = priv->hdev;
struct hclgevf_dev *hdev = priv->hdev;
struct hclgevf_dev *hdev = priv->hdev;
struct hclgevf_dev *hdev;
int hclgevf_devlink_init(struct hclgevf_dev *hdev);
void hclgevf_devlink_uninit(struct hclgevf_dev *hdev);
static int hclgevf_add_del_mac_addr(struct hclgevf_dev *hdev,
struct hclgevf_dev *hclgevf_ae_get_hdev(struct hnae3_handle *handle)
static void hclgevf_config_mac_list(struct hclgevf_dev *hdev,
return container_of(handle, struct hclgevf_dev, nic);
return container_of(handle, struct hclgevf_dev, roce);
return container_of(handle, struct hclgevf_dev, nic);
static void hclgevf_sync_mac_list(struct hclgevf_dev *hdev,
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
static void hclgevf_sync_mac_table(struct hclgevf_dev *hdev)
static void hclgevf_uninit_mac_list(struct hclgevf_dev *hdev)
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
static void hclgevf_sync_vlan_filter(struct hclgevf_dev *hdev)
static int hclgevf_en_hw_strip_rxvtag_cmd(struct hclgevf_dev *hdev, bool enable)
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
static int hclgevf_notify_client(struct hclgevf_dev *hdev,
static int hclgevf_notify_roce_client(struct hclgevf_dev *hdev,
static void hclgevf_set_reset_pending(struct hclgevf_dev *hdev,
static int hclgevf_reset_wait(struct hclgevf_dev *hdev)
static void hclgevf_reset_handshake(struct hclgevf_dev *hdev, bool enable)
static int hclgevf_reset_stack(struct hclgevf_dev *hdev)
static int hclgevf_reset_prepare_wait(struct hclgevf_dev *hdev)
static void hclgevf_dump_rst_info(struct hclgevf_dev *hdev)
static void hclgevf_reset_err_handle(struct hclgevf_dev *hdev)
static int hclgevf_get_basic_info(struct hclgevf_dev *hdev)
static int hclgevf_reset_prepare(struct hclgevf_dev *hdev)
static int hclgevf_reset_rebuild(struct hclgevf_dev *hdev)
static void hclgevf_reset(struct hclgevf_dev *hdev)
struct hclgevf_dev *hdev = ae_dev->priv;
struct hclgevf_dev *hdev = ae_dev->priv;
struct hclgevf_dev *hdev = ae_dev->priv;
struct hclgevf_dev *hdev = ae_dev->priv;
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
static void hclgevf_get_misc_vector(struct hclgevf_dev *hdev)
void hclgevf_reset_task_schedule(struct hclgevf_dev *hdev)
void hclgevf_mbx_task_schedule(struct hclgevf_dev *hdev)
static void hclgevf_task_schedule(struct hclgevf_dev *hdev,
static void hclgevf_reset_service_task(struct hclgevf_dev *hdev)
static int hclgevf_get_port_base_vlan_filter_state(struct hclgevf_dev *hdev)
static void hclgevf_mailbox_service_task(struct hclgevf_dev *hdev)
static void hclgevf_keep_alive(struct hclgevf_dev *hdev)
static void hclgevf_periodic_service_task(struct hclgevf_dev *hdev)
struct hclgevf_dev *hdev = container_of(work, struct hclgevf_dev,
static int hclgevf_reset_hdev(struct hclgevf_dev *hdev);
static void hclgevf_clear_event_cause(struct hclgevf_dev *hdev, u32 regclr)
static enum hclgevf_evt_cause hclgevf_check_evt_cause(struct hclgevf_dev *hdev,
struct hclgevf_dev *hdev = timer_container_of(hdev, t, reset_timer);
struct hclgevf_dev *hdev = data;
static void hclgevf_task_schedule(struct hclgevf_dev *hdev,
static int hclgevf_get_queue_info(struct hclgevf_dev *hdev)
static int hclgevf_configure(struct hclgevf_dev *hdev)
struct hclgevf_dev *hdev;
static int hclgevf_init_roce_base_info(struct hclgevf_dev *hdev)
static int hclgevf_config_gro(struct hclgevf_dev *hdev)
static int hclgevf_rss_init_hw(struct hclgevf_dev *hdev)
static int hclgevf_init_vlan_config(struct hclgevf_dev *hdev,
static void hclgevf_flush_link_update(struct hclgevf_dev *hdev)
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
static void hclgevf_state_init(struct hclgevf_dev *hdev)
static void hclgevf_state_uninit(struct hclgevf_dev *hdev)
static int hclgevf_init_msi(struct hclgevf_dev *hdev)
static int hclgevf_get_queue_depth(struct hclgevf_dev *hdev)
static void hclgevf_uninit_msi(struct hclgevf_dev *hdev)
static int hclgevf_misc_irq_init(struct hclgevf_dev *hdev)
static void hclgevf_misc_irq_uninit(struct hclgevf_dev *hdev)
static void hclgevf_info_show(struct hclgevf_dev *hdev)
struct hclgevf_dev *hdev = ae_dev->priv;
struct hclgevf_dev *hdev = ae_dev->priv;
struct hclgevf_dev *hdev = ae_dev->priv;
struct hclgevf_dev *hdev = ae_dev->priv;
static int hclgevf_dev_mem_map(struct hclgevf_dev *hdev)
static int hclgevf_pci_init(struct hclgevf_dev *hdev)
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
static void hclgevf_pci_uninit(struct hclgevf_dev *hdev)
static int hclgevf_query_vf_resource(struct hclgevf_dev *hdev)
static void hclgevf_set_default_dev_specs(struct hclgevf_dev *hdev)
static void hclgevf_parse_dev_specs(struct hclgevf_dev *hdev,
static void hclgevf_check_dev_specs(struct hclgevf_dev *hdev)
static int hclgevf_query_dev_specs(struct hclgevf_dev *hdev)
static int hclgevf_get_pf_media_type(struct hclgevf_dev *hdev)
static int hclgevf_pci_reset(struct hclgevf_dev *hdev)
static int hclgevf_clear_vport_list(struct hclgevf_dev *hdev)
static void hclgevf_init_rxd_adv_layout(struct hclgevf_dev *hdev)
static void hclgevf_uninit_rxd_adv_layout(struct hclgevf_dev *hdev)
static int hclgevf_reset_hdev(struct hclgevf_dev *hdev)
static int hclgevf_init_hdev(struct hclgevf_dev *hdev)
static int hclgevf_alloc_tqps(struct hclgevf_dev *hdev)
static void hclgevf_uninit_hdev(struct hclgevf_dev *hdev)
struct hclgevf_dev *hdev = ae_dev->priv;
static u32 hclgevf_get_max_channels(struct hclgevf_dev *hdev)
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
void hclgevf_update_speed_duplex(struct hclgevf_dev *hdev, u32 speed,
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
void hclgevf_update_port_base_vlan_info(struct hclgevf_dev *hdev, u16 state,
static int hclgevf_knic_setup(struct hclgevf_dev *hdev)
static void hclgevf_request_link_info(struct hclgevf_dev *hdev)
void hclgevf_update_link_status(struct hclgevf_dev *hdev, int link_state)
static void hclgevf_update_link_mode(struct hclgevf_dev *hdev)
static int hclgevf_set_handle_info(struct hclgevf_dev *hdev)
static void hclgevf_free_vector(struct hclgevf_dev *hdev, int vector_id)
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
static int hclgevf_get_vector_index(struct hclgevf_dev *hdev, int vector)
static int hclgevf_get_rss_hash_key(struct hclgevf_dev *hdev)
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
static int hclgevf_cmd_set_promisc_mode(struct hclgevf_dev *hdev,
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
static void hclgevf_sync_promisc_mode(struct hclgevf_dev *hdev)
static int hclgevf_tqp_enable_cmd_send(struct hclgevf_dev *hdev, u16 tqp_id,
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
static int hclgevf_get_host_mac_addr(struct hclgevf_dev *hdev, u8 *p)
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
void hclgevf_arq_init(struct hclgevf_dev *hdev)
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
static inline bool hclgevf_is_reset_pending(struct hclgevf_dev *hdev)
int hclgevf_send_mbx_msg(struct hclgevf_dev *hdev,
void hclgevf_mbx_handler(struct hclgevf_dev *hdev);
void hclgevf_mbx_async_handler(struct hclgevf_dev *hdev);
void hclgevf_update_link_status(struct hclgevf_dev *hdev, int link_state);
void hclgevf_update_speed_duplex(struct hclgevf_dev *hdev, u32 speed,
void hclgevf_reset_task_schedule(struct hclgevf_dev *hdev);
void hclgevf_mbx_task_schedule(struct hclgevf_dev *hdev);
void hclgevf_update_port_base_vlan_info(struct hclgevf_dev *hdev, u16 state,
struct hclgevf_dev *hclgevf_ae_get_hdev(struct hnae3_handle *handle);
int hclgevf_send_mbx_msg(struct hclgevf_dev *hdev,
static void hclgevf_handle_mbx_response(struct hclgevf_dev *hdev,
static void hclgevf_reset_mbx_resp_status(struct hclgevf_dev *hdev)
static void hclgevf_handle_mbx_msg(struct hclgevf_dev *hdev,
void hclgevf_mbx_handler(struct hclgevf_dev *hdev)
static void hclgevf_parse_promisc_info(struct hclgevf_dev *hdev,
void hclgevf_mbx_async_handler(struct hclgevf_dev *hdev)
static int hclgevf_get_mbx_resp(struct hclgevf_dev *hdev, u16 code0, u16 code1,
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
struct hclgevf_dev *hdev = hclgevf_ae_get_hdev(handle);
struct hclgevf_dev *hdev,
struct hclgevf_dev *hdev,