Home
last modified time | relevance | path

Searched refs:i40e_hw (Results 1 – 23 of 23) sorted by relevance

/f-stack/dpdk/drivers/net/i40e/base/
H A Di40e_prototype.h28 u16 i40e_clean_asq(struct i40e_hw *hw);
29 void i40e_free_adminq_asq(struct i40e_hw *hw);
30 void i40e_free_adminq_arq(struct i40e_hw *hw);
42 bool i40e_asq_done(struct i40e_hw *hw);
49 void i40e_idle_aq(struct i40e_hw *hw);
50 bool i40e_check_asq_alive(struct i40e_hw *hw);
68 u32 i40e_led_get(struct i40e_hw *hw);
348 struct i40e_hw *hw, u16 seid,
434 void i40e_clear_hw(struct i40e_hw *hw);
454 void i40e_release_nvm(struct i40e_hw *hw);
[all …]
H A Di40e_lan_hmc.h9 struct i40e_hw;
141 enum i40e_status_code i40e_init_lan_hmc(struct i40e_hw *hw, u32 txq_num,
144 enum i40e_status_code i40e_configure_lan_hmc(struct i40e_hw *hw,
146 enum i40e_status_code i40e_shutdown_lan_hmc(struct i40e_hw *hw);
150 enum i40e_status_code i40e_get_lan_tx_queue_context(struct i40e_hw *hw,
153 enum i40e_status_code i40e_clear_lan_tx_queue_context(struct i40e_hw *hw,
155 enum i40e_status_code i40e_set_lan_tx_queue_context(struct i40e_hw *hw,
158 enum i40e_status_code i40e_get_lan_rx_queue_context(struct i40e_hw *hw,
163 enum i40e_status_code i40e_set_lan_rx_queue_context(struct i40e_hw *hw,
166 enum i40e_status_code i40e_create_lan_hmc_object(struct i40e_hw *hw,
[all …]
H A Di40e_alloc.h8 struct i40e_hw;
24 enum i40e_status_code i40e_allocate_dma_mem(struct i40e_hw *hw,
28 enum i40e_status_code i40e_free_dma_mem(struct i40e_hw *hw,
30 enum i40e_status_code i40e_allocate_virt_mem(struct i40e_hw *hw,
33 enum i40e_status_code i40e_free_virt_mem(struct i40e_hw *hw,
H A Di40e_diag.h24 enum i40e_status_code i40e_diag_set_loopback(struct i40e_hw *hw,
26 enum i40e_status_code i40e_diag_fw_alive_test(struct i40e_hw *hw);
27 enum i40e_status_code i40e_diag_reg_test(struct i40e_hw *hw);
28 enum i40e_status_code i40e_diag_eeprom_test(struct i40e_hw *hw);
H A Di40e_nvm.c19 enum i40e_status_code i40e_init_nvm(struct i40e_hw *hw) in i40e_init_nvm()
60 enum i40e_status_code i40e_acquire_nvm(struct i40e_hw *hw, in i40e_acquire_nvm()
119 void i40e_release_nvm(struct i40e_hw *hw) in i40e_release_nvm()
232 STATIC enum i40e_status_code i40e_read_nvm_aq(struct i40e_hw *hw, in i40e_read_nvm_aq()
306 enum i40e_status_code __i40e_read_nvm_word(struct i40e_hw *hw, in __i40e_read_nvm_word()
515 enum i40e_status_code __i40e_read_nvm_buffer(struct i40e_hw *hw, in __i40e_read_nvm_buffer()
637 enum i40e_status_code __i40e_write_nvm_buffer(struct i40e_hw *hw, in __i40e_write_nvm_buffer()
749 enum i40e_status_code i40e_update_nvm_checksum(struct i40e_hw *hw) in i40e_update_nvm_checksum()
885 enum i40e_status_code i40e_nvmupd_command(struct i40e_hw *hw, in i40e_nvmupd_command()
1329 void i40e_nvmupd_clear_wait_state(struct i40e_hw *hw) in i40e_nvmupd_clear_wait_state()
[all …]
H A Di40e_common.c19 enum i40e_status_code i40e_set_mac_type(struct i40e_hw *hw) in i40e_set_mac_type()
376 bool i40e_check_asq_alive(struct i40e_hw *hw) in i40e_check_asq_alive()
1440 void i40e_clear_hw(struct i40e_hw *hw) in i40e_clear_hw()
1532 void i40e_clear_pxe_mode(struct i40e_hw *hw) in i40e_clear_pxe_mode()
1589 u32 i40e_led_get(struct i40e_hw *hw) in i40e_led_get()
3720 i40e_aq_nvm_update_in_process(struct i40e_hw *hw, in i40e_aq_nvm_update_in_process()
5441 struct i40e_hw *hw, u16 seid, in i40e_aq_config_switch_comp_ets_bw_limit()
7457 i40e_aq_set_phy_register_ext(struct i40e_hw *hw, in i40e_aq_set_phy_register_ext()
7503 i40e_aq_get_phy_register_ext(struct i40e_hw *hw, in i40e_aq_get_phy_register_ext()
7632 void i40e_vf_parse_hw_config(struct i40e_hw *hw, in i40e_vf_parse_hw_config()
[all …]
H A Di40e_dcb.h192 enum i40e_status_code i40e_get_dcbx_status(struct i40e_hw *hw,
196 enum i40e_status_code i40e_aq_get_dcb_config(struct i40e_hw *hw, u8 mib_type,
199 enum i40e_status_code i40e_get_dcb_config(struct i40e_hw *hw);
200 enum i40e_status_code i40e_init_dcb(struct i40e_hw *hw,
203 i40e_get_fw_lldp_status(struct i40e_hw *hw,
205 enum i40e_status_code i40e_set_dcb_config(struct i40e_hw *hw);
H A Di40e_diag.c15 enum i40e_status_code i40e_diag_set_loopback(struct i40e_hw *hw, in i40e_diag_set_loopback()
32 static enum i40e_status_code i40e_diag_reg_pattern_test(struct i40e_hw *hw, in i40e_diag_reg_pattern_test()
80 enum i40e_status_code i40e_diag_reg_test(struct i40e_hw *hw) in i40e_diag_reg_test()
121 enum i40e_status_code i40e_diag_eeprom_test(struct i40e_hw *hw) in i40e_diag_eeprom_test()
142 enum i40e_status_code i40e_diag_fw_alive_test(struct i40e_hw *hw) in i40e_diag_fw_alive_test()
H A Di40e_hmc.h11 struct i40e_hw;
192 enum i40e_status_code i40e_add_sd_table_entry(struct i40e_hw *hw,
198 enum i40e_status_code i40e_add_pd_table_entry(struct i40e_hw *hw,
202 enum i40e_status_code i40e_remove_pd_bp(struct i40e_hw *hw,
207 enum i40e_status_code i40e_remove_sd_bp_new(struct i40e_hw *hw,
212 enum i40e_status_code i40e_remove_pd_page_new(struct i40e_hw *hw,
H A Di40e_adminq.c17 STATIC void i40e_adminq_init_regs(struct i40e_hw *hw) in i40e_adminq_init_regs()
98 void i40e_free_adminq_asq(struct i40e_hw *hw) in i40e_free_adminq_asq()
111 void i40e_free_adminq_arq(struct i40e_hw *hw) in i40e_free_adminq_arq()
227 STATIC void i40e_free_arq_bufs(struct i40e_hw *hw) in i40e_free_arq_bufs()
246 STATIC void i40e_free_asq_bufs(struct i40e_hw *hw) in i40e_free_asq_bufs()
375 enum i40e_status_code i40e_init_asq(struct i40e_hw *hw) in i40e_init_asq()
557 STATIC void i40e_resume_aq(struct i40e_hw *hw) in i40e_resume_aq()
576 STATIC void i40e_set_hw_flags(struct i40e_hw *hw) in i40e_set_hw_flags()
781 u16 i40e_clean_asq(struct i40e_hw *hw) in i40e_clean_asq()
824 bool i40e_asq_done(struct i40e_hw *hw) in i40e_asq_done()
[all …]
H A Di40e_hmc.c20 enum i40e_status_code i40e_add_sd_table_entry(struct i40e_hw *hw, in i40e_add_sd_table_entry()
113 enum i40e_status_code i40e_add_pd_table_entry(struct i40e_hw *hw, in i40e_add_pd_table_entry()
194 enum i40e_status_code i40e_remove_pd_bp(struct i40e_hw *hw, in i40e_remove_pd_bp()
278 enum i40e_status_code i40e_remove_sd_bp_new(struct i40e_hw *hw, in i40e_remove_sd_bp_new()
327 enum i40e_status_code i40e_remove_pd_page_new(struct i40e_hw *hw, in i40e_remove_pd_page_new()
H A Di40e_lan_hmc.c77 enum i40e_status_code i40e_init_lan_hmc(struct i40e_hw *hw, u32 txq_num, in i40e_init_lan_hmc()
237 STATIC enum i40e_status_code i40e_remove_pd_page(struct i40e_hw *hw, in i40e_remove_pd_page()
264 STATIC enum i40e_status_code i40e_remove_sd_bp(struct i40e_hw *hw, in i40e_remove_sd_bp()
284 enum i40e_status_code i40e_create_lan_hmc_object(struct i40e_hw *hw, in i40e_create_lan_hmc_object()
443 enum i40e_status_code i40e_configure_lan_hmc(struct i40e_hw *hw, in i40e_configure_lan_hmc()
528 enum i40e_status_code i40e_delete_lan_hmc_object(struct i40e_hw *hw, in i40e_delete_lan_hmc_object()
640 enum i40e_status_code i40e_shutdown_lan_hmc(struct i40e_hw *hw) in i40e_shutdown_lan_hmc()
1145 static enum i40e_status_code i40e_clear_hmc_context(struct i40e_hw *hw, in i40e_clear_hmc_context()
1204 enum i40e_status_code i40e_hmc_get_object_va(struct i40e_hw *hw, in i40e_hmc_get_object_va()
1270 enum i40e_status_code i40e_get_lan_tx_queue_context(struct i40e_hw *hw, in i40e_get_lan_tx_queue_context()
[all …]
H A Di40e_dcb.c16 enum i40e_status_code i40e_get_dcbx_status(struct i40e_hw *hw, u16 *status) in i40e_get_dcbx_status()
554 enum i40e_status_code i40e_aq_get_dcb_config(struct i40e_hw *hw, u8 mib_type, in i40e_aq_get_dcb_config()
770 STATIC enum i40e_status_code i40e_get_ieee_dcb_config(struct i40e_hw *hw) in i40e_get_ieee_dcb_config()
800 enum i40e_status_code i40e_get_dcb_config(struct i40e_hw *hw) in i40e_get_dcb_config()
870 enum i40e_status_code i40e_init_dcb(struct i40e_hw *hw, bool enable_mib_change) in i40e_init_dcb()
944 i40e_get_fw_lldp_status(struct i40e_hw *hw, in i40e_get_fw_lldp_status()
1240 enum i40e_status_code i40e_set_dcb_config(struct i40e_hw *hw) in i40e_set_dcb_config()
1315 static enum i40e_status_code _i40e_read_lldp_cfg(struct i40e_hw *hw, in _i40e_read_lldp_cfg()
1377 enum i40e_status_code i40e_read_lldp_cfg(struct i40e_hw *hw, in i40e_read_lldp_cfg()
H A Di40e_type.h66 struct i40e_hw;
67 typedef void (*I40E_ADMINQ_CALLBACK)(struct i40e_hw *, struct i40e_aq_desc *);
672 struct i40e_hw { struct
765 STATIC INLINE bool i40e_is_vf(struct i40e_hw *hw) in i40e_is_vf() argument
/f-stack/dpdk/drivers/net/i40e/
H A Di40e_ethdev.c751 struct i40e_hw *hw = I40E_PF_TO_HW(pf); in i40e_config_automask()
775 struct i40e_hw *hw = I40E_PF_TO_HW(pf); in i40e_add_tx_flow_control_drop_filter()
1889 struct i40e_hw *hw; in eth_i40e_dev_uninit()
2261 i40e_phy_conf_link(struct i40e_hw *hw, in i40e_phy_conf_link()
4175 struct i40e_hw *hw; in i40e_flow_ctrl_set()
4428 struct i40e_hw *hw; in i40e_set_rss_lut()
4679 i40e_get_cap(struct i40e_hw *hw) in i40e_get_cap()
5188 struct i40e_hw *hw; in i40e_vsi_vlan_pvid_set()
5331 struct i40e_hw *hw; in i40e_veb_release()
5363 struct i40e_hw *hw; in i40e_veb_setup()
[all …]
H A Di40e_ethdev_vf.c1166 i40evf_disable_irq0(struct i40e_hw *hw) in i40evf_disable_irq0()
1177 i40evf_enable_irq0(struct i40e_hw *hw) in i40evf_enable_irq0()
1566 struct i40e_hw *hw in i40evf_dev_init()
1695 struct i40e_hw *hw; in i40evf_dev_configure()
2473 struct i40e_hw *hw = I40E_VSI_TO_HW(vsi); in i40evf_get_rss_lut()
2501 struct i40e_hw *hw; in i40evf_set_rss_lut()
2611 struct i40e_hw *hw = I40E_VSI_TO_HW(vsi); in i40evf_set_rss_key()
2647 struct i40e_hw *hw = I40E_VSI_TO_HW(vsi); in i40evf_get_rss_key()
2675 struct i40e_hw *hw = I40E_VF_TO_HW(vf); in i40evf_hw_rss_hash_set()
2695 struct i40e_hw *hw = I40E_VF_TO_HW(vf); in i40evf_disable_rss()
[all …]
H A Di40e_ethdev.h1261 struct i40e_hw hw;
1343 void i40e_pf_disable_irq0(struct i40e_hw *hw);
1344 void i40e_pf_enable_irq0(struct i40e_hw *hw);
1370 int i40e_dev_set_gre_key_len(struct i40e_hw *hw, uint8_t len);
1375 int i40e_select_filter_input_set(struct i40e_hw *hw,
1379 int i40e_hash_filter_inset_select(struct i40e_hw *hw,
1442 void i40e_check_write_global_reg(struct i40e_hw *hw,
1455 struct i40e_hw *hw, struct i40e_pf *pf, uint16_t on);
1457 void i40e_flex_payload_reg_set_default(struct i40e_hw *hw);
1485 struct i40e_hw *hw; in i40e_get_vsi_from_adapter()
[all …]
H A Di40e_pf.c44 struct i40e_hw *hw = I40E_PF_TO_HW(vf->pf); in i40e_pf_vf_queues_mapping()
97 struct i40e_hw *hw; in i40e_pf_host_vf_reset()
232 struct i40e_hw *hw = I40E_PF_TO_HW(vf->pf); in i40e_pf_host_send_msg_to_vf()
291 struct i40e_hw *hw = I40E_PF_TO_HW(vf->pf); in i40e_pf_host_process_cmd_get_vf_resource()
480 struct i40e_hw *hw = I40E_PF_TO_HW(vf->pf); in i40e_pf_host_process_cmd_config_vsi_queues()
547 struct i40e_hw *hw = I40E_PF_TO_HW(vf->pf); in i40e_pf_config_irq_link_list()
645 struct i40e_hw *hw = I40E_PF_TO_HW(vf->pf); in i40e_pf_host_process_cmd_config_irq_map()
722 struct i40e_hw *hw = I40E_PF_TO_HW(vf->pf); in i40e_pf_host_switch_queues()
994 struct i40e_hw *hw = I40E_PF_TO_HW(vf->pf); in i40e_pf_host_process_cmd_config_promisc_mode()
1504 struct i40e_hw *hw = I40E_PF_TO_HW(pf); in i40e_pf_host_init()
[all …]
H A Drte_pmd_i40e.c47 struct i40e_hw *hw; in rte_pmd_i40e_set_vf_mac_anti_spoof()
151 struct i40e_hw *hw; in rte_pmd_i40e_set_vf_vlan_anti_spoof()
333 struct i40e_hw *hw; in i40e_vsi_set_tx_loopback()
454 struct i40e_hw *hw; in rte_pmd_i40e_set_vf_unicast_promisc()
495 struct i40e_hw *hw; in rte_pmd_i40e_set_vf_multicast_promisc()
661 struct i40e_hw *hw; in rte_pmd_i40e_set_vf_vlan_insert()
727 struct i40e_hw *hw; in rte_pmd_i40e_set_vf_broadcast()
791 struct i40e_hw *hw; in rte_pmd_i40e_set_vf_vlan_tag()
886 struct i40e_hw *hw; in rte_pmd_i40e_set_vf_vlan_filter()
1048 struct i40e_hw *hw; in rte_pmd_i40e_set_vf_max_bw()
[all …]
H A Di40e_fdir.c157 struct i40e_hw *hw = I40E_PF_TO_HW(pf); in i40e_fdir_setup()
284 struct i40e_hw *hw = I40E_PF_TO_HW(pf); in i40e_fdir_teardown()
315 i40e_fdir_empty(struct i40e_hw *hw) in i40e_fdir_empty()
338 struct i40e_hw *hw = I40E_PF_TO_HW(pf); in i40e_init_flx_pld()
534 struct i40e_hw *hw = I40E_PF_TO_HW(pf); in i40e_set_flx_pld_cfg()
600 struct i40e_hw *hw = I40E_PF_TO_HW(pf); in i40e_set_flex_mask_on_pctype()
1483 struct i40e_hw *hw = I40E_PF_TO_HW(pf); in i40e_flow_set_fdir_flex_pit()
1566 struct i40e_hw *hw = I40E_PF_TO_HW(pf); in i40e_flow_set_fdir_flex_msk()
1964 struct i40e_hw *hw = I40E_PF_TO_HW(pf); in i40e_fdir_flush()
2083 struct i40e_hw *hw = I40E_PF_TO_HW(pf); in i40e_fdir_info_get()
[all …]
H A Di40e_tm.c135 struct i40e_hw *hw = I40E_DEV_PRIVATE_TO_HW(dev->data->dev_private); in i40e_tm_capabilities_get()
359 struct i40e_hw *hw = I40E_DEV_PRIVATE_TO_HW(dev->data->dev_private); in i40e_node_param_check()
456 struct i40e_hw *hw = I40E_DEV_PRIVATE_TO_HW(dev->data->dev_private); in i40e_node_add()
726 struct i40e_hw *hw = I40E_DEV_PRIVATE_TO_HW(dev->data->dev_private); in i40e_level_capabilities_get()
810 struct i40e_hw *hw = I40E_DEV_PRIVATE_TO_HW(dev->data->dev_private); in i40e_node_capabilities_get()
876 struct i40e_hw *hw; in i40e_hierarchy_commit()
H A Di40e_rxtx.c1570 struct i40e_hw *hw = I40E_DEV_PRIVATE_TO_HW(dev->data->dev_private); in i40e_dev_rx_queue_start()
1613 struct i40e_hw *hw = I40E_DEV_PRIVATE_TO_HW(dev->data->dev_private); in i40e_dev_rx_queue_stop()
1644 struct i40e_hw *hw = I40E_DEV_PRIVATE_TO_HW(dev->data->dev_private); in i40e_dev_tx_queue_start()
1679 struct i40e_hw *hw = I40E_DEV_PRIVATE_TO_HW(dev->data->dev_private); in i40e_dev_tx_queue_stop()
1833 struct i40e_hw *hw = I40E_DEV_PRIVATE_TO_HW(dev->data->dev_private); in i40e_dev_rx_queue_setup()
2173 struct i40e_hw *hw = I40E_DEV_PRIVATE_TO_HW(dev->data->dev_private); in i40e_dev_tx_queue_setup()
2682 struct i40e_hw *hw = I40E_VSI_TO_HW(vsi); in i40e_tx_queue_init()
2771 struct i40e_hw *hw = I40E_VSI_TO_HW(rxq->vsi); in i40e_rx_queue_config()
2829 struct i40e_hw *hw = I40E_VSI_TO_HW(rxq->vsi); in i40e_rx_queue_init()
3393 struct i40e_hw *hw = I40E_DEV_PRIVATE_TO_HW(dev->data->dev_private); in i40e_set_default_pctype_table()
H A Di40e_flow.c2016 struct i40e_hw *hw = I40E_DEV_PRIVATE_TO_HW(dev->data->dev_private); in i40e_get_outer_vlan()
2251 struct i40e_hw *hw = I40E_PF_TO_HW(pf); in i40e_flow_set_fdir_inset()
4685 struct i40e_hw *hw = I40E_DEV_PRIVATE_TO_HW(dev->data->dev_private); in i40e_flow_parse_rss_action()
5039 struct i40e_hw *hw = I40E_DEV_PRIVATE_TO_HW(dev->data->dev_private); in i40e_config_rss_filter_set()
5074 struct i40e_hw *hw = I40E_DEV_PRIVATE_TO_HW(dev->data->dev_private); in i40e_config_rss_filter_del()
5337 struct i40e_hw *hw = I40E_PF_TO_HW(pf); in i40e_flow_destroy_ethertype_filter()
5372 struct i40e_hw *hw = I40E_PF_TO_HW(pf); in i40e_flow_destroy_tunnel_filter()
5586 struct i40e_hw *hw = I40E_DEV_PRIVATE_TO_HW(dev->data->dev_private); in i40e_flow_flush_rss_filter()