| /f-stack/dpdk/drivers/net/hns3/ |
| H A D | hns3_intr.h | 83 int (*enable_err_intr)(struct hns3_adapter *hns, bool en); 99 int hns3_enable_hw_error_intr(struct hns3_adapter *hns, bool state); 100 void hns3_handle_msix_error(struct hns3_adapter *hns, uint64_t *levels); 101 void hns3_handle_ras_error(struct hns3_adapter *hns, uint64_t *levels); 108 void hns3_schedule_reset(struct hns3_adapter *hns); 109 void hns3_schedule_delayed_reset(struct hns3_adapter *hns); 110 int hns3_reset_req_hw_reset(struct hns3_adapter *hns); 111 int hns3_reset_process(struct hns3_adapter *hns, 113 void hns3_reset_abort(struct hns3_adapter *hns);
|
| H A D | hns3_fdir.h | 214 struct hns3_adapter; 216 int hns3_init_fd_config(struct hns3_adapter *hns); 217 int hns3_fdir_filter_init(struct hns3_adapter *hns); 218 void hns3_fdir_filter_uninit(struct hns3_adapter *hns); 219 int hns3_fdir_filter_program(struct hns3_adapter *hns, 221 int hns3_clear_all_fdir_filter(struct hns3_adapter *hns); 224 int hns3_restore_all_fdir_filter(struct hns3_adapter *hns);
|
| H A D | hns3_ethdev.h | 334 int (*stop_service)(struct hns3_adapter *hns); 335 int (*prepare_reset)(struct hns3_adapter *hns); 337 int (*reinit_dev)(struct hns3_adapter *hns); 338 int (*restore_conf)(struct hns3_adapter *hns); 676 struct hns3_adapter *adapter; 733 struct hns3_adapter *adapter; 736 struct hns3_adapter { struct 793 (&((struct hns3_adapter *)adapter)->hw) 795 (&((struct hns3_adapter *)adapter)->pf) 797 container_of(hw, struct hns3_adapter, hw) [all …]
|
| H A D | hns3_ethdev.c | 592 hns3_vlan_filter_init(struct hns3_adapter *hns) in hns3_vlan_filter_init() 999 hns3_init_vlan_config(struct hns3_adapter *hns) in hns3_init_vlan_config() 4466 hns3_init_hardware(struct hns3_adapter *hns) in hns3_init_hardware() 4935 hns3_do_stop(struct hns3_adapter *hns) in hns3_do_stop() 5245 hns3_reinit_dev(struct hns3_adapter *hns) in hns3_reinit_dev() 5469 hns3_prepare_reset(struct hns3_adapter *hns) in hns3_prepare_reset() 5515 hns3_stop_service(struct hns3_adapter *hns) in hns3_stop_service() 5553 hns3_start_service(struct hns3_adapter *hns) in hns3_start_service() 5585 hns3_restore_conf(struct hns3_adapter *hns) in hns3_restore_conf() 5645 struct hns3_adapter *hns = (struct hns3_adapter *)param; in hns3_reset_service() [all …]
|
| H A D | hns3_ethdev_vf.c | 671 hns3vf_restore_promisc(struct hns3_adapter *hns) in hns3vf_restore_promisc() 1708 hns3vf_init_hardware(struct hns3_adapter *hns) in hns3vf_init_hardware() 1888 hns3vf_do_stop(struct hns3_adapter *hns) in hns3vf_do_stop() 2281 hns3vf_is_reset_pending(struct hns3_adapter *hns) in hns3vf_is_reset_pending() 2360 hns3vf_prepare_reset(struct hns3_adapter *hns) in hns3vf_prepare_reset() 2375 hns3vf_stop_service(struct hns3_adapter *hns) in hns3vf_stop_service() 2413 hns3vf_start_service(struct hns3_adapter *hns) in hns3vf_start_service() 2483 hns3vf_restore_conf(struct hns3_adapter *hns) in hns3vf_restore_conf() 2564 struct hns3_adapter *hns = (struct hns3_adapter *)param; in hns3vf_reset_service() 2609 hns3vf_reinit_dev(struct hns3_adapter *hns) in hns3vf_reinit_dev() [all …]
|
| H A D | hns3_rss.h | 93 struct hns3_adapter; 109 int hns3_config_rss(struct hns3_adapter *hns); 110 void hns3_rss_uninit(struct hns3_adapter *hns);
|
| H A D | hns3_stats.c | 397 struct hns3_adapter *hns = dev->data->dev_private; in hns3_mac_query_reg_num() 430 struct hns3_adapter *hns = dev->data->dev_private; in hns3_query_update_mac_stats() 500 struct hns3_adapter *hns = eth_dev->data->dev_private; in hns3_stats_get() 618 struct hns3_adapter *hns = dev->data->dev_private; in hns3_mac_stats_reset() 638 struct hns3_adapter *hns = dev->data->dev_private; in hns3_xstats_calc_num() 656 struct hns3_adapter *hns = dev->data->dev_private; in hns3_get_queue_stats() 718 struct hns3_adapter *hns = dev->data->dev_private; in hns3_dev_xstats_get() 827 struct hns3_adapter *hns = dev->data->dev_private; in hns3_dev_xstats_get_names() 928 struct hns3_adapter *hns = dev->data->dev_private; in hns3_dev_xstats_get_by_id() 1002 struct hns3_adapter *hns = dev->data->dev_private; in hns3_dev_xstats_get_names_by_id() [all …]
|
| H A D | hns3_dcb.c | 188 struct hns3_adapter *hns = HNS3_DEV_HW_TO_ADAPTER(hw); in hns3_pg_to_pri_map() 408 struct hns3_adapter *hns = HNS3_DEV_HW_TO_ADAPTER(hw); in hns3_dcb_pg_shaper_cfg() 589 struct hns3_adapter *hns = HNS3_DEV_HW_TO_ADAPTER(hw); in hns3_dcb_pri_shaper_cfg() 699 struct hns3_adapter *hns = HNS3_DEV_HW_TO_ADAPTER(hw); in hns3_dcb_update_tc_queue_mapping() 717 struct hns3_adapter *hns = HNS3_DEV_HW_TO_ADAPTER(hw); in hns3_dcb_info_init() 763 struct hns3_adapter *hns = HNS3_DEV_HW_TO_ADAPTER(hw); in hns3_dcb_lvl2_schd_mode_cfg() 783 struct hns3_adapter *hns = HNS3_DEV_HW_TO_ADAPTER(hw); in hns3_dcb_lvl34_schd_mode_cfg() 1388 hns3_dcb_info_cfg(struct hns3_adapter *hns) in hns3_dcb_info_cfg() 1484 hns3_dcb_hw_configure(struct hns3_adapter *hns) in hns3_dcb_hw_configure() 1557 hns3_dcb_configure(struct hns3_adapter *hns) in hns3_dcb_configure() [all …]
|
| H A D | hns3_intr.c | 1182 enable_ppp_err_intr(struct hns3_adapter *hns, bool en) in enable_ppp_err_intr() 1194 enable_ssu_err_intr(struct hns3_adapter *hns, bool en) in enable_ssu_err_intr() 1329 enable_tm_err_intr(struct hns3_adapter *hns, bool en) in enable_tm_err_intr() 1776 hns3_schedule_reset(struct hns3_adapter *hns) in hns3_schedule_reset() 1800 hns3_schedule_delayed_reset(struct hns3_adapter *hns) in hns3_schedule_delayed_reset() 1821 struct hns3_adapter *hns = data->hns; in hns3_wait_callback() 1871 hns3_reset_req_hw_reset(struct hns3_adapter *hns) in hns3_reset_req_hw_reset() 1951 hns3_reset_err_handle(struct hns3_adapter *hns) in hns3_reset_err_handle() 2007 hns3_reset_pre(struct hns3_adapter *hns) in hns3_reset_pre() 2045 hns3_reset_post(struct hns3_adapter *hns) in hns3_reset_post() [all …]
|
| H A D | hns3_rss.c | 406 struct hns3_adapter *hns = dev->data->dev_private; in hns3_dev_rss_hash_update() 472 struct hns3_adapter *hns = dev->data->dev_private; in hns3_dev_rss_hash_conf_get() 505 struct hns3_adapter *hns = dev->data->dev_private; in hns3_dev_rss_reta_update() 561 struct hns3_adapter *hns = dev->data->dev_private; in hns3_dev_rss_reta_query() 678 hns3_config_rss(struct hns3_adapter *hns) in hns3_config_rss() 750 hns3_rss_uninit(struct hns3_adapter *hns) in hns3_rss_uninit()
|
| H A D | hns3_rxtx.h | 272 struct hns3_adapter *hns; 334 struct hns3_adapter *hns; 607 int hns3_reset_all_tqps(struct hns3_adapter *hns); 612 int hns3_init_queues(struct hns3_adapter *hns, bool reset_queue); 617 void hns3_dev_release_mbufs(struct hns3_adapter *hns);
|
| H A D | hns3_flow.c | 146 struct hns3_adapter *hns = dev->data->dev_private; in hns3_counter_lookup() 161 struct hns3_adapter *hns = dev->data->dev_private; in hns3_counter_new() 194 struct hns3_adapter *hns = dev->data->dev_private; in hns3_counter_query() 225 struct hns3_adapter *hns = dev->data->dev_private; in hns3_counter_release() 245 struct hns3_adapter *hns = dev->data->dev_private; in hns3_counter_flush() 263 struct hns3_adapter *hns = dev->data->dev_private; in hns3_handle_action_queue() 289 struct hns3_adapter *hns = dev->data->dev_private; in hns3_handle_action_queue_region() 338 struct hns3_adapter *hns = dev->data->dev_private; in hns3_handle_actions() 1200 struct hns3_adapter *hns = dev->data->dev_private; in hns3_parse_fdir_filter() 1344 struct hns3_adapter *hns = dev->data->dev_private; in hns3_parse_rss_filter() [all …]
|
| H A D | hns3_dcb.h | 194 int hns3_dcb_configure(struct hns3_adapter *hns); 210 int hns3_dcb_cfg_update(struct hns3_adapter *hns);
|
| H A D | hns3_regs.c | 104 struct hns3_adapter *hns = HNS3_DEV_HW_TO_ADAPTER(hw); in hns3_get_regs_length() 254 struct hns3_adapter *hns = HNS3_DEV_HW_TO_ADAPTER(hw); in hns3_direct_access_regs() 308 struct hns3_adapter *hns = eth_dev->data->dev_private; in hns3_get_regs()
|
| H A D | hns3_rxtx.c | 112 struct hns3_adapter *hns; in hns3_dev_rx_queue_release() 127 struct hns3_adapter *hns; in hns3_dev_tx_queue_release() 142 struct hns3_adapter *hns; in hns3_fake_rx_queue_release() 169 struct hns3_adapter *hns; in hns3_fake_tx_queue_release() 195 struct hns3_adapter *hns = dev->data->dev_private; in hns3_free_rx_queues() 220 struct hns3_adapter *hns = dev->data->dev_private; in hns3_free_tx_queues() 708 hns3_reset_all_tqps(struct hns3_adapter *hns) in hns3_reset_all_tqps() 1017 hns3_init_tx_ring_tc(struct hns3_adapter *hns) in hns3_init_tx_ring_tc() 1042 hns3_init_rx_queues(struct hns3_adapter *hns) in hns3_init_rx_queues() 1089 hns3_init_tx_queues(struct hns3_adapter *hns) in hns3_init_tx_queues() [all …]
|
| 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() 702 static int hns3_config_key(struct hns3_adapter *hns, in hns3_config_key() 810 int hns3_fdir_filter_init(struct hns3_adapter *hns) in hns3_fdir_filter_init() 853 void hns3_fdir_filter_uninit(struct hns3_adapter *hns) in hns3_fdir_filter_uninit() 955 int hns3_fdir_filter_program(struct hns3_adapter *hns, in hns3_fdir_filter_program() 1023 int hns3_clear_all_fdir_filter(struct hns3_adapter *hns) in hns3_clear_all_fdir_filter() 1053 int hns3_restore_all_fdir_filter(struct hns3_adapter *hns) in hns3_restore_all_fdir_filter()
|
| H A D | hns3_mbx.c | 47 struct hns3_adapter *adapter; in hns3_poll_all_sync_msg() 70 struct hns3_adapter *hns = HNS3_DEV_HW_TO_ADAPTER(hw); in hns3_get_mbx_resp()
|
| H A D | hns3_stats.h | 151 void hns3_error_int_stats_add(struct hns3_adapter *hns, const char *err);
|
| H A D | hns3_cmd.c | 309 struct hns3_adapter *hns = HNS3_DEV_HW_TO_ADAPTER(hw); in hns3_cmd_poll_reply()
|