Home
last modified time | relevance | path

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

/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 i40e_asq_send_command_v2(struct i40e_hw *hw,
49 bool i40e_asq_done(struct i40e_hw *hw);
56 void i40e_idle_aq(struct i40e_hw *hw);
57 bool i40e_check_asq_alive(struct i40e_hw *hw);
75 u32 i40e_led_get(struct i40e_hw *hw);
365 struct i40e_hw *hw, u16 seid,
451 void i40e_clear_hw(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_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()
886 enum i40e_status_code i40e_nvmupd_command(struct i40e_hw *hw, in i40e_nvmupd_command()
1330 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()
3174 i40e_aq_add_macvlan(struct i40e_hw *hw, u16 seid, in i40e_aq_add_macvlan()
5554 struct i40e_hw *hw, u16 seid, in i40e_aq_config_switch_comp_ets_bw_limit()
7570 i40e_aq_set_phy_register_ext(struct i40e_hw *hw, in i40e_aq_set_phy_register_ext()
7616 i40e_aq_get_phy_register_ext(struct i40e_hw *hw, in i40e_aq_get_phy_register_ext()
7745 void i40e_vf_parse_hw_config(struct i40e_hw *hw, in i40e_vf_parse_hw_config()
[all …]
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_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_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()
561 STATIC void i40e_resume_aq(struct i40e_hw *hw) in i40e_resume_aq()
787 u16 i40e_clean_asq(struct i40e_hw *hw) in i40e_clean_asq()
830 bool i40e_asq_done(struct i40e_hw *hw) in i40e_asq_done()
832 STATIC bool i40e_asq_done(struct i40e_hw *hw) in i40e_asq_done()
854 i40e_asq_send_command_exec(struct i40e_hw *hw,
1065 i40e_asq_send_command(struct i40e_hw *hw,
[all …]
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_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()
560 enum i40e_status_code i40e_aq_get_dcb_config(struct i40e_hw *hw, u8 mib_type, in i40e_aq_get_dcb_config()
776 STATIC enum i40e_status_code i40e_get_ieee_dcb_config(struct i40e_hw *hw) in i40e_get_ieee_dcb_config()
806 enum i40e_status_code i40e_get_dcb_config(struct i40e_hw *hw) in i40e_get_dcb_config()
876 enum i40e_status_code i40e_init_dcb(struct i40e_hw *hw, bool enable_mib_change) in i40e_init_dcb()
950 i40e_get_fw_lldp_status(struct i40e_hw *hw, in i40e_get_fw_lldp_status()
1246 enum i40e_status_code i40e_set_dcb_config(struct i40e_hw *hw) in i40e_set_dcb_config()
1321 static enum i40e_status_code _i40e_read_lldp_cfg(struct i40e_hw *hw, in _i40e_read_lldp_cfg()
1383 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 *);
676 struct i40e_hw { struct
769 STATIC INLINE bool i40e_is_vf(struct i40e_hw *hw) in i40e_is_vf() argument
/dpdk/drivers/net/i40e/
H A Di40e_ethdev.c767 struct i40e_hw *hw = I40E_PF_TO_HW(pf); in i40e_config_automask()
1849 struct i40e_hw *hw; in eth_i40e_dev_uninit()
2224 i40e_phy_conf_link(struct i40e_hw *hw, in i40e_phy_conf_link()
4130 struct i40e_hw *hw; in i40e_flow_ctrl_set()
4383 struct i40e_hw *hw; in i40e_set_rss_lut()
4639 i40e_get_cap(struct i40e_hw *hw) in i40e_get_cap()
5148 struct i40e_hw *hw; in i40e_vsi_vlan_pvid_set()
5291 struct i40e_hw *hw; in i40e_veb_release()
5323 struct i40e_hw *hw; in i40e_veb_setup()
5383 struct i40e_hw *hw; in i40e_vsi_release()
[all …]
H A Di40e_ethdev.h1226 struct i40e_hw hw;
1307 void i40e_pf_disable_irq0(struct i40e_hw *hw);
1308 void i40e_pf_enable_irq0(struct i40e_hw *hw);
1334 int i40e_dev_set_gre_key_len(struct i40e_hw *hw, uint8_t len);
1339 int i40e_select_filter_input_set(struct i40e_hw *hw,
1343 int i40e_set_hash_inset(struct i40e_hw *hw, uint64_t input_set,
1398 void i40e_set_symmetric_hash_enable_per_port(struct i40e_hw *hw,
1406 void i40e_check_write_global_reg(struct i40e_hw *hw,
1419 struct i40e_hw *hw, struct i40e_pf *pf, uint16_t on);
1421 void i40e_flex_payload_reg_set_default(struct i40e_hw *hw);
[all …]
H A Di40e_pf.c66 struct i40e_hw *hw = I40E_PF_TO_HW(vf->pf); in i40e_pf_vf_queues_mapping()
119 struct i40e_hw *hw; in i40e_pf_host_vf_reset()
254 struct i40e_hw *hw = I40E_PF_TO_HW(vf->pf); in i40e_pf_host_send_msg_to_vf()
313 struct i40e_hw *hw = I40E_PF_TO_HW(vf->pf); in i40e_pf_host_process_cmd_get_vf_resource()
506 struct i40e_hw *hw = I40E_PF_TO_HW(vf->pf); in i40e_pf_host_process_cmd_config_vsi_queues()
573 struct i40e_hw *hw = I40E_PF_TO_HW(vf->pf); in i40e_pf_config_irq_link_list()
671 struct i40e_hw *hw = I40E_PF_TO_HW(vf->pf); in i40e_pf_host_process_cmd_config_irq_map()
748 struct i40e_hw *hw = I40E_PF_TO_HW(vf->pf); in i40e_pf_host_switch_queues()
1333 struct i40e_hw *hw = &vf->pf->adapter->hw; in i40e_pf_host_process_cmd_set_rss_hena()
1569 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.c158 struct i40e_hw *hw = I40E_PF_TO_HW(pf); in i40e_fdir_setup()
285 struct i40e_hw *hw = I40E_PF_TO_HW(pf); in i40e_fdir_teardown()
313 i40e_fdir_empty(struct i40e_hw *hw) in i40e_fdir_empty()
336 struct i40e_hw *hw = I40E_PF_TO_HW(pf); in i40e_init_flx_pld()
533 struct i40e_hw *hw = I40E_PF_TO_HW(pf); in i40e_set_flx_pld_cfg()
599 struct i40e_hw *hw = I40E_PF_TO_HW(pf); in i40e_set_flex_mask_on_pctype()
1482 struct i40e_hw *hw = I40E_PF_TO_HW(pf); in i40e_flow_set_fdir_flex_pit()
1563 struct i40e_hw *hw = I40E_PF_TO_HW(pf); in i40e_flow_set_fdir_flex_msk()
1595 struct i40e_hw *hw = I40E_PF_TO_HW(pf); in i40e_flow_set_fdir_inset()
2066 struct i40e_hw *hw = I40E_PF_TO_HW(pf); in i40e_fdir_flush()
[all …]
H A Di40e_hash.c495 struct i40e_hw *hw = in i40e_hash_get_pctypes()
613 i40e_hash_config_func(struct i40e_hw *hw, enum rte_eth_hash_function func) in i40e_hash_config_func()
653 i40e_hash_config_pctype_symmetric(struct i40e_hw *hw, in i40e_hash_config_pctype_symmetric()
687 i40e_hash_enable_pctype(struct i40e_hw *hw, in i40e_hash_enable_pctype()
719 i40e_hash_config_pctype(struct i40e_hw *hw, in i40e_hash_config_pctype()
745 struct i40e_hw *hw = &pf->adapter->hw; in i40e_hash_config_region()
806 struct i40e_hw *hw = &pf->adapter->hw; in i40e_hash_config()
930 struct i40e_hw *hw; in i40e_hash_parse_queues()
1283 struct i40e_hw *hw = &pf->adapter->hw; in i40e_hash_reset_conf()
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.c1689 struct i40e_hw *hw = I40E_DEV_PRIVATE_TO_HW(dev->data->dev_private); in i40e_dev_rx_queue_start()
1732 struct i40e_hw *hw = I40E_DEV_PRIVATE_TO_HW(dev->data->dev_private); in i40e_dev_rx_queue_stop()
1763 struct i40e_hw *hw = I40E_DEV_PRIVATE_TO_HW(dev->data->dev_private); in i40e_dev_tx_queue_start()
1798 struct i40e_hw *hw = I40E_DEV_PRIVATE_TO_HW(dev->data->dev_private); in i40e_dev_tx_queue_stop()
2797 struct i40e_hw *hw = I40E_VSI_TO_HW(vsi); in i40e_tx_queue_init()
2886 struct i40e_hw *hw = I40E_VSI_TO_HW(rxq->vsi); in i40e_rx_queue_config()
2931 struct i40e_hw *hw = I40E_VSI_TO_HW(rxq->vsi); in i40e_rx_queue_init()
3555 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()
4775 struct i40e_hw *hw = I40E_PF_TO_HW(pf); in i40e_flow_destroy_ethertype_filter()
4810 struct i40e_hw *hw = I40E_PF_TO_HW(pf); in i40e_flow_destroy_tunnel_filter()