| /dpdk/drivers/net/hns3/ |
| H A D | hns3_intr.h | 157 int (*enable_err_intr)(struct hns3_adapter *hns, bool en); 173 int hns3_enable_hw_error_intr(struct hns3_adapter *hns, bool state); 174 void hns3_handle_msix_error(struct hns3_adapter *hns, uint64_t *levels); 175 void hns3_handle_ras_error(struct hns3_adapter *hns, uint64_t *levels); 177 void hns3_handle_error(struct hns3_adapter *hns); 184 void hns3_schedule_reset(struct hns3_adapter *hns); 185 void hns3_schedule_delayed_reset(struct hns3_adapter *hns); 186 int hns3_reset_req_hw_reset(struct hns3_adapter *hns); 187 int hns3_reset_process(struct hns3_adapter *hns, 189 void hns3_reset_abort(struct hns3_adapter *hns);
|
| H A D | hns3_ethdev.h | 384 int (*stop_service)(struct hns3_adapter *hns); 387 int (*reinit_dev)(struct hns3_adapter *hns); 388 int (*restore_conf)(struct hns3_adapter *hns); 774 struct hns3_adapter *adapter; 841 struct hns3_adapter *adapter; 856 struct hns3_adapter { struct 901 (&((struct hns3_adapter *)adapter)->hw) 903 (&((struct hns3_adapter *)adapter)->pf) 905 (&((struct hns3_adapter *)adapter)->vf) 907 container_of(hw, struct hns3_adapter, hw) [all …]
|
| H A D | hns3_fdir.h | 179 struct hns3_adapter; 181 int hns3_init_fd_config(struct hns3_adapter *hns); 182 int hns3_fdir_filter_init(struct hns3_adapter *hns); 183 void hns3_fdir_filter_uninit(struct hns3_adapter *hns); 184 int hns3_fdir_filter_program(struct hns3_adapter *hns, 186 int hns3_clear_all_fdir_filter(struct hns3_adapter *hns); 188 int hns3_restore_all_fdir_filter(struct hns3_adapter *hns);
|
| H A D | hns3_ptp.c | 20 struct hns3_adapter *hns = dev->data->dev_private; in hns3_mbuf_dyn_rx_timestamp_register() 78 hns3_timesync_configure(struct hns3_adapter *hns, bool en) in hns3_timesync_configure() 118 struct hns3_adapter *hns = dev->data->dev_private; in hns3_timesync_enable() 139 struct hns3_adapter *hns = dev->data->dev_private; in hns3_timesync_disable() 163 struct hns3_adapter *hns = dev->data->dev_private; in hns3_timesync_read_rx_timestamp() 187 struct hns3_adapter *hns = dev->data->dev_private; in hns3_timesync_read_tx_timestamp() 277 hns3_restore_ptp(struct hns3_adapter *hns) in hns3_restore_ptp()
|
| H A D | hns3_ethdev_vf.c | 351 struct hns3_adapter *hns = dev->data->dev_private; in hns3vf_dev_promiscuous_enable() 412 hns3vf_restore_promisc(struct hns3_adapter *hns) in hns3vf_restore_promisc() 1404 hns3vf_init_hardware(struct hns3_adapter *hns) in hns3vf_init_hardware() 1586 hns3vf_do_stop(struct hns3_adapter *hns) in hns3vf_do_stop() 1923 hns3vf_prepare_reset(struct hns3_adapter *hns) in hns3vf_prepare_reset() 1940 hns3vf_stop_service(struct hns3_adapter *hns) in hns3vf_stop_service() 1985 hns3vf_start_service(struct hns3_adapter *hns) in hns3vf_start_service() 2055 hns3vf_restore_conf(struct hns3_adapter *hns) in hns3vf_restore_conf() 2143 struct hns3_adapter *hns = (struct hns3_adapter *)param; in hns3vf_reset_service() 2189 hns3vf_reinit_dev(struct hns3_adapter *hns) in hns3vf_reinit_dev() [all …]
|
| H A D | hns3_ethdev.c | 104 static int hns3_do_stop(struct hns3_adapter *hns); 648 hns3_vlan_filter_init(struct hns3_adapter *hns) in hns3_vlan_filter_init() 4375 hns3_init_hardware(struct hns3_adapter *hns) in hns3_init_hardware() 5159 hns3_do_stop(struct hns3_adapter *hns) in hns3_do_stop() 5535 hns3_reinit_dev(struct hns3_adapter *hns) in hns3_reinit_dev() 5759 hns3_prepare_reset(struct hns3_adapter *hns) in hns3_prepare_reset() 5805 hns3_stop_service(struct hns3_adapter *hns) in hns3_stop_service() 5845 hns3_start_service(struct hns3_adapter *hns) in hns3_start_service() 5885 hns3_restore_conf(struct hns3_adapter *hns) in hns3_restore_conf() 5949 struct hns3_adapter *hns = (struct hns3_adapter *)param; in hns3_reset_service() [all …]
|
| H A D | hns3_rss.h | 91 struct hns3_adapter; 107 int hns3_config_rss(struct hns3_adapter *hns); 108 void hns3_rss_uninit(struct hns3_adapter *hns);
|
| H A D | hns3_stats.c | 412 struct hns3_adapter *hns = dev->data->dev_private; in hns3_query_update_mac_stats() 771 struct hns3_adapter *hns = dev->data->dev_private; in hns3_mac_stats_reset() 815 struct hns3_adapter *hns = dev->data->dev_private; in hns3_xstats_calc_num() 837 struct hns3_adapter *hns = dev->data->dev_private; in hns3_queue_stats_get() 1006 struct hns3_adapter *hns = dev->data->dev_private; in hns3_imissed_stats_get() 1044 struct hns3_adapter *hns = dev->data->dev_private; in hns3_dev_xstats_get() 1185 struct hns3_adapter *hns = dev->data->dev_private; in hns3_imissed_stats_name_get() 1231 struct hns3_adapter *hns = dev->data->dev_private; in hns3_dev_xstats_get_names() 1322 struct hns3_adapter *hns = dev->data->dev_private; in hns3_dev_xstats_get_by_id() 1402 struct hns3_adapter *hns = dev->data->dev_private; in hns3_dev_xstats_get_names_by_id() [all …]
|
| H A D | hns3_common.h | 44 int hns3_configure_all_mc_mac_addr(struct hns3_adapter *hns, bool del); 45 int hns3_configure_all_mac_addr(struct hns3_adapter *hns, bool del);
|
| H A D | hns3_intr.c | 1766 enable_tm_err_intr(struct hns3_adapter *hns, bool en) in enable_tm_err_intr() 2367 hns3_handle_error(struct hns3_adapter *hns) in hns3_handle_error() 2401 hns3_schedule_reset(struct hns3_adapter *hns) in hns3_schedule_reset() 2430 hns3_schedule_delayed_reset(struct hns3_adapter *hns) in hns3_schedule_delayed_reset() 2453 struct hns3_adapter *hns = data->hns; in hns3_wait_callback() 2503 hns3_reset_req_hw_reset(struct hns3_adapter *hns) in hns3_reset_req_hw_reset() 2583 hns3_reset_err_handle(struct hns3_adapter *hns) in hns3_reset_err_handle() 2639 hns3_reset_pre(struct hns3_adapter *hns) in hns3_reset_pre() 2677 hns3_reset_post(struct hns3_adapter *hns) in hns3_reset_post() 2774 hns3_reset_fail_handle(struct hns3_adapter *hns) in hns3_reset_fail_handle() [all …]
|
| H A D | hns3_common.c | 19 struct hns3_adapter *hns = eth_dev->data->dev_private; in hns3_fw_version_get() 46 struct hns3_adapter *hns = eth_dev->data->dev_private; in hns3_dev_infos_get() 232 struct hns3_adapter *hns = dev->data->dev_private; in hns3_parse_devargs() 330 struct hns3_adapter *hns = HNS3_DEV_HW_TO_ADAPTER(hw); in hns3_set_mc_addr_chk_param() 443 hns3_configure_all_mc_mac_addr(struct hns3_adapter *hns, bool del) in hns3_configure_all_mc_mac_addr() 470 hns3_configure_all_mac_addr(struct hns3_adapter *hns, bool del) in hns3_configure_all_mac_addr() 594 struct hns3_adapter *hns = HNS3_DEV_HW_TO_ADAPTER(hw); in hns3_init_mac_addrs() 771 struct hns3_adapter *hns = dev->data->dev_private; in hns3_unmap_rx_interrupt()
|
| H A D | hns3_dcb.c | 185 struct hns3_adapter *hns = HNS3_DEV_HW_TO_ADAPTER(hw); in hns3_pg_to_pri_map() 761 struct hns3_adapter *hns = HNS3_DEV_HW_TO_ADAPTER(hw); in hns3_dcb_info_init() 807 struct hns3_adapter *hns = HNS3_DEV_HW_TO_ADAPTER(hw); in hns3_dcb_lvl2_schd_mode_cfg() 827 struct hns3_adapter *hns = HNS3_DEV_HW_TO_ADAPTER(hw); in hns3_dcb_lvl34_schd_mode_cfg() 899 struct hns3_adapter *hns = HNS3_DEV_HW_TO_ADAPTER(hw); in hns3_dcb_pri_dwrr_cfg() 936 struct hns3_adapter *hns = HNS3_DEV_HW_TO_ADAPTER(hw); in hns3_dcb_pg_dwrr_cfg() 1055 struct hns3_adapter *hns = HNS3_DEV_HW_TO_ADAPTER(hw); in hns3_pri_q_qs_cfg() 1394 hns3_dcb_parse_num_tc(struct hns3_adapter *hns) in hns3_dcb_parse_num_tc() 1412 hns3_dcb_info_cfg(struct hns3_adapter *hns) in hns3_dcb_info_cfg() 1508 hns3_dcb_hw_configure(struct hns3_adapter *hns) in hns3_dcb_hw_configure() [all …]
|
| H A D | hns3_rss.c | 424 struct hns3_adapter *hns = dev->data->dev_private; in hns3_dev_rss_hash_conf_get() 457 struct hns3_adapter *hns = dev->data->dev_private; in hns3_dev_rss_reta_update() 513 struct hns3_adapter *hns = dev->data->dev_private; in hns3_dev_rss_reta_query() 542 struct hns3_adapter *hns = HNS3_DEV_HW_TO_ADAPTER(hw); in hns3_set_rss_tc_mode_entry() 651 hns3_config_rss(struct hns3_adapter *hns) in hns3_config_rss() 703 hns3_rss_uninit(struct hns3_adapter *hns) in hns3_rss_uninit()
|
| H A D | hns3_flow.c | 145 struct hns3_adapter *hns = dev->data->dev_private; in hns3_counter_lookup() 160 struct hns3_adapter *hns = dev->data->dev_private; in hns3_counter_new() 206 struct hns3_adapter *hns = dev->data->dev_private; in hns3_counter_query() 239 struct hns3_adapter *hns = dev->data->dev_private; in hns3_counter_release() 291 struct hns3_adapter *hns = dev->data->dev_private; in hns3_handle_action_queue() 317 struct hns3_adapter *hns = dev->data->dev_private; in hns3_handle_action_queue_region() 390 struct hns3_adapter *hns = dev->data->dev_private; in hns3_handle_actions() 1217 struct hns3_adapter *hns = dev->data->dev_private; in hns3_parse_fdir_filter() 1374 struct hns3_adapter *hns = dev->data->dev_private; in hns3_parse_rss_filter() 1524 struct hns3_adapter *hns = dev->data->dev_private; in hns3_update_indir_table() [all …]
|
| H A D | hns3_rxtx.h | 352 struct hns3_adapter *hns; 525 struct hns3_adapter *hns; 682 int hns3_reset_all_tqps(struct hns3_adapter *hns); 687 int hns3_init_queues(struct hns3_adapter *hns, bool reset_queue); 692 void hns3_dev_release_mbufs(struct hns3_adapter *hns);
|
| H A D | hns3_dcb.h | 194 int hns3_dcb_configure(struct hns3_adapter *hns); 210 int hns3_update_queue_map_configure(struct hns3_adapter *hns);
|
| H A D | hns3_ethdev_dump.c | 59 get_dev_mac_info(FILE *file, struct hns3_adapter *hns) in get_dev_mac_info() 194 struct hns3_adapter *hns = dev->data->dev_private; in get_device_basic_info() 818 is_link_fc_mode(struct hns3_adapter *hns) in is_link_fc_mode() 835 struct hns3_adapter *hns = dev->data->dev_private; in get_link_fc_info() 877 struct hns3_adapter *hns = dev->data->dev_private; in get_flow_ctrl_info() 894 struct hns3_adapter *hns = dev->data->dev_private; in hns3_eth_dev_priv_dump()
|
| H A D | hns3_fdir.c | 274 static int hns3_set_fd_key_config(struct hns3_adapter *hns) in hns3_set_fd_key_config() 303 int hns3_init_fd_config(struct hns3_adapter *hns) in hns3_init_fd_config() 715 static int hns3_config_key(struct hns3_adapter *hns, in hns3_config_key() 823 int hns3_fdir_filter_init(struct hns3_adapter *hns) in hns3_fdir_filter_init() 865 void hns3_fdir_filter_uninit(struct hns3_adapter *hns) in hns3_fdir_filter_uninit() 956 int hns3_fdir_filter_program(struct hns3_adapter *hns, in hns3_fdir_filter_program() 1022 int hns3_clear_all_fdir_filter(struct hns3_adapter *hns) in hns3_clear_all_fdir_filter() 1062 int hns3_restore_all_fdir_filter(struct hns3_adapter *hns) in hns3_restore_all_fdir_filter()
|
| H A D | hns3_rxtx.c | 112 struct hns3_adapter *hns; in hns3_rx_queue_release_lock() 133 struct hns3_adapter *hns; in hns3_tx_queue_release_lock() 154 struct hns3_adapter *hns; in hns3_fake_rx_queue_release() 181 struct hns3_adapter *hns; in hns3_fake_tx_queue_release() 207 struct hns3_adapter *hns = dev->data->dev_private; in hns3_free_rx_queues() 232 struct hns3_adapter *hns = dev->data->dev_private; in hns3_free_tx_queues() 803 hns3_reset_all_tqps(struct hns3_adapter *hns) in hns3_reset_all_tqps() 1137 hns3_init_tx_ring_tc(struct hns3_adapter *hns) in hns3_init_tx_ring_tc() 1162 hns3_init_rx_queues(struct hns3_adapter *hns) in hns3_init_rx_queues() 1209 hns3_init_tx_queues(struct hns3_adapter *hns) in hns3_init_tx_queues() [all …]
|
| H A D | hns3_regs.c | 121 struct hns3_adapter *hns = HNS3_DEV_HW_TO_ADAPTER(hw); in hns3_get_regs_length() 294 struct hns3_adapter *hns = HNS3_DEV_HW_TO_ADAPTER(hw); in hns3_direct_access_regs() 479 struct hns3_adapter *hns = eth_dev->data->dev_private; in hns3_get_regs()
|
| H A D | hns3_cmd.c | 309 struct hns3_adapter *hns = HNS3_DEV_HW_TO_ADAPTER(hw); in hns3_cmd_poll_reply() 448 struct hns3_adapter *hns = HNS3_DEV_HW_TO_ADAPTER(hw); in hns3_mask_capability() 684 struct hns3_adapter *hns = HNS3_DEV_HW_TO_ADAPTER(hw); in hns3_cmd_init() 779 struct hns3_adapter *hns = HNS3_DEV_HW_TO_ADAPTER(hw); in hns3_cmd_uninit()
|
| H A D | hns3_rxtx_vec.c | 20 struct hns3_adapter *hns = dev->data->dev_private; in hns3_tx_check_vec_support() 237 struct hns3_adapter *hns = dev->data->dev_private; in hns3_rx_check_vec_support()
|
| H A D | hns3_mbx.c | 67 struct hns3_adapter *hns = HNS3_DEV_HW_TO_ADAPTER(hw); in hns3_get_mbx_resp() 446 struct hns3_adapter *hns = HNS3_DEV_HW_TO_ADAPTER(hw); in hns3_dev_handle_mbx_msg()
|