id
stringlengths
4
63
text
stringlengths
153
8.81M
i40e_enable_vf_mappings(9)
NAME i40e_enable_vf_mappings - SYNOPSIS void i40e_enable_vf_mappings (struct i40e_vf *vf ); ARGUMENTS vf pointer to the VF info DESCRIPTION enable VF mappings 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_st...
i40e_enable_wb_on_itr(9)
NAME i40e_enable_wb_on_itr - Arm hardware to do a wb, interrupts are not enabled SYNOPSIS void i40e_enable_wb_on_itr (struct i40e_vsi *vsi , struct i40e_q_vector *q_vector ); ARGUMENTS vsi the VSI we care about q_vector the vector on which to enable writeback SEE ALSO Kernel file ./drivers/net...
i40e_enter_busy_conf(9)
NAME i40e_enter_busy_conf - Enters busy config state SYNOPSIS int i40e_enter_busy_conf (struct i40e_vsi *vsi ); ARGUMENTS vsi vsi DESCRIPTION Returns 0 on success, <0 for failure. SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_mem(9), i40e_free...
i40e_exit_busy_conf(9)
NAME i40e_exit_busy_conf - Exits busy config state SYNOPSIS void i40e_exit_busy_conf (struct i40e_vsi *vsi ); ARGUMENTS vsi vsi 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_free_virt_mem(9...
i40e_exit_module(9)
NAME i40e_exit_module - Driver exit cleanup routine SYNOPSIS void i40e_exit_module (void ); ARGUMENTS void no arguments DESCRIPTION i40e_exit_module is called just before the driver is removed from memory. SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_alloca...
i40e_fd_handle_status(9)
NAME i40e_fd_handle_status - check the Programming Status for FD SYNOPSIS void i40e_fd_handle_status (struct i40e_ring *rx_ring , u64 qword0_raw , u64 qword1 , u8 prog_id ); ARGUMENTS rx_ring the Rx ring for this descriptor qword0_raw qword0 qword1 qword1 after le_to_cpu prog_id ...
i40e_fdir(9)
NAME i40e_fdir - Generate a Flow Director descriptor based on fdata SYNOPSIS void i40e_fdir (struct i40e_ring *tx_ring , struct i40e_fdir_filter *fdata , bool add ); ARGUMENTS tx_ring Tx ring to send buffer on fdata Flow director filter data add Indicate if we are adding a rule or de...
i40e_fdir_check_and_reenable(9)
NAME i40e_fdir_check_and_reenable - Function to reenabe FD ATR or SB if disabled SYNOPSIS void i40e_fdir_check_and_reenable (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_...
i40e_fdir_clean_ring(9)
NAME i40e_fdir_clean_ring - Interrupt Handler for FDIR SB ring SYNOPSIS irqreturn_t i40e_fdir_clean_ring (int irq , void *data ); ARGUMENTS irq interrupt number data pointer to a q_vector SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_...
i40e_fdir_filter_exit(9)
NAME i40e_fdir_filter_exit - Cleans up the Flow Director accounting SYNOPSIS void i40e_fdir_filter_exit (struct i40e_pf *pf ); ARGUMENTS pf Pointer to PF DESCRIPTION This function destroys the hlist where all the Flow Director filters were saved. SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i...
i40e_fdir_filter_restore(9)
NAME i40e_fdir_filter_restore - Restore the Sideband Flow Director filters SYNOPSIS void i40e_fdir_filter_restore (struct i40e_vsi *vsi ); ARGUMENTS vsi Pointer to the targeted VSI DESCRIPTION This function replays the hlist on the hw where all the SB Flow Director filters were saved. SEE ALSO Kernel file...
i40e_fdir_flush_and_replay(9)
NAME i40e_fdir_flush_and_replay - Function to flush all FD filters and replay SB SYNOPSIS void i40e_fdir_flush_and_replay (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_fr...
i40e_fdir_reinit_subtask(9)
NAME i40e_fdir_reinit_subtask - Worker thread to reinit FDIR filter table SYNOPSIS void i40e_fdir_reinit_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_me...
i40e_fdir_sb_setup(9)
NAME i40e_fdir_sb_setup - initialize the Flow Director resources for Sideband SYNOPSIS void i40e_fdir_sb_setup (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(...
i40e_fdir_teardown(9)
NAME i40e_fdir_teardown - release the Flow Director resources SYNOPSIS void i40e_fdir_teardown (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_features_check(9)
NAME i40e_features_check - Validate encapsulated packet conforms to limits SYNOPSIS netdev_features_t i40e_features_check (struct sk_buff *skb , struct net_device *dev , netdev_features_t features ); ARGUMENTS skb skb buff dev This physical port's netdev features Offload features th...
i40e_fetch_switch_configuration(9)
NAME i40e_fetch_switch_configuration - Get switch config from firmware SYNOPSIS int i40e_fetch_switch_configuration (struct i40e_pf *pf , bool printconfig ); ARGUMENTS pf board private structure printconfig should we print the contents DESCRIPTION Get the current switch configuration from the device...
i40e_fill_default_direct_cmd_desc(9)
NAME i40e_fill_default_direct_cmd_desc - AQ descriptor helper function SYNOPSIS void i40e_fill_default_direct_cmd_desc (struct libie_aq_desc *desc , u16 opcode ); ARGUMENTS desc pointer to the temp descriptor (non DMA mem) opcode the opcode can be used to decide which flags to turn off or on DESC...
i40e_fill_rss_lut(9)
NAME i40e_fill_rss_lut - Fill the RSS lookup table with default values SYNOPSIS void i40e_fill_rss_lut (struct i40e_pf *pf , u8 *lut , u16 rss_table_size , u16 rss_size ); ARGUMENTS pf Pointer to board private structure lut Lookup table rss_table_size Lookup table s...
i40e_fill_rx_flow_user_data(9)
NAME i40e_fill_rx_flow_user_data - Fill in user-defined data field SYNOPSIS void i40e_fill_rx_flow_user_data (struct ethtool_rx_flow_spec *fsp , struct i40e_rx_flow_userdef *data ); ARGUMENTS fsp pointer to rx_flow specification data pointer to return userdef data DESCRIPTION Reads the userdef...
i40e_finalize_xdp_rx(9)
NAME i40e_finalize_xdp_rx - Bump XDP Tx tail and/or flush redirect map SYNOPSIS void i40e_finalize_xdp_rx (struct i40e_ring *rx_ring , unsigned int xdp_res ); ARGUMENTS rx_ring Rx ring xdp_res Result of the receive batch DESCRIPTION This function bumps XDP Tx tail and/or flush redirect map, and shoul...
i40e_find_cloud_filter(9)
NAME i40e_find_cloud_filter - Find the could filter in the list SYNOPSIS struct i40e_cloud_filter * i40e_find_cloud_filter (struct i40e_vsi *vsi , unsigned long *cookie ); ARGUMENTS vsi Pointer to VSI cookie filter specific cookie SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_m...
i40e_find_filter(9)
NAME i40e_find_filter - Search VSI filter list for specific mac/vlan filter SYNOPSIS struct i40e_mac_filter * i40e_find_filter (struct i40e_vsi *vsi , const u8 *macaddr , s16 vlan ); ARGUMENTS vsi the VSI to be searched macaddr the MAC address vlan the vlan DESCRIPTION Returns ptr ...
i40e_find_flex_offset(9)
NAME i40e_find_flex_offset - Find an existing flex src_offset SYNOPSIS struct i40e_flex_pit * i40e_find_flex_offset (struct list_head *flex_pit_list , u16 src_offset ); ARGUMENTS flex_pit_list L3 or L4 flex PIT list src_offset new src_offset to find DESCRIPTION Searches the flex_pit_list for an existing off...
i40e_find_mac(9)
NAME i40e_find_mac - Find a mac addr in the macvlan filters list SYNOPSIS struct i40e_mac_filter * i40e_find_mac (struct i40e_vsi *vsi , const u8 *macaddr ); ARGUMENTS vsi the VSI to be searched macaddr the MAC address we are searching for DESCRIPTION Returns the first filter with the provided MA...
i40e_find_segment_in_package(9)
NAME i40e_find_segment_in_package - SYNOPSIS struct i40e_generic_seg_header * i40e_find_segment_in_package (u32 segment_type , struct i40e_package_header *pkg_hdr ); ARGUMENTS segment_type the segment type to search for (i.e., SEGMENT_TYPE_I40E) pkg_hdr pointer to the package header to be searched DESCRI...
i40e_find_vsi_by_type(9)
NAME i40e_find_vsi_by_type - Find and return Flow Director VSI SYNOPSIS struct i40e_vsi * i40e_find_vsi_by_type (struct i40e_pf *pf , u16 type ); ARGUMENTS pf PF to search for VSI type Value indicating type of VSI we are looking for SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40...
i40e_find_vsi_from_id(9)
NAME i40e_find_vsi_from_id - searches for the vsi with the given id SYNOPSIS struct i40e_vsi * i40e_find_vsi_from_id (struct i40e_pf *pf , u16 id ); ARGUMENTS pf the pf structure to search for the vsi id id of the vsi it is searching for SEE ALSO Kernel file ./drivers/net/ethernet/intel/i4...
i40e_find_vsi_from_seid(9)
NAME i40e_find_vsi_from_seid - searches for the vsi with the given seid SYNOPSIS struct i40e_vsi * i40e_find_vsi_from_seid (struct i40e_vf *vf , u16 seid ); ARGUMENTS vf pointer to the VF info seid seid of the vsi it is searching for SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i4...
i40e_flow_str(9)
NAME i40e_flow_str - Converts a flow_type into a human readable string SYNOPSIS const char * i40e_flow_str (struct ethtool_rx_flow_spec *fsp ); ARGUMENTS fsp the flow specification DESCRIPTION Currently only flow types we support are included here, and the string value attempts to match what ethtool would us...
i40e_force_link_state(9)
NAME i40e_force_link_state - Force the link status SYNOPSIS int i40e_force_link_state (struct i40e_pf *pf , bool is_up ); ARGUMENTS pf board private structure is_up whether the link state should be forced up or down SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_h...
i40e_force_wb(9)
NAME i40e_force_wb - Issue SW Interrupt so HW does a wb SYNOPSIS void i40e_force_wb (struct i40e_vsi *vsi , struct i40e_q_vector *q_vector ); ARGUMENTS vsi the VSI we care about q_vector the vector on which to force writeback SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_txrx.c ...
i40e_free_adminq_arq(9)
NAME i40e_free_adminq_arq - Free Admin Queue receive rings SYNOPSIS void i40e_free_adminq_arq (struct i40e_hw *hw ); ARGUMENTS hw pointer to the hardware structure DESCRIPTION This assumes the posted receive buffers have already been cleaned and de-allocated SEE ALSO Kernel file ./drivers/net/ethernet/in...
i40e_free_adminq_asq(9)
NAME i40e_free_adminq_asq - Free Admin Queue send rings SYNOPSIS void i40e_free_adminq_asq (struct i40e_hw *hw ); ARGUMENTS hw pointer to the hardware structure DESCRIPTION This assumes the posted send buffers have already been cleaned and de-allocated SEE ALSO Kernel file ./drivers/net/ethernet/intel/i4...
i40e_free_arq_bufs(9)
NAME i40e_free_arq_bufs - Free receive queue buffer info elements SYNOPSIS void i40e_free_arq_bufs (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_f...
i40e_free_asq_bufs(9)
NAME i40e_free_asq_bufs - Free send queue buffer info elements SYNOPSIS void i40e_free_asq_bufs (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...
i40e_free_dma_mem(9)
NAME i40e_free_dma_mem - OS specific memory free for shared code SYNOPSIS int i40e_free_dma_mem (struct i40e_hw *hw , struct i40e_dma_mem *mem ); ARGUMENTS hw pointer to the HW structure mem ptr to mem struct to free SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_...
i40e_free_macvlan_channels(9)
NAME i40e_free_macvlan_channels - SYNOPSIS void i40e_free_macvlan_channels (struct i40e_vsi *vsi ); ARGUMENTS vsi the VSI we want to access DESCRIPTION This function frees the Qs of the channel VSI from the stack and also deletes the channel VSIs which serve as macvlans. SEE ALSO Kernel file ./drivers/n...
i40e_free_misc_vector(9)
NAME i40e_free_misc_vector - Free the vector that handles non-queue events SYNOPSIS void i40e_free_misc_vector (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(...
i40e_free_pf(9)
NAME i40e_free_pf - Free i40e_pf structure and associated devlink SYNOPSIS void i40e_free_pf (struct i40e_pf *pf ); ARGUMENTS pf the PF structure DESCRIPTION Free i40e_pf structure and devlink allocated by devlink_alloc. SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_devlink.c i40e_alloc_pf(9)...
i40e_free_q_vector(9)
NAME i40e_free_q_vector - Free memory allocated for specific interrupt vector SYNOPSIS void i40e_free_q_vector (struct i40e_vsi *vsi , int v_idx ); ARGUMENTS vsi the VSI being configured v_idx Index of vector to be freed DESCRIPTION This function frees the memory allocated to the q_vector. In ...
i40e_free_rx_resources(9)
NAME i40e_free_rx_resources - Free Rx resources SYNOPSIS void i40e_free_rx_resources (struct i40e_ring *rx_ring ); ARGUMENTS rx_ring ring to clean the resources from DESCRIPTION Free all receive software resources SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_txrx.c i40e_fdir(9), i40e_prog...
i40e_free_tx_resources(9)
NAME i40e_free_tx_resources - Free Tx resources per queue SYNOPSIS void i40e_free_tx_resources (struct i40e_ring *tx_ring ); ARGUMENTS tx_ring Tx descriptor ring for a specific queue DESCRIPTION Free all transmit software resources SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_txrx.c i40e_fd...
i40e_free_vf_res(9)
NAME i40e_free_vf_res - SYNOPSIS void i40e_free_vf_res (struct i40e_vf *vf ); ARGUMENTS vf pointer to the VF info DESCRIPTION free VF resources 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_...
i40e_free_vfs(9)
NAME i40e_free_vfs - SYNOPSIS void i40e_free_vfs (struct i40e_pf *pf ); ARGUMENTS pf pointer to the PF structure DESCRIPTION free VF resources 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_...
i40e_free_virt_mem(9)
NAME i40e_free_virt_mem - OS specific memory free for shared code SYNOPSIS int i40e_free_virt_mem (struct i40e_hw *hw , struct i40e_virt_mem *mem ); ARGUMENTS hw pointer to the HW structure mem ptr to mem struct to free SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c ...
i40e_fwd_add(9)
NAME i40e_fwd_add - configure macvlans SYNOPSIS void * i40e_fwd_add (struct net_device *netdev , struct net_device *vdev ); ARGUMENTS netdev net device to configure vdev macvlan netdevice SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma...
i40e_fwd_del(9)
NAME i40e_fwd_del - delete macvlan interfaces SYNOPSIS void i40e_fwd_del (struct net_device *netdev , void *vdev ); ARGUMENTS netdev net device to configure vdev macvlan netdevice SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_mem(9),...
i40e_fwd_ring_up(9)
NAME i40e_fwd_ring_up - bring the macvlan device up SYNOPSIS int i40e_fwd_ring_up (struct i40e_vsi *vsi , struct net_device *vdev , struct i40e_fwd_adapter *fwd ); ARGUMENTS vsi the VSI we want to access vdev macvlan netdevice fwd the private fwd structure SEE ALSO Kernel fil...
i40e_get_capabilities(9)
NAME i40e_get_capabilities - get info about the HW SYNOPSIS int i40e_get_capabilities (struct i40e_pf *pf , enum i40e_admin_queue_opc list_type ); ARGUMENTS pf the PF struct list_type AQ capability to be queried SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev...
i40e_get_channels(9)
NAME i40e_get_channels - Get the current channels enabled and max supported etc. SYNOPSIS void i40e_get_channels (struct net_device *dev , struct ethtool_channels *ch ); ARGUMENTS dev network interface device structure ch ethtool channels structure DESCRIPTION We don't support separate tx...
i40e_get_coalesce(9)
NAME i40e_get_coalesce - get a netdev's coalesce settings SYNOPSIS int i40e_get_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 check ec ethtool coalesce data struct...
i40e_get_current_atr_cnt(9)
NAME i40e_get_current_atr_cnt - Get the count of total FD ATR filters programmed SYNOPSIS u32 i40e_get_current_atr_cnt (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_...
i40e_get_current_fd_count(9)
NAME i40e_get_current_fd_count - Get total FD filters programmed for this PF SYNOPSIS u32 i40e_get_current_fd_count (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_get_dcb_config(9)
NAME i40e_get_dcb_config - SYNOPSIS int i40e_get_dcb_config (struct i40e_hw *hw ); ARGUMENTS hw pointer to the hw struct DESCRIPTION Get DCB configuration from the Firmware SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_dcb.c i40e_get_dcbx_status(9), i40e_parse_ieee_etscfg_tlv(9), ...
i40e_get_dcbx_status(9)
NAME i40e_get_dcbx_status - SYNOPSIS int i40e_get_dcbx_status (struct i40e_hw *hw , u16 *status ); ARGUMENTS hw pointer to the hw struct status Embedded DCBX Engine Status DESCRIPTION Get the DCBX status from the Firmware SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_dcb.c ...
i40e_get_ethtool_fdir_all(9)
NAME i40e_get_ethtool_fdir_all - Populates the rule count of a command SYNOPSIS int i40e_get_ethtool_fdir_all (struct i40e_pf *pf , struct ethtool_rxnfc *cmd , u32 *rule_locs ); ARGUMENTS pf Pointer to the physical function struct cmd The command to get or set Rx flow classification rules ...
i40e_get_ethtool_fdir_entry(9)
NAME i40e_get_ethtool_fdir_entry - Look up a filter based on Rx flow SYNOPSIS int i40e_get_ethtool_fdir_entry (struct i40e_pf *pf , struct ethtool_rxnfc *cmd ); ARGUMENTS pf Pointer to the physical function struct cmd The command to get or set Rx flow classification rules DESCRIPTION This fu...
i40e_get_ethtool_stats(9)
NAME i40e_get_ethtool_stats - copy stat values into supplied buffer SYNOPSIS void i40e_get_ethtool_stats (struct net_device *netdev , struct ethtool_stats *stats , u64 *data ); ARGUMENTS netdev the netdev to collect stats for stats ethtool stats command structure data ethtool supplie...
i40e_get_fd_cnt_all(9)
NAME i40e_get_fd_cnt_all - get the total FD filter space available SYNOPSIS int i40e_get_fd_cnt_all (struct i40e_pf *pf ); ARGUMENTS pf pointer to the PF struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e.h __i40e_pf_next_vsi(9), __i40e_pf_next_veb(9), i40e_addr_to_hkey(9), i40e_info_n...
i40e_get_fw_lldp_status(9)
NAME i40e_get_fw_lldp_status - SYNOPSIS int i40e_get_fw_lldp_status (struct i40e_hw *hw , enum i40e_get_fw_lldp_status_resp *lldp_status ); ARGUMENTS hw pointer to the hw struct lldp_status pointer to the status enum DESCRIPTION Get status of FW Link Layer Discovery Protocol (LLDP) Agent. Status of...
i40e_get_global_fd_count(9)
NAME i40e_get_global_fd_count - Get total FD filters programmed on device SYNOPSIS u32 i40e_get_global_fd_count (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...
i40e_get_head(9)
NAME i40e_get_head - Retrieve head from head writeback SYNOPSIS u32 i40e_get_head (struct i40e_ring *tx_ring ); ARGUMENTS tx_ring tx ring to fetch head of DESCRIPTION Returns value of Tx ring head based on value stored in head write-back location SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_txrx....
i40e_get_ieee_dcb_config(9)
NAME i40e_get_ieee_dcb_config - SYNOPSIS int i40e_get_ieee_dcb_config (struct i40e_hw *hw ); ARGUMENTS hw pointer to the hw struct DESCRIPTION Get IEEE mode DCB configuration from the Firmware SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_dcb.c i40e_get_dcbx_status(9), i40e_parse_...
i40e_get_iscsi_tc_map(9)
NAME i40e_get_iscsi_tc_map - Return TC map for iSCSI APP SYNOPSIS u8 i40e_get_iscsi_tc_map (struct i40e_pf *pf ); ARGUMENTS pf pointer to PF DESCRIPTION Get TC map for ISCSI PF type that will include iSCSI TC and LAN TC. SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev...
i40e_get_link_ksettings(9)
NAME i40e_get_link_ksettings - Get Link Speed and Duplex settings SYNOPSIS int i40e_get_link_ksettings (struct net_device *netdev , struct ethtool_link_ksettings *ks ); ARGUMENTS netdev network interface device structure ks ethtool ksettings DESCRIPTION Reports speed/duplex settings based on me...
i40e_get_link_speed(9)
NAME i40e_get_link_speed - Returns link speed for the interface SYNOPSIS int i40e_get_link_speed (struct i40e_vsi *vsi ); ARGUMENTS vsi VSI to be configured 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_alloc...
i40e_get_link_status(9)
NAME i40e_get_link_status - get status of the HW network link SYNOPSIS int i40e_get_link_status (struct i40e_hw *hw , bool *link_up ); ARGUMENTS hw pointer to the hw struct link_up pointer to bool (true/false = linkup/linkdown) DESCRIPTION Variable link_up true if link is up, false if link is do...
i40e_get_lump(9)
NAME i40e_get_lump - find a lump of free generic resource SYNOPSIS int i40e_get_lump (struct i40e_pf *pf , struct i40e_lump_tracking *pile , u16 needed , u16 id ); ARGUMENTS pf board private structure pile the pile of resource to search needed the number of items needed id...
i40e_get_mac_addr(9)
NAME i40e_get_mac_addr - get MAC address SYNOPSIS int i40e_get_mac_addr (struct i40e_hw *hw , u8 *mac_addr ); ARGUMENTS hw pointer to the HW structure mac_addr pointer to MAC address DESCRIPTION Reads the adapter's MAC address from register SEE ALSO Kernel file ./drivers/net/ethernet/intel...
i40e_get_max_queues_for_channel(9)
NAME i40e_get_max_queues_for_channel - SYNOPSIS int i40e_get_max_queues_for_channel (struct i40e_vsi *vsi ); ARGUMENTS vsi ptr to VSI to which channels are associated with DESCRIPTION Helper function which returns max value among the queue counts set on the channels/TCs created. SEE ALSO Kernel file ./d...
i40e_get_media_type(9)
NAME i40e_get_media_type - Gets media type SYNOPSIS enum i40e_media_type i40e_get_media_type (struct i40e_hw *hw ); ARGUMENTS hw pointer to the hardware structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_common.c i40e_set_mac_type(9), i40e_debug_aq(9), i40e_check_asq_alive(9),...
i40e_get_module_eeprom(9)
NAME i40e_get_module_eeprom - fills buffer with (Q)SFP+ module memory contents SYNOPSIS int i40e_get_module_eeprom (struct net_device *netdev , struct ethtool_eeprom *ee , u8 *data ); ARGUMENTS netdev network interface device structure ee EEPROM dump request structure data buffer ...
i40e_get_module_info(9)
NAME i40e_get_module_info - get (Q)SFP+ module type info SYNOPSIS int i40e_get_module_info (struct net_device *netdev , struct ethtool_modinfo *modinfo ); ARGUMENTS netdev network interface device structure modinfo module EEPROM size and layout information structure SEE ALSO Kernel file ./drivers/ne...
i40e_get_netdev_stats_struct(9)
NAME i40e_get_netdev_stats_struct - Get statistics for netdev interface SYNOPSIS void i40e_get_netdev_stats_struct (struct net_device *netdev , struct rtnl_link_stats64 *stats ); ARGUMENTS netdev network interface device structure stats data structure to store statistics DESCRIPTION Returns the ad...
i40e_get_netdev_stats_struct_tx(9)
NAME i40e_get_netdev_stats_struct_tx - populate stats from a Tx ring SYNOPSIS void i40e_get_netdev_stats_struct_tx (struct i40e_ring *ring , struct rtnl_link_stats64 *stats ); ARGUMENTS ring Tx ring to get statistics from stats statistics entry to be updated SEE ALSO Kernel file ./drivers/ne...
i40e_get_oem_version(9)
NAME i40e_get_oem_version - get OEM specific version information SYNOPSIS void i40e_get_oem_version (struct i40e_hw *hw ); ARGUMENTS hw pointer to the hardware 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_get_partition_bw_setting(9)
NAME i40e_get_partition_bw_setting - Retrieve BW settings for this PF partition SYNOPSIS int i40e_get_partition_bw_setting (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_f...
i40e_get_pauseparam(9)
NAME i40e_get_pauseparam - Get Flow Control status SYNOPSIS void i40e_get_pauseparam (struct net_device *netdev , struct ethtool_pauseparam *pause ); ARGUMENTS netdev netdevice structure pause buffer to return pause parameters DESCRIPTION Return tx/rx-pause status SEE ALSO Kernel file ./drivers/n...
i40e_get_pba_string(9)
NAME i40e_get_pba_string - Reads part number string from EEPROM SYNOPSIS void i40e_get_pba_string (struct i40e_hw *hw ); ARGUMENTS hw pointer to hardware structure DESCRIPTION Reads the part number string from the EEPROM and stores it into newly allocated buffer and saves resulting pointer to i40e_hw->pba_i...
i40e_get_per_queue_coalesce(9)
NAME i40e_get_per_queue_coalesce - gets coalesce settings for particular queue SYNOPSIS int i40e_get_per_queue_coalesce (struct net_device *netdev , u32 queue , struct ethtool_coalesce *ec ); ARGUMENTS netdev netdev structure queue the particular queue to read ec ethtool's coalesce...
i40e_get_pf_count(9)
NAME i40e_get_pf_count - get PCI PF count. SYNOPSIS u32 i40e_get_pf_count (struct i40e_hw *hw ); ARGUMENTS hw pointer to a hw. DESCRIPTION Reports the function number of the highest PCI physical function plus 1 as it is loaded from the NVM. RETURN PCI PF count. SEE ALSO Kernel file ./drivers/net/etherne...
i40e_get_pfc_delay(9)
NAME i40e_get_pfc_delay - retrieve PFC Link Delay SYNOPSIS void i40e_get_pfc_delay (struct i40e_hw *hw , u16 *delay ); ARGUMENTS hw pointer to hardware struct delay holds the PFC Link delay value DESCRIPTION Returns PFC Link Delay from the PRTDCB_GENC.PFCLDA SEE ALSO Kernel file ./drivers...
i40e_get_pfc_stats(9)
NAME i40e_get_pfc_stats - copy HW PFC statistics to formatted structure SYNOPSIS struct i40e_pfc_stats i40e_get_pfc_stats (struct i40e_pf *pf , unsigned int i ); ARGUMENTS pf the PF device structure i the priority value to copy DESCRIPTION The PFC stats are found as arrays in pf->stats, wh...
i40e_get_phy_address(9)
NAME i40e_get_phy_address - SYNOPSIS u8 i40e_get_phy_address (struct i40e_hw *hw , u8 dev_num ); ARGUMENTS hw pointer to the HW structure dev_num PHY port num that address we want DESCRIPTION Gets PHY address for current port SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_com...
i40e_get_platform_mac_addr(9)
NAME i40e_get_platform_mac_addr - get platform-specific MAC address SYNOPSIS void i40e_get_platform_mac_addr (struct pci_dev *pdev , struct i40e_pf *pf ); ARGUMENTS pdev PCI device information struct pf board private structure DESCRIPTION Look up the MAC address for the device. First we'll tr...
i40e_get_port_mac_addr(9)
NAME i40e_get_port_mac_addr - get Port MAC address SYNOPSIS int i40e_get_port_mac_addr (struct i40e_hw *hw , u8 *mac_addr ); ARGUMENTS hw pointer to the HW structure mac_addr pointer to Port MAC address DESCRIPTION Reads the adapter's Port MAC address SEE ALSO Kernel file ./drivers/net/eth...
i40e_get_priv_flags(9)
NAME i40e_get_priv_flags - report device private flags SYNOPSIS u32 i40e_get_priv_flags (struct net_device *dev ); ARGUMENTS dev network interface device structure DESCRIPTION The get string set count and the string set should be matched for each flag returned. Add new strings for each flag to the i40e_gstr...
i40e_get_real_pf_qid(9)
NAME i40e_get_real_pf_qid - SYNOPSIS u16 i40e_get_real_pf_qid (struct i40e_vf *vf , u16 vsi_id , u16 queue_id ); ARGUMENTS vf pointer to the VF info vsi_id vsi id queue_id queue number DESCRIPTION wrapper function to get pf_queue_id handling ADq code as well SEE ALSO Kernel file ....
i40e_get_rss(9)
NAME i40e_get_rss - Get RSS keys and lut SYNOPSIS int i40e_get_rss (struct i40e_vsi *vsi , u8 *seed , u8 *lut , u16 lut_size ); ARGUMENTS vsi Pointer to VSI structure seed Buffer to store the keys lut Buffer to store the lookup table entries lut_size Size of buffer to...
i40e_get_rss_aq(9)
NAME i40e_get_rss_aq - Get RSS keys and lut by using AQ commands SYNOPSIS int i40e_get_rss_aq (struct i40e_vsi *vsi , const u8 *seed , u8 *lut , u16 lut_size ); ARGUMENTS vsi Pointer to vsi structure seed Buffter to store the hash keys lut Buffer to store the lookup table entrie...
i40e_get_rss_hash_bits(9)
NAME i40e_get_rss_hash_bits - Read RSS Hash bits from register SYNOPSIS u64 i40e_get_rss_hash_bits (struct i40e_hw *hw , const struct ethtool_rxfh_fields *nfc , u64 i_setc ); ARGUMENTS hw hw structure nfc pointer to user request i_setc bits currently set DESCRIPTION Returns valu...
i40e_get_rss_reg(9)
NAME i40e_get_rss_reg - Get the RSS keys and lut by reading registers SYNOPSIS int i40e_get_rss_reg (struct i40e_vsi *vsi , u8 *seed , u8 *lut , u16 lut_size ); ARGUMENTS vsi Pointer to VSI structure seed Buffer to store the keys lut Buffer to store the lookup table entries ...
i40e_get_rx_buffer(9)
NAME i40e_get_rx_buffer - Fetch Rx buffer and synchronize data for use SYNOPSIS struct i40e_rx_buffer * i40e_get_rx_buffer (struct i40e_ring *rx_ring , const unsigned int size ); ARGUMENTS rx_ring rx descriptor ring to transact packets on size size of buffer to add to skb DESCRIPTION This function...
i40e_get_rx_ring_count(9)
NAME i40e_get_rx_ring_count - get RX ring count SYNOPSIS u32 i40e_get_rx_ring_count (struct net_device *netdev ); ARGUMENTS netdev network interface device structure RETURN number of RX rings. SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_ethtool.c struct i40e_stats(9), i40e_add_one_ethtool_stat(...
i40e_get_rxfh(9)
NAME i40e_get_rxfh - get the rx flow hash indirection table SYNOPSIS int i40e_get_rxfh (struct net_device *netdev , struct ethtool_rxfh_param *rxfh ); ARGUMENTS netdev network interface device structure rxfh pointer to param struct (indir, key, hfunc) DESCRIPTION Reads the indirection table direc...
i40e_get_rxfh_indir_size(9)
NAME i40e_get_rxfh_indir_size - get the rx flow hash indirection table size SYNOPSIS u32 i40e_get_rxfh_indir_size (struct net_device *netdev ); ARGUMENTS netdev network interface device structure DESCRIPTION Returns the table size. SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_ethtool.c struct i4...
i40e_get_rxfh_key_size(9)
NAME i40e_get_rxfh_key_size - get the RSS hash key size SYNOPSIS u32 i40e_get_rxfh_key_size (struct net_device *netdev ); ARGUMENTS netdev network interface device structure DESCRIPTION Returns the table size. SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_ethtool.c struct i40e_stats(9), i40e_add_...
i40e_get_rxnfc(9)
NAME i40e_get_rxnfc - command to get RX flow classification rules SYNOPSIS int i40e_get_rxnfc (struct net_device *netdev , struct ethtool_rxnfc *cmd , u32 *rule_locs ); ARGUMENTS netdev network interface device structure cmd ethtool rxnfc command rule_locs pointer to store rule data DE...
i40e_get_settings_link_down(9)
NAME i40e_get_settings_link_down - Get the Link settings for when link is down SYNOPSIS void i40e_get_settings_link_down (struct i40e_hw *hw , struct ethtool_link_ksettings *ks , struct i40e_pf *pf ); ARGUMENTS hw hw structure ks ethtool ksettings to fill in pf pointer to ph...