id
stringlengths
4
63
text
stringlengths
153
8.81M
i40e_ptp_set_led_hw(9)
NAME i40e_ptp_set_led_hw - Set HW GPIO led SYNOPSIS void i40e_ptp_set_led_hw (struct i40e_hw *hw , unsigned int led , enum i40e_ptp_led_pin_state state ); ARGUMENTS hw pointer to the hardware structure led led index state led state DESCRIPTION Set status of GPIO led for externa...
i40e_ptp_set_pin_hw(9)
NAME i40e_ptp_set_pin_hw - Set HW GPIO pin SYNOPSIS void i40e_ptp_set_pin_hw (struct i40e_hw *hw , unsigned int pin , enum i40e_ptp_gpio_pin_state state ); ARGUMENTS hw pointer to the hardware structure pin pin index state pin state DESCRIPTION Set status of GPIO pin for extern...
i40e_ptp_set_pins(9)
NAME i40e_ptp_set_pins - set PTP pins in HW SYNOPSIS int i40e_ptp_set_pins (struct i40e_pf *pf , struct i40e_ptp_pins_settings *pins ); ARGUMENTS pf Board private structure pins PTP pins to be applied DESCRIPTION Validate and set PTP pins in HW for specific PF. Return 0 on success or negativ...
i40e_ptp_set_pins_hw(9)
NAME i40e_ptp_set_pins_hw - Set HW GPIO pins SYNOPSIS void i40e_ptp_set_pins_hw (struct i40e_pf *pf ); ARGUMENTS pf Board private structure DESCRIPTION This function sets GPIO pins for PTP SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_ptp.c i40e_ptp_extts0_work(9), i40e_is_ptp_pin_dev(9),...
i40e_ptp_set_timestamp_mode(9)
NAME i40e_ptp_set_timestamp_mode - setup hardware for requested timestamp mode SYNOPSIS int i40e_ptp_set_timestamp_mode (struct i40e_pf *pf , struct kernel_hwtstamp_config *config ); ARGUMENTS pf Board private structure config hwtstamp settings requested or saved DESCRIPTION Control hardware re...
i40e_ptp_settime(9)
NAME i40e_ptp_settime - Set the time of the PHC SYNOPSIS int i40e_ptp_settime (struct ptp_clock_info *ptp , const struct timespec64 *ts ); ARGUMENTS ptp The PTP clock structure ts timespec64 structure that holds the new time value DESCRIPTION Set the device clock to the user input value. The...
i40e_ptp_stop(9)
NAME i40e_ptp_stop - Disable the driver/hardware support and unregister the PHC SYNOPSIS void i40e_ptp_stop (struct i40e_pf *pf ); ARGUMENTS pf Board private structure DESCRIPTION This function handles the cleanup work required from the initialization by clearing out the important information and unregister...
i40e_ptp_tx_hang(9)
NAME i40e_ptp_tx_hang - Detect error case when Tx timestamp register is hung SYNOPSIS void i40e_ptp_tx_hang (struct i40e_pf *pf ); ARGUMENTS pf The PF private data structure DESCRIPTION This watchdog task is run periodically to make sure that we clear the Tx timestamp logic if we don't obtain a timestamp...
i40e_ptp_tx_hwtstamp(9)
NAME i40e_ptp_tx_hwtstamp - Utility function which returns the Tx timestamp SYNOPSIS void i40e_ptp_tx_hwtstamp (struct i40e_pf *pf ); ARGUMENTS pf Board private structure DESCRIPTION Read the value of the Tx timestamp from the registers, convert it into a value consumable by the stack, and store that result...
i40e_ptp_verify(9)
NAME i40e_ptp_verify - check pins SYNOPSIS int i40e_ptp_verify (struct ptp_clock_info *ptp , unsigned int pin , enum ptp_pin_function func , unsigned int chan ); ARGUMENTS ptp ptp clock pin pin index func assigned function chan channel DESCRIPTION Check pins cons...
i40e_ptp_write(9)
NAME i40e_ptp_write - Write the PHC time to the device SYNOPSIS void i40e_ptp_write (struct i40e_pf *pf , const struct timespec64 *ts ); ARGUMENTS pf Board private structure ts timespec structure that holds the new time value DESCRIPTION This function writes the PRTTSYN_TIME registers with ...
i40e_put_lump(9)
NAME i40e_put_lump - return a lump of generic resource SYNOPSIS int i40e_put_lump (struct i40e_lump_tracking *pile , u16 index , u16 id ); ARGUMENTS pile the pile of resource to search index the base item index id the owner id of the items assigned DESCRIPTION Returns the count ...
i40e_put_rx_buffer(9)
NAME i40e_put_rx_buffer - Clean up used buffer and either recycle or free SYNOPSIS void i40e_put_rx_buffer (struct i40e_ring *rx_ring , struct i40e_rx_buffer *rx_buffer ); ARGUMENTS rx_ring rx descriptor ring to transact packets on rx_buffer rx buffer to pull data from DESCRIPTION This function will cl...
i40e_queue_pair_clean_rings(9)
NAME i40e_queue_pair_clean_rings - Cleans all the rings of a queue pair SYNOPSIS void i40e_queue_pair_clean_rings (struct i40e_vsi *vsi , int queue_pair ); ARGUMENTS vsi vsi queue_pair queue pair SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocat...
i40e_queue_pair_disable(9)
NAME i40e_queue_pair_disable - Disables a queue pair SYNOPSIS int i40e_queue_pair_disable (struct i40e_vsi *vsi , int queue_pair ); ARGUMENTS vsi vsi queue_pair queue pair DESCRIPTION Returns 0 on success, <0 on failure. SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_h...
i40e_queue_pair_disable_irq(9)
NAME i40e_queue_pair_disable_irq - Disables interrupts for a queue pair SYNOPSIS void i40e_queue_pair_disable_irq (struct i40e_vsi *vsi , int queue_pair ); ARGUMENTS vsi vsi queue_pair queue_pair SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocat...
i40e_queue_pair_enable(9)
NAME i40e_queue_pair_enable - Enables a queue pair SYNOPSIS int i40e_queue_pair_enable (struct i40e_vsi *vsi , int queue_pair ); ARGUMENTS vsi vsi queue_pair queue pair DESCRIPTION Returns 0 on success, <0 on failure. SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_t...
i40e_queue_pair_enable_irq(9)
NAME i40e_queue_pair_enable_irq - Enables interrupts for a queue pair SYNOPSIS void i40e_queue_pair_enable_irq (struct i40e_vsi *vsi , int queue_pair ); ARGUMENTS vsi vsi queue_pair queue_pair SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_mem...
i40e_queue_pair_reset_stats(9)
NAME i40e_queue_pair_reset_stats - Resets all statistics for a queue pair SYNOPSIS void i40e_queue_pair_reset_stats (struct i40e_vsi *vsi , int queue_pair ); ARGUMENTS vsi vsi queue_pair queue pair SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_alloc...
i40e_queue_pair_toggle_napi(9)
NAME i40e_queue_pair_toggle_napi - Enables/disables NAPI for a queue pair SYNOPSIS void i40e_queue_pair_toggle_napi (struct i40e_vsi *vsi , int queue_pair , bool enable ); ARGUMENTS vsi vsi queue_pair queue pair enable true for enable, false for disable SEE ALSO Kernel file ./driver...
i40e_queue_pair_toggle_rings(9)
NAME i40e_queue_pair_toggle_rings - Enables/disables all rings for a queue pair SYNOPSIS int i40e_queue_pair_toggle_rings (struct i40e_vsi *vsi , int queue_pair , bool enable ); ARGUMENTS vsi vsi queue_pair queue pair enable true for enable, false for disable DESCRIPTION Returns 0 on su...
i40e_quiesce_vf_pci(9)
NAME i40e_quiesce_vf_pci - SYNOPSIS int i40e_quiesce_vf_pci (struct i40e_vf *vf ); ARGUMENTS vf pointer to the VF structure DESCRIPTION Wait for VF PCI transactions to be cleared after reset. Returns -EIO if the transactions never clear. SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_virtchn...
i40e_quiesce_vsi(9)
NAME i40e_quiesce_vsi - Pause a given VSI SYNOPSIS void i40e_quiesce_vsi (struct i40e_vsi *vsi ); ARGUMENTS vsi the VSI being paused SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_mem(9), i40e_free_dma_mem(9), i40e_allocate_virt_mem(9), i40e_f...
i40e_read_bw_from_alt_ram(9)
NAME i40e_read_bw_from_alt_ram - SYNOPSIS int i40e_read_bw_from_alt_ram (struct i40e_hw *hw , u32 *max_bw , u32 *min_bw , bool *min_valid , bool *max_valid ); ARGUMENTS hw pointer to the hardware structure max_bw pointer for max_bw read min_bw pointer for min_bw read min_val...
i40e_read_fd_input_set(9)
NAME i40e_read_fd_input_set - reads value of flow director input set register SYNOPSIS u64 i40e_read_fd_input_set (struct i40e_pf *pf , u16 addr ); ARGUMENTS pf pointer to the PF struct addr register addr DESCRIPTION This function reads value of flow director input set register specified by '...
i40e_read_lldp_cfg(9)
NAME i40e_read_lldp_cfg - read LLDP Configuration data from NVM SYNOPSIS int i40e_read_lldp_cfg (struct i40e_hw *hw , struct i40e_lldp_variables *lldp_cfg ); ARGUMENTS hw pointer to the HW structure lldp_cfg pointer to hold lldp configuration variables DESCRIPTION Reads the LLDP configuration dat...
i40e_read_nvm_aq(9)
NAME i40e_read_nvm_aq - Read Shadow RAM. SYNOPSIS int i40e_read_nvm_aq (struct i40e_hw *hw , u8 module_pointer , u32 offset , u16 words , void *data , bool last_command ); ARGUMENTS hw pointer to the HW structure. module_pointer module pointer location in words from the NVM beginni...
i40e_read_nvm_buffer(9)
NAME i40e_read_nvm_buffer - Reads Shadow RAM buffer and acquire lock if necessary SYNOPSIS int i40e_read_nvm_buffer (struct i40e_hw *hw , u16 offset , u16 *words , u16 *data ); ARGUMENTS hw pointer to the HW structure offset offset of the Shadow RAM word to read (0x000000 - 0x001FFF). wo...
i40e_read_nvm_buffer_aq(9)
NAME i40e_read_nvm_buffer_aq - Reads Shadow RAM buffer via AQ SYNOPSIS int i40e_read_nvm_buffer_aq (struct i40e_hw *hw , u16 offset , u16 *words , u16 *data ); ARGUMENTS hw pointer to the HW structure offset offset of the Shadow RAM word to read (0x000000 - 0x001FFF). words (in) nu...
i40e_read_nvm_buffer_srctl(9)
NAME i40e_read_nvm_buffer_srctl - Reads Shadow RAM buffer via SRCTL register SYNOPSIS int i40e_read_nvm_buffer_srctl (struct i40e_hw *hw , u16 offset , u16 *words , u16 *data ); ARGUMENTS hw pointer to the HW structure offset offset of the Shadow RAM word to read (0x000000 - 0x001FFF). w...
i40e_read_nvm_module_data(9)
NAME i40e_read_nvm_module_data - Reads NVM Buffer to specified memory location SYNOPSIS int i40e_read_nvm_module_data (struct i40e_hw *hw , u8 module_ptr , u16 module_offset , u16 data_offset , u16 words_data_size , u16 *data_ptr ); ARGUMENTS hw Pointer to the HW structure module_ptr Pointer to modu...
i40e_read_nvm_word(9)
NAME i40e_read_nvm_word - Reads nvm word and acquire lock if necessary SYNOPSIS int i40e_read_nvm_word (struct i40e_hw *hw , u16 offset , u16 *data ); ARGUMENTS hw pointer to the HW structure offset offset of the Shadow RAM word to read (0x000000 - 0x001FFF) data word read from th...
i40e_read_nvm_word_aq(9)
NAME i40e_read_nvm_word_aq - Reads Shadow RAM via AQ SYNOPSIS int i40e_read_nvm_word_aq (struct i40e_hw *hw , u16 offset , u16 *data ); ARGUMENTS hw pointer to the HW structure offset offset of the Shadow RAM word to read (0x000000 - 0x001FFF) data word read from the Shadow RAM D...
i40e_read_nvm_word_srctl(9)
NAME i40e_read_nvm_word_srctl - Reads Shadow RAM via SRCTL register SYNOPSIS int i40e_read_nvm_word_srctl (struct i40e_hw *hw , u16 offset , u16 *data ); ARGUMENTS hw pointer to the HW structure offset offset of the Shadow RAM word to read (0x000000 - 0x001FFF) data word read from...
i40e_read_phy_register_clause22(9)
NAME i40e_read_phy_register_clause22 - SYNOPSIS int i40e_read_phy_register_clause22 (struct i40e_hw *hw , u16 reg , u8 phy_addr , u16 *value ); ARGUMENTS hw pointer to the HW structure reg register address in the page phy_addr PHY address on MDIO interface value PHY r...
i40e_read_phy_register_clause45(9)
NAME i40e_read_phy_register_clause45 - SYNOPSIS int i40e_read_phy_register_clause45 (struct i40e_hw *hw , u8 page , u16 reg , u8 phy_addr , u16 *value ); ARGUMENTS hw pointer to the HW structure page registers page number reg register address in the page phy_addr PHY...
i40e_read_rx_ctl(9)
NAME i40e_read_rx_ctl - read from an Rx control register SYNOPSIS u32 i40e_read_rx_ctl (struct i40e_hw *hw , u32 reg_addr ); ARGUMENTS hw pointer to the hw struct reg_addr register address SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_common.c i40e_set_mac_type(9), i40e_de...
i40e_realloc_rx_bi_zc(9)
NAME i40e_realloc_rx_bi_zc - reallocate rx SW rings SYNOPSIS int i40e_realloc_rx_bi_zc (struct i40e_vsi *vsi , bool zc ); ARGUMENTS vsi Current VSI zc is zero copy set DESCRIPTION Reallocate buffer for rx_rings that might be used by XSK. XDP requires more memory, than rx_buf provides. Retu...
i40e_realloc_rx_xdp_bi(9)
NAME i40e_realloc_rx_xdp_bi - reallocate SW ring for either XSK or normal buffer SYNOPSIS int i40e_realloc_rx_xdp_bi (struct i40e_ring *rx_ring , bool pool_present ); ARGUMENTS rx_ring Current rx ring pool_present is pool for XSK present DESCRIPTION Try allocating memory and return ENO...
i40e_rebuild(9)
NAME i40e_rebuild - rebuild using a saved config SYNOPSIS void i40e_rebuild (struct i40e_pf *pf , bool reinit , bool lock_acquired ); ARGUMENTS pf board private structure reinit if the Main VSI needs to re-initialized. lock_acquired indicates whether or not the lock ha...
i40e_rebuild_channels(9)
NAME i40e_rebuild_channels - Rebuilds channel VSIs if they existed before reset SYNOPSIS int i40e_rebuild_channels (struct i40e_vsi *vsi ); ARGUMENTS vsi PF main vsi DESCRIPTION Rebuilds channel VSIs if they existed before reset SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_d...
i40e_rebuild_cloud_filters(9)
NAME i40e_rebuild_cloud_filters - Rebuilds cloud filters for VSIs SYNOPSIS int i40e_rebuild_cloud_filters (struct i40e_vsi *vsi , u16 seid ); ARGUMENTS vsi PF main vsi seid seid of main or channel VSIs DESCRIPTION Rebuilds cloud filters associated with main VSI and channel VSIs if they existed...
i40e_reconfig_rss_queues(9)
NAME i40e_reconfig_rss_queues - change number of queues for rss and rebuild SYNOPSIS int i40e_reconfig_rss_queues (struct i40e_pf *pf , int queue_count ); ARGUMENTS pf board private structure queue_count the requested queue count for rss. DESCRIPTION returns 0 if rss is not enabled, if enabled retur...
i40e_reconstitute_veb(9)
NAME i40e_reconstitute_veb - rebuild the VEB and VSIs connected to it SYNOPSIS int i40e_reconstitute_veb (struct i40e_veb *veb ); ARGUMENTS veb pointer to the VEB instance DESCRIPTION This is a function that builds the attached VSIs. We track the connections through our own index numbers because the seid's f...
i40e_reenable_fdir_atr(9)
NAME i40e_reenable_fdir_atr - Restore FDir ATR capability SYNOPSIS void i40e_reenable_fdir_atr (struct i40e_pf *pf ); ARGUMENTS pf board private structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_mem(9), i40e_free_dma_mem(9), i40e_alloca...
i40e_reenable_fdir_sb(9)
NAME i40e_reenable_fdir_sb - Restore FDir SB capability SYNOPSIS void i40e_reenable_fdir_sb (struct i40e_pf *pf ); ARGUMENTS pf board private structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_mem(9), i40e_free_dma_mem(9), i40e_allocate_virt_mem...
i40e_release_nvm(9)
NAME i40e_release_nvm - Generic request for releasing the NVM ownership SYNOPSIS void i40e_release_nvm (struct i40e_hw *hw ); ARGUMENTS hw pointer to the HW structure DESCRIPTION This function will release NVM resource via the proper Admin Command. SEE ALSO Kernel file ./drivers/net/ethernet/intel/i4...
i40e_release_rdma_qvlist(9)
NAME i40e_release_rdma_qvlist - SYNOPSIS void i40e_release_rdma_qvlist (struct i40e_vf *vf ); ARGUMENTS vf pointer to the VF. SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e_vc_vf_broadcast(9), i40e_vc_link_speed2mbps(9), i40e_set_vf_link_state(9), i40e_vc_notify_vf_link_sta...
i40e_release_rx_desc(9)
NAME i40e_release_rx_desc - Store the new tail and head values SYNOPSIS void i40e_release_rx_desc (struct i40e_ring *rx_ring , u32 val ); ARGUMENTS rx_ring ring to bump val new head index SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_txrx.c i40e_fdir(9), i40e_program_fdir_fi...
i40e_remove(9)
NAME i40e_remove - Device removal routine SYNOPSIS void i40e_remove (struct pci_dev *pdev ); ARGUMENTS pdev PCI device information struct DESCRIPTION i40e_remove is called by the PCI subsystem to alert the driver that is should release a PCI device. This could be caused by a Hot-Plug event, or because the dr...
i40e_remove_pd_bp(9)
NAME i40e_remove_pd_bp - remove a backing page from a page descriptor SYNOPSIS int i40e_remove_pd_bp (struct i40e_hw *hw , struct i40e_hmc_info *hmc_info , u32 idx ); ARGUMENTS hw pointer to our HW structure hmc_info pointer to the HMC configuration information structure idx the pa...
i40e_remove_pd_page(9)
NAME i40e_remove_pd_page - Remove a page from the page descriptor table SYNOPSIS int i40e_remove_pd_page (struct i40e_hw *hw , struct i40e_hmc_info *hmc_info , u32 idx ); ARGUMENTS hw pointer to the HW structure hmc_info pointer to the HMC configuration information structure idx se...
i40e_remove_pd_page_new(9)
NAME i40e_remove_pd_page_new - Removes a PD page from sd entry. SYNOPSIS int i40e_remove_pd_page_new (struct i40e_hw *hw , struct i40e_hmc_info *hmc_info , u32 idx , bool is_pf ); ARGUMENTS hw pointer to our hw struct hmc_info pointer to the HMC configuration information structure idx ...
i40e_remove_queue_channels(9)
NAME i40e_remove_queue_channels - Remove queue channels for the TCs SYNOPSIS void i40e_remove_queue_channels (struct i40e_vsi *vsi ); ARGUMENTS vsi VSI to be configured DESCRIPTION Remove queue channels for the TCs SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i...
i40e_remove_sd_bp(9)
NAME i40e_remove_sd_bp - remove a backing page from a segment descriptor SYNOPSIS int i40e_remove_sd_bp (struct i40e_hw *hw , struct i40e_hmc_info *hmc_info , u32 idx ); ARGUMENTS hw pointer to our HW structure hmc_info pointer to the HMC configuration information structure idx the...
i40e_remove_sd_bp_new(9)
NAME i40e_remove_sd_bp_new - Removes a backing page from a segment descriptor SYNOPSIS int i40e_remove_sd_bp_new (struct i40e_hw *hw , struct i40e_hmc_info *hmc_info , u32 idx , bool is_pf ); ARGUMENTS hw pointer to our hw struct hmc_info pointer to the HMC configuration information structure ...
i40e_reprogram_flex_pit(9)
NAME i40e_reprogram_flex_pit - Reprogram all FLX_PIT tables after input set change SYNOPSIS void i40e_reprogram_flex_pit (struct i40e_pf *pf ); ARGUMENTS pf pointer to the PF structure DESCRIPTION This function reprograms both the L3 and L4 FLX_PIT tables. See the internal helper function for implementation...
i40e_reserve_msix_vectors(9)
NAME i40e_reserve_msix_vectors - Reserve MSI-X vectors in the kernel SYNOPSIS int i40e_reserve_msix_vectors (struct i40e_pf *pf , int vectors ); ARGUMENTS pf board private structure vectors the number of MSI-X vectors to request DESCRIPTION Returns the number of vectors reserved, or error SEE A...
i40e_reset(9)
NAME i40e_reset - wait for core reset to finish reset, reset pf if corer not seen SYNOPSIS int i40e_reset (struct i40e_pf *pf ); ARGUMENTS pf board private structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_mem(9), i40e_free_dma_mem(9), ...
i40e_reset_all_vfs(9)
NAME i40e_reset_all_vfs - SYNOPSIS bool i40e_reset_all_vfs (struct i40e_pf *pf , bool flr ); ARGUMENTS pf pointer to the PF structure flr VFLR was issued or not DESCRIPTION Reset all allocated VFs in one go. First, tell the hardware to reset each VF, then do all the waiting in one chunk, an...
i40e_reset_and_rebuild(9)
NAME i40e_reset_and_rebuild - reset and rebuild using a saved config SYNOPSIS void i40e_reset_and_rebuild (struct i40e_pf *pf , bool reinit , bool lock_acquired ); ARGUMENTS pf board private structure reinit if the Main VSI needs to re-initialized. lock_acquired indica...
i40e_reset_ch_rings(9)
NAME i40e_reset_ch_rings - Reset the queue contexts in a channel SYNOPSIS void i40e_reset_ch_rings (struct i40e_vsi *vsi , struct i40e_channel *ch ); ARGUMENTS vsi the VSI we want to access ch the channel we want to access SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main....
i40e_reset_fdir_filter_cnt(9)
NAME i40e_reset_fdir_filter_cnt - Reset flow director filter counters SYNOPSIS void i40e_reset_fdir_filter_cnt (struct i40e_pf *pf ); ARGUMENTS pf Pointer to the targeted PF DESCRIPTION Set all flow director counters to 0. SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_d...
i40e_reset_interrupt_capability(9)
NAME i40e_reset_interrupt_capability - Disable interrupt setup in OS SYNOPSIS void i40e_reset_interrupt_capability (struct i40e_pf *pf ); ARGUMENTS pf board private structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_mem(9), i40e_free_dma_...
i40e_reset_subtask(9)
NAME i40e_reset_subtask - Set up for resetting the device and driver SYNOPSIS void i40e_reset_subtask (struct i40e_pf *pf ); ARGUMENTS pf board private structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_mem(9), i40e_free_dma_mem(9), i40e...
i40e_reset_vf(9)
NAME i40e_reset_vf - SYNOPSIS bool i40e_reset_vf (struct i40e_vf *vf , bool flr ); ARGUMENTS vf pointer to the VF structure flr VFLR was issued or not RETURN True if reset was performed successfully or if resets are disabled. False if reset is already in progress. SEE ALSO Kernel file ./...
i40e_restore_interrupt_scheme(9)
NAME i40e_restore_interrupt_scheme - Restore the interrupt scheme SYNOPSIS int i40e_restore_interrupt_scheme (struct i40e_pf *pf ); ARGUMENTS pf private board data structure DESCRIPTION Restore the interrupt scheme that was cleared when we suspended the device. This should be called during resume to re-allo...
i40e_restore_vlan(9)
NAME i40e_restore_vlan - Reinstate vlans when vsi/netdev comes back up SYNOPSIS void i40e_restore_vlan (struct i40e_vsi *vsi ); ARGUMENTS vsi the vsi being brought back up SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_mem(9), i40e_free_dma_mem(...
i40e_resume(9)
NAME i40e_resume - PM callback for waking up from D3 SYNOPSIS int i40e_resume (struct device *dev ); ARGUMENTS dev generic device information structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_mem(9), i40e_free_dma_mem(9), i40e_allocate_v...
i40e_resume_port_tx(9)
NAME i40e_resume_port_tx - Resume port Tx SYNOPSIS int i40e_resume_port_tx (struct i40e_pf *pf ); ARGUMENTS pf PF struct DESCRIPTION Resume a port's Tx and issue a PF reset in case of failure to resume. SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocat...
i40e_reuse_rx_page(9)
NAME i40e_reuse_rx_page - page flip buffer and store it back on the ring SYNOPSIS void i40e_reuse_rx_page (struct i40e_ring *rx_ring , struct i40e_rx_buffer *old_buff ); ARGUMENTS rx_ring rx descriptor ring to store buffers on old_buff donor buffer to have page reused DESCRIPTION Synchronizes page for...
i40e_rm_default_mac_filter(9)
NAME i40e_rm_default_mac_filter - Remove the default MAC filter set by NVM SYNOPSIS void i40e_rm_default_mac_filter (struct i40e_vsi *vsi , u8 *macaddr ); ARGUMENTS vsi the PF Main VSI - inappropriate for any other VSI macaddr the MAC address DESCRIPTION Remove whatever filter the firmware set up...
i40e_rm_vlan_all_mac(9)
NAME i40e_rm_vlan_all_mac - Remove MAC/VLAN pair for all MAC with the given VLAN SYNOPSIS void i40e_rm_vlan_all_mac (struct i40e_vsi *vsi , s16 vid ); ARGUMENTS vsi the vsi being configured vid vlan id to be removed (0 = untagged only , -1 = any) DESCRIPTION This function should be used to re...
i40e_rollback_profile(9)
NAME i40e_rollback_profile - SYNOPSIS int i40e_rollback_profile (struct i40e_hw *hw , struct i40e_profile_segment *profile , u32 track_id ); ARGUMENTS hw pointer to the hardware structure profile pointer to the profile segment of the package to be removed track_id package tracking id ...
i40e_run_xdp(9)
NAME i40e_run_xdp - run an XDP program SYNOPSIS int i40e_run_xdp (struct i40e_ring *rx_ring , struct xdp_buff *xdp , struct bpf_prog *xdp_prog ); ARGUMENTS rx_ring Rx ring being processed xdp XDP buffer containing the frame xdp_prog XDP program to run SEE ALSO Kernel file ./drivers/n...
i40e_run_xdp_zc(9)
NAME i40e_run_xdp_zc - Executes an XDP program on an xdp_buff SYNOPSIS int i40e_run_xdp_zc (struct i40e_ring *rx_ring , struct xdp_buff *xdp , struct bpf_prog *xdp_prog ); ARGUMENTS rx_ring Rx ring xdp xdp_buff used as input to the XDP program xdp_prog XDP program to run DESCRIPTION Re...
i40e_rx_buffer_flip(9)
NAME i40e_rx_buffer_flip - adjusted rx_buffer to point to an unused region SYNOPSIS void i40e_rx_buffer_flip (struct i40e_rx_buffer *rx_buffer , unsigned int truesize ); ARGUMENTS rx_buffer Rx buffer to adjust truesize Size of adjustment SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_tx...
i40e_rx_checksum(9)
NAME i40e_rx_checksum - Indicate in skb if hw indicated a good cksum SYNOPSIS void i40e_rx_checksum (struct i40e_vsi *vsi , struct sk_buff *skb , union i40e_rx_desc *rx_desc ); ARGUMENTS vsi the VSI we care about skb skb currently being received and modified rx_desc the receive des...
i40e_rx_hash(9)
NAME i40e_rx_hash - set the hash value in the skb SYNOPSIS void i40e_rx_hash (struct i40e_ring *ring , union i40e_rx_desc *rx_desc , struct sk_buff *skb , u8 rx_ptype ); ARGUMENTS ring descriptor ring rx_desc specific descriptor skb skb currently being received and modified ...
i40e_rx_is_programming_status(9)
NAME i40e_rx_is_programming_status - check for programming status descriptor SYNOPSIS bool i40e_rx_is_programming_status (u64 qword1 ); ARGUMENTS qword1 qword1 representing status_error_len in CPU ordering DESCRIPTION The value of in the descriptor length field indicate if this is a programming status descripto...
i40e_rx_offset(9)
NAME i40e_rx_offset - Return expected offset into page to access data SYNOPSIS unsigned int i40e_rx_offset (struct i40e_ring *rx_ring ); ARGUMENTS rx_ring Ring we are requesting offset of DESCRIPTION Returns the offset value for ring into the data buffer. SEE ALSO Kernel file ./drivers/net/ethernet/intel/i4...
i40e_send_version(9)
NAME i40e_send_version - update firmware with driver version SYNOPSIS void i40e_send_version (struct i40e_pf *pf ); ARGUMENTS pf PF struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_mem(9), i40e_free_dma_mem(9), i40e_allocate_virt_mem(9), ...
i40e_service_event_schedule(9)
NAME i40e_service_event_schedule - Schedule the service task to wake up SYNOPSIS void i40e_service_event_schedule (struct i40e_pf *pf ); ARGUMENTS pf board private structure DESCRIPTION If not already scheduled, this puts the task into the work queue SEE ALSO Kernel file ./drivers/net/ethernet/intel/i4...
i40e_service_task(9)
NAME i40e_service_task - Run the driver's async subtasks SYNOPSIS void i40e_service_task (struct work_struct *work ); ARGUMENTS work pointer to work_struct containing our data SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_mem(9), i40e_free_dma_m...
i40e_service_timer(9)
NAME i40e_service_timer - timer callback SYNOPSIS void i40e_service_timer (struct timer_list *t ); ARGUMENTS t timer list pointer SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_mem(9), i40e_free_dma_mem(9), i40e_allocate_virt_mem(9), i40e_fr...
i40e_set_bw_limit(9)
NAME i40e_set_bw_limit - setup BW limit for Tx traffic based on max_tx_rate SYNOPSIS int i40e_set_bw_limit (struct i40e_vsi *vsi , u16 seid , u64 max_tx_rate ); ARGUMENTS vsi VSI to be configured seid seid of the channel/VSI max_tx_rate max TX rate to be configured as BW limit DESCRIPT...
i40e_set_channels(9)
NAME i40e_set_channels - Set the new channels count. SYNOPSIS int i40e_set_channels (struct net_device *dev , struct ethtool_channels *ch ); ARGUMENTS dev network interface device structure ch ethtool channels structure DESCRIPTION The new channels count may not be the same as requested by t...
i40e_set_cld_element(9)
NAME i40e_set_cld_element - sets cloud filter element data SYNOPSIS void i40e_set_cld_element (struct i40e_cloud_filter *filter , struct i40e_aqc_cloud_filters_element_data *cld ); ARGUMENTS filter cloud filter rule cld ptr to cloud filter element data DESCRIPTION This is helper function to copy...
i40e_set_coalesce(9)
NAME i40e_set_coalesce - set coalesce settings for every queue on the netdev SYNOPSIS int i40e_set_coalesce (struct net_device *netdev , struct ethtool_coalesce *ec , struct kernel_ethtool_coalesce *kernel_coal , struct netlink_ext_ack *extack ); ARGUMENTS netdev the netdev to change ec ethtool ...
i40e_set_dcb_config(9)
NAME i40e_set_dcb_config - Set the local LLDP MIB to FW SYNOPSIS int i40e_set_dcb_config (struct i40e_hw *hw ); ARGUMENTS hw pointer to the hw struct DESCRIPTION Set DCB configuration to the Firmware SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_dcb.c i40e_get_dcbx_status(9), i40e...
i40e_set_fc(9)
NAME i40e_set_fc - SYNOPSIS int i40e_set_fc (struct i40e_hw *hw , u8 *aq_failures , bool atomic_restart ); ARGUMENTS hw pointer to the hw struct aq_failures buffer to return AdminQ failure information atomic_restart whether to enable atomic link restart DESCRIPTION Set the...
i40e_set_features(9)
NAME i40e_set_features - set the netdev feature flags SYNOPSIS int i40e_set_features (struct net_device *netdev , netdev_features_t features ); ARGUMENTS netdev ptr to the netdev being adjusted features the feature set that the stack is suggesting NOTE expects to be called while under rtnl_lock SEE ...
i40e_set_fec_in_flags(9)
NAME i40e_set_fec_in_flags - helper function for setting FEC options in flags SYNOPSIS void i40e_set_fec_in_flags (u8 fec_cfg , unsigned long *flags ); ARGUMENTS fec_cfg FEC option to set in flags flags ptr to flags in which we set FEC option SEE ALSO Kernel file ./drivers/net/ethernet/intel/i4...
i40e_set_filter_control(9)
NAME i40e_set_filter_control - SYNOPSIS int i40e_set_filter_control (struct i40e_hw *hw , struct i40e_filter_control_settings *settings ); ARGUMENTS hw pointer to the hardware structure settings Filter control settings DESCRIPTION Set the Queue Filters for PE/FCoE and enable filters required for ...
i40e_set_hmc_context(9)
NAME i40e_set_hmc_context - replace HMC context bits SYNOPSIS int i40e_set_hmc_context (u8 *context_bytes , struct i40e_context_ele *ce_info , u8 *dest ); ARGUMENTS context_bytes pointer to the context bit array ce_info a description of the struct to be filled dest the struct to be filled ...
i40e_set_hw_caps(9)
NAME i40e_set_hw_caps - set HW flags SYNOPSIS void i40e_set_hw_caps (struct i40e_hw *hw ); ARGUMENTS hw pointer to the hardware structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_adminq.c i40e_alloc_adminq_asq_ring(9), i40e_alloc_adminq_arq_ring(9), i40e_free_adminq_asq(9), i40e_free_ad...
i40e_set_itr_per_queue(9)
NAME i40e_set_itr_per_queue - set ITR values for specific queue SYNOPSIS void i40e_set_itr_per_queue (struct i40e_vsi *vsi , struct ethtool_coalesce *ec , int queue ); ARGUMENTS vsi the VSI to set values for ec coalesce settings from ethtool queue the queue to modify DESCRIPTIO...
i40e_set_lan_rx_queue_context(9)
NAME i40e_set_lan_rx_queue_context - set the HMC context for the queue SYNOPSIS int i40e_set_lan_rx_queue_context (struct i40e_hw *hw , u16 queue , struct i40e_hmc_obj_rxq *s ); ARGUMENTS hw the hardware struct queue the queue we care about s the struct to be filled SEE ALSO ...
i40e_set_lan_tx_queue_context(9)
NAME i40e_set_lan_tx_queue_context - set the HMC context for the queue SYNOPSIS int i40e_set_lan_tx_queue_context (struct i40e_hw *hw , u16 queue , struct i40e_hmc_obj_txq *s ); ARGUMENTS hw the hardware struct queue the queue we care about s the struct to be filled SEE ALSO ...
i40e_set_link_ksettings(9)
NAME i40e_set_link_ksettings - Set Speed and Duplex SYNOPSIS int i40e_set_link_ksettings (struct net_device *netdev , const struct ethtool_link_ksettings *ks ); ARGUMENTS netdev network interface device structure ks ethtool ksettings DESCRIPTION Set speed/duplex per media_types advertised/force...