id
stringlengths
4
63
text
stringlengths
153
8.81M
i40e_get_settings_link_up(9)
NAME i40e_get_settings_link_up - Get the Link settings for when link is up SYNOPSIS void i40e_get_settings_link_up (struct i40e_hw *hw , struct ethtool_link_ksettings *ks , struct net_device *netdev , struct i40e_pf *pf ); ARGUMENTS hw hw structure ks ethtool ksettings to fill in net...
i40e_get_settings_link_up_fec(9)
NAME i40e_get_settings_link_up_fec - Get the FEC mode encoding from mask SYNOPSIS void i40e_get_settings_link_up_fec (u8 req_fec_info , struct ethtool_link_ksettings *ks ); ARGUMENTS req_fec_info mask request FEC info ks ethtool ksettings to fill in SEE ALSO Kernel file ./drivers/net/ethernet/intel/...
i40e_get_stat_strings(9)
NAME i40e_get_stat_strings - copy stat strings into supplied buffer SYNOPSIS void i40e_get_stat_strings (struct net_device *netdev , u8 *data ); ARGUMENTS netdev the netdev to collect strings for data supplied buffer to copy strings into DESCRIPTION Copy the strings related to stats for thi...
i40e_get_stats_count(9)
NAME i40e_get_stats_count - return the stats count for a device SYNOPSIS int i40e_get_stats_count (struct net_device *netdev ); ARGUMENTS netdev the netdev to return the count for DESCRIPTION Returns the total number of statistics for this netdev. Note that even though this is a function, it is required that t...
i40e_get_tx_pending(9)
NAME i40e_get_tx_pending - how many tx descriptors not processed SYNOPSIS u32 i40e_get_tx_pending (struct i40e_ring *ring , bool in_sw ); ARGUMENTS ring the ring of descriptors in_sw use SW variables DESCRIPTION Since there is no access to the ring head register in XL710, we need to use our loca...
i40e_get_veb_tc_stats(9)
NAME i40e_get_veb_tc_stats - copy VEB TC statistics to formatted structure SYNOPSIS struct i40e_cp_veb_tc_stats i40e_get_veb_tc_stats (struct i40e_veb_tc_stats *tc , unsigned int i ); ARGUMENTS tc the TC statistics in VEB structure (veb->tc_stats) i the index of traffic class in (veb->tc_st...
i40e_get_vf_new_vlan(9)
NAME i40e_get_vf_new_vlan - Get new vlan id on a vf SYNOPSIS s16 i40e_get_vf_new_vlan (struct i40e_vsi *vsi , struct i40e_new_mac_filter *new_mac , struct i40e_mac_filter *f , int vlan_filters , bool trusted ); ARGUMENTS vsi the vsi to configure new_mac new mac filter to be added f ...
i40e_get_vf_stats(9)
NAME i40e_get_vf_stats - populate some stats for the VF SYNOPSIS int i40e_get_vf_stats (struct net_device *netdev , int vf_id , struct ifla_vf_stats *vf_stats ); ARGUMENTS netdev the netdev of the PF vf_id the host OS identifier (0-127) vf_stats pointer to the OS memory to be initialized...
i40e_get_vlan_list_sync(9)
NAME i40e_get_vlan_list_sync - SYNOPSIS void i40e_get_vlan_list_sync (struct i40e_vsi *vsi , u16 *num_vlans , s16 **vlan_list ); ARGUMENTS vsi pointer to the VSI num_vlans number of VLANs in mac_filter_hash, returned to caller vlan_list list of VLANs present in mac_filter_hash, returned to...
i40e_get_vsi_stats_struct(9)
NAME i40e_get_vsi_stats_struct - Get System Network Statistics SYNOPSIS struct rtnl_link_stats64 * i40e_get_vsi_stats_struct (struct i40e_vsi *vsi ); ARGUMENTS vsi the VSI we care about DESCRIPTION Returns the address of the device statistics structure. The statistics are actually updated from the service t...
i40e_getnum_vf_vsi_vlan_filters(9)
NAME i40e_getnum_vf_vsi_vlan_filters - SYNOPSIS int i40e_getnum_vf_vsi_vlan_filters (struct i40e_vsi *vsi ); ARGUMENTS vsi pointer to the vsi DESCRIPTION wrapper for __i40e_getnum_vf_vsi_vlan_filters with spinlock held SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e_vc_vf_br...
i40e_handle_lan_overflow_event(9)
NAME i40e_handle_lan_overflow_event - Handler for LAN queue overflow event SYNOPSIS void i40e_handle_lan_overflow_event (struct i40e_pf *pf , struct i40e_arq_event_info *e ); ARGUMENTS pf board private structure e event info posted on ARQ DESCRIPTION Handler for LAN Queue Overflow Event ge...
i40e_handle_link_event(9)
NAME i40e_handle_link_event - Handle link event SYNOPSIS void i40e_handle_link_event (struct i40e_pf *pf , struct i40e_arq_event_info *e ); ARGUMENTS pf board private structure e event info posted on ARQ SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev...
i40e_handle_lldp_event(9)
NAME i40e_handle_lldp_event - Handle LLDP Change MIB event SYNOPSIS int i40e_handle_lldp_event (struct i40e_pf *pf , struct i40e_arq_event_info *e ); ARGUMENTS pf board private structure e event info posted on ARQ SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e...
i40e_handle_mdd_event(9)
NAME i40e_handle_mdd_event - SYNOPSIS void i40e_handle_mdd_event (struct i40e_pf *pf ); ARGUMENTS pf pointer to the PF structure DESCRIPTION Called from the MDD irq handler to identify possibly malicious vfs SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_al...
i40e_handle_reset_warning(9)
NAME i40e_handle_reset_warning - prep for the PF to reset, reset and rebuild SYNOPSIS void i40e_handle_reset_warning (struct i40e_pf *pf , bool lock_acquired ); ARGUMENTS pf board private structure lock_acquired indicates whether or not the lock has been acquired before this functi...
i40e_handle_resets(9)
NAME i40e_handle_resets - handle EMP resets and PF resets SYNOPSIS int i40e_handle_resets (struct i40e_pf *pf ); ARGUMENTS pf board private structure DESCRIPTION Handle both EMP resets and PF resets and conclude whether there are any issues regarding these resets. If there are any issues then generate log...
i40e_handle_tclass(9)
NAME i40e_handle_tclass - Forward to a traffic class on the device SYNOPSIS int i40e_handle_tclass (struct i40e_vsi *vsi , u32 tc , struct i40e_cloud_filter *filter ); ARGUMENTS vsi Pointer to VSI tc traffic class index on the device filter Pointer to cloud filter structure SEE ...
i40e_hmc_get_object_va(9)
NAME i40e_hmc_get_object_va - retrieves an object's virtual address SYNOPSIS int i40e_hmc_get_object_va (struct i40e_hw *hw , u8 **object_base , enum i40e_hmc_lan_rsrc_type rsrc_type , u32 obj_idx ); ARGUMENTS hw the hardware struct, from which we obtain the i40e_hmc_info pointer object_base pointer ...
i40e_hw_dcb_config(9)
NAME i40e_hw_dcb_config - Program new DCBX settings into HW SYNOPSIS int i40e_hw_dcb_config (struct i40e_pf *pf , struct i40e_dcbx_config *new_cfg ); ARGUMENTS pf PF being configured new_cfg New DCBX configuration DESCRIPTION Program DCB settings into HW and reconfigure VEB/VSIs on given PF SEE...
i40e_hw_set_dcb_config(9)
NAME i40e_hw_set_dcb_config - Program new DCBX settings into HW SYNOPSIS int i40e_hw_set_dcb_config (struct i40e_pf *pf , struct i40e_dcbx_config *new_cfg ); ARGUMENTS pf PF being configured new_cfg New DCBX configuration DESCRIPTION Program DCB settings into HW and reconfigure VEB/VSIs on given...
i40e_hw_to_dev(9)
NAME i40e_hw_to_dev - get device pointer from the hardware structure SYNOPSIS struct device * i40e_hw_to_dev (struct i40e_hw *hw ); ARGUMENTS hw pointer to the device HW structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_allocate_dma_mem(9), i40e_free_dma_mem(9), i40e_allo...
i40e_hw_to_pf(9)
NAME i40e_hw_to_pf - get pf pointer from the hardware structure SYNOPSIS struct i40e_pf * i40e_hw_to_pf (struct i40e_hw *hw ); ARGUMENTS hw pointer to the device HW structure 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_inc_ntp(9)
NAME i40e_inc_ntp - Advance the next_to_process index SYNOPSIS void i40e_inc_ntp (struct i40e_ring *rx_ring ); ARGUMENTS rx_ring Rx ring SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_txrx.c i40e_fdir(9), i40e_program_fdir_filter(9), i40e_create_dummy_packet(9), i40e_create_dummy_udp_pac...
i40e_info_civd_ver(9)
NAME i40e_info_civd_ver - format the NVM version strings SYNOPSIS void i40e_info_civd_ver (struct i40e_hw *hw , char *buf , size_t len ); ARGUMENTS hw ptr to the hardware info buf string buffer to store len buffer size DESCRIPTION Returns formated combo image version if adapt...
i40e_info_eetrack(9)
NAME i40e_info_eetrack - format the EETrackID string SYNOPSIS void i40e_info_eetrack (struct i40e_hw *hw , char *buf , size_t len ); ARGUMENTS hw ptr to the hardware info buf string buffer to store len buffer size DESCRIPTION Returns hexadecimally formated EETrackID if it is ...
i40e_info_nvm_ver(9)
NAME i40e_info_nvm_ver - format the NVM version string SYNOPSIS void i40e_info_nvm_ver (struct i40e_hw *hw , char *buf , size_t len ); ARGUMENTS hw ptr to the hardware info buf string buffer to store len buffer size DESCRIPTION Formats NVM version string as: <gen>.<snap>.<rel...
i40e_init_adminq(9)
NAME i40e_init_adminq - main initialization routine for Admin Queue SYNOPSIS int i40e_init_adminq (struct i40e_hw *hw ); ARGUMENTS hw pointer to the hardware structure DESCRIPTION Prior to calling this function, drivers *MUST* set the following fields in the hw->aq structure: - hw->aq.num_asq_entries - hw->...
i40e_init_arq(9)
NAME i40e_init_arq - initialize ARQ SYNOPSIS int i40e_init_arq (struct i40e_hw *hw ); ARGUMENTS hw pointer to the hardware structure DESCRIPTION The main initialization routine for the Admin Receive (Event) Queue. Prior to calling this function, drivers *MUST* set the following fields in the hw->aq st...
i40e_init_asq(9)
NAME i40e_init_asq - main initialization routine for ASQ SYNOPSIS int i40e_init_asq (struct i40e_hw *hw ); ARGUMENTS hw pointer to the hardware structure DESCRIPTION This is the main initialization routine for the Admin Send Queue Prior to calling this function, drivers *MUST* set the following fields i...
i40e_init_dcb(9)
NAME i40e_init_dcb - SYNOPSIS int i40e_init_dcb (struct i40e_hw *hw , bool enable_mib_change ); ARGUMENTS hw pointer to the hw struct enable_mib_change enable mib change event DESCRIPTION Update DCB configuration from the Firmware SEE ALSO Kernel file ./drivers/net/ethernet...
i40e_init_interrupt_scheme(9)
NAME i40e_init_interrupt_scheme - Determine proper interrupt scheme SYNOPSIS int i40e_init_interrupt_scheme (struct i40e_pf *pf ); ARGUMENTS pf board private structure to initialize 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_init_lan_hmc(9)
NAME i40e_init_lan_hmc - initialize i40e_hmc_info struct SYNOPSIS int i40e_init_lan_hmc (struct i40e_hw *hw , u32 txq_num , u32 rxq_num , u32 fcoe_cntx_num , u32 fcoe_filt_num ); ARGUMENTS hw pointer to the HW structure txq_num number of Tx queues needing backing context rxq_num numbe...
i40e_init_module(9)
NAME i40e_init_module - Driver registration routine SYNOPSIS int i40e_init_module (void ); ARGUMENTS void no arguments DESCRIPTION i40e_init_module is the first routine called when the driver is loaded. All it does is register with the PCI subsystem. SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e...
i40e_init_msix(9)
NAME i40e_init_msix - Setup the MSIX capability SYNOPSIS int i40e_init_msix (struct i40e_pf *pf ); ARGUMENTS pf board private structure DESCRIPTION Work with the OS to set up the MSIX vectors needed. Returns the number of vectors reserved or negative on failure SEE ALSO Kernel file ./drivers/net/ether...
i40e_init_nvm(9)
NAME i40e_init_nvm - Initialize NVM function pointers SYNOPSIS int i40e_init_nvm (struct i40e_hw *hw ); ARGUMENTS hw pointer to the HW structure DESCRIPTION Setup the function pointers and the NVM info structure. Should be called once per NVM initialization, e.g. inside the i40e_init_shared_code. Please n...
i40e_init_pf_dcb(9)
NAME i40e_init_pf_dcb - Initialize DCB configuration SYNOPSIS int i40e_init_pf_dcb (struct i40e_pf *pf ); ARGUMENTS pf PF being configured DESCRIPTION Query the current DCB configuration and cache it in the hardware structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_t...
i40e_init_pin_config(9)
NAME i40e_init_pin_config - initialize pins. SYNOPSIS int i40e_init_pin_config (struct i40e_pf *pf ); ARGUMENTS pf private board structure DESCRIPTION Initialize pins for external clock source. Return 0 on success or error code on failure. SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_ptp....
i40e_init_recovery_mode(9)
NAME i40e_init_recovery_mode - initialize subsystems needed in recovery mode SYNOPSIS int i40e_init_recovery_mode (struct i40e_pf *pf , struct i40e_hw *hw ); ARGUMENTS pf board private structure hw ptr to the hardware info DESCRIPTION This function does a minimal setup of all subsystems nee...
i40e_init_shared_code(9)
NAME i40e_init_shared_code - Initialize the shared code SYNOPSIS int i40e_init_shared_code (struct i40e_hw *hw ); ARGUMENTS hw pointer to hardware structure DESCRIPTION This assigns the MAC type and PHY code and inits the NVM. Does not touch the hardware. This function must be called prior to any other...
i40e_intr(9)
NAME i40e_intr - MSI/Legacy and non-queue interrupt handler SYNOPSIS irqreturn_t i40e_intr (int irq , void *data ); ARGUMENTS irq interrupt number data pointer to a q_vector DESCRIPTION This is the handler used for all MSI/Legacy interrupts, and deals with both queue and non-queue interrupts. ...
i40e_intrl_usec_to_reg(9)
NAME i40e_intrl_usec_to_reg - convert interrupt rate limit to register SYNOPSIS u16 i40e_intrl_usec_to_reg (int intrl ); ARGUMENTS intrl interrupt rate limit to convert DESCRIPTION This function converts a decimal interrupt rate limit to the appropriate register format expected by the firmware when setting int...
i40e_io_resume(9)
NAME i40e_io_resume - resume IO operations SYNOPSIS int i40e_io_resume (struct i40e_pf *pf ); ARGUMENTS pf pointer to i40e_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_...
i40e_io_suspend(9)
NAME i40e_io_suspend - suspend all IO operations SYNOPSIS int i40e_io_suspend (struct i40e_pf *pf ); ARGUMENTS pf pointer to i40e_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_irq_affinity_notify(9)
NAME i40e_irq_affinity_notify - Callback for affinity changes SYNOPSIS void i40e_irq_affinity_notify (struct irq_affinity_notify *notify , const cpumask_t *mask ); ARGUMENTS notify context as to what irq was changed mask the new affinity mask DESCRIPTION This is a callback function used by the ir...
i40e_irq_affinity_release(9)
NAME i40e_irq_affinity_release - Callback for affinity notifier release SYNOPSIS void i40e_irq_affinity_release (struct kref *ref ); ARGUMENTS ref internal core kernel usage DESCRIPTION This is a callback function used by the irq_set_affinity_notifier function to inform the current notification subscriber th...
i40e_irq_dynamic_disable_icr0(9)
NAME i40e_irq_dynamic_disable_icr0 - Disable default interrupt generation for icr0 SYNOPSIS void i40e_irq_dynamic_disable_icr0 (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), i4...
i40e_irq_dynamic_enable(9)
NAME i40e_irq_dynamic_enable - Enable default interrupt generation settings SYNOPSIS void i40e_irq_dynamic_enable (struct i40e_vsi *vsi , int vector ); ARGUMENTS vsi pointer to a vsi vector enable a particular Hw Interrupt vector, without base_vector SEE ALSO Kernel file ./drivers/net/ethernet...
i40e_irq_dynamic_enable_icr0(9)
NAME i40e_irq_dynamic_enable_icr0 - Enable default interrupt generation for icr0 SYNOPSIS void i40e_irq_dynamic_enable_icr0 (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_is_aq_api_ver_ge(9)
NAME i40e_is_aq_api_ver_ge - SYNOPSIS bool i40e_is_aq_api_ver_ge (struct i40e_hw *hw , u16 maj , u16 min ); ARGUMENTS hw pointer to i40e_hw structure maj API major value to compare min API minor value to compare DESCRIPTION Assert whether current HW API version is greater/equ...
i40e_is_aq_api_ver_lt(9)
NAME i40e_is_aq_api_ver_lt - SYNOPSIS bool i40e_is_aq_api_ver_lt (struct i40e_hw *hw , u16 maj , u16 min ); ARGUMENTS hw pointer to i40e_hw structure maj API major value to compare min API minor value to compare DESCRIPTION Assert whether current HW API version is less than p...
i40e_is_fw_ver_eq(9)
NAME i40e_is_fw_ver_eq - SYNOPSIS bool i40e_is_fw_ver_eq (struct i40e_hw *hw , u16 maj , u16 min ); ARGUMENTS hw pointer to i40e_hw structure maj API major value to compare min API minor value to compare DESCRIPTION Assert whether current firmware version is equal to provided...
i40e_is_fw_ver_ge(9)
NAME i40e_is_fw_ver_ge - SYNOPSIS bool i40e_is_fw_ver_ge (struct i40e_hw *hw , u16 maj , u16 min ); ARGUMENTS hw pointer to i40e_hw structure maj API major value to compare min API minor value to compare DESCRIPTION Assert whether current firmware version is greater/equal tha...
i40e_is_fw_ver_lt(9)
NAME i40e_is_fw_ver_lt - SYNOPSIS bool i40e_is_fw_ver_lt (struct i40e_hw *hw , u16 maj , u16 min ); ARGUMENTS hw pointer to i40e_hw structure maj API major value to compare min API minor value to compare DESCRIPTION Assert whether current firmware version is less than provide...
i40e_is_non_eop(9)
NAME i40e_is_non_eop - process handling of non-EOP buffers SYNOPSIS bool i40e_is_non_eop (struct i40e_ring *rx_ring , union i40e_rx_desc *rx_desc ); ARGUMENTS rx_ring Rx ring being processed rx_desc Rx descriptor for current buffer DESCRIPTION If the buffer is an EOP buffer, this function exits retur...
i40e_is_ptp_pin_dev(9)
NAME i40e_is_ptp_pin_dev - check if device supports PTP pins SYNOPSIS bool i40e_is_ptp_pin_dev (struct i40e_hw *hw ); ARGUMENTS hw pointer to the hardware structure DESCRIPTION Return true if device supports PTP pins, false otherwise. SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_ptp.c i40...
i40e_is_tc_mqprio_enabled(9)
NAME i40e_is_tc_mqprio_enabled - check if TC MQPRIO is enabled on PF SYNOPSIS bool i40e_is_tc_mqprio_enabled (struct i40e_pf *pf ); ARGUMENTS pf pointer to a pf. DESCRIPTION Check and return state of flag I40E_FLAG_TC_MQPRIO. RETURN true/false if I40E_FLAG_TC_MQPRIO is set or not SEE ALSO Kernel file ./...
i40e_is_total_port_shutdown_enabled(9)
NAME i40e_is_total_port_shutdown_enabled - read NVM and return value if total port shutdown feature is enabled for this PF SYNOPSIS bool i40e_is_total_port_shutdown_enabled (struct i40e_pf *pf ); ARGUMENTS pf board private structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40...
i40e_is_vc_addr_legacy(9)
NAME i40e_is_vc_addr_legacy - SYNOPSIS bool i40e_is_vc_addr_legacy (struct virtchnl_ether_addr *vc_ether_addr ); ARGUMENTS vc_ether_addr VIRTCHNL structure that contains MAC and type DESCRIPTION check if the MAC address is from an older VF SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c ...
i40e_is_vc_addr_primary(9)
NAME i40e_is_vc_addr_primary - SYNOPSIS bool i40e_is_vc_addr_primary (struct virtchnl_ether_addr *vc_ether_addr ); ARGUMENTS vc_ether_addr VIRTCHNL structure that contains MAC and type DESCRIPTION check if the MAC address is the VF's primary MAC This function should only be called when the MAC address in virtchnl_et...
i40e_is_vsi_in_vlan(9)
NAME i40e_is_vsi_in_vlan - Check if VSI is in vlan mode SYNOPSIS bool i40e_is_vsi_in_vlan (struct i40e_vsi *vsi ); ARGUMENTS vsi the VSI to be searched DESCRIPTION Returns true if VSI is in vlan mode or false otherwise SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9)...
i40e_is_vsi_uplink_mode_veb(9)
NAME i40e_is_vsi_uplink_mode_veb - Check if the VSI's uplink bridge mode is VEB SYNOPSIS int i40e_is_vsi_uplink_mode_veb (struct i40e_vsi *vsi ); ARGUMENTS vsi the VSI being queried DESCRIPTION Returns 1 if HW bridge mode is VEB and return 0 in case of VEPA mode SEE ALSO Kernel file ./drivers/net/ethern...
i40e_lan_add_device(9)
NAME i40e_lan_add_device - add a lan device struct to the list of lan devices SYNOPSIS int i40e_lan_add_device (struct i40e_pf *pf ); ARGUMENTS pf pointer to the board struct DESCRIPTION Returns 0 on success or none 0 on error SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_client.c i40e_clien...
i40e_lan_del_device(9)
NAME i40e_lan_del_device - removes a lan device from the device list SYNOPSIS int i40e_lan_del_device (struct i40e_pf *pf ); ARGUMENTS pf pointer to the board struct DESCRIPTION Returns 0 on success or non-0 on error SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_client.c i40e_client_get_para...
i40e_lan_xmit_frame(9)
NAME i40e_lan_xmit_frame - Selects the correct VSI and Tx queue to send buffer SYNOPSIS netdev_tx_t i40e_lan_xmit_frame (struct sk_buff *skb , struct net_device *netdev ); ARGUMENTS skb send buffer netdev network interface device structure DESCRIPTION Returns NETDEV_TX_OK if sent, else an error ...
i40e_led_get(9)
NAME i40e_led_get - return current on/off mode SYNOPSIS u32 i40e_led_get (struct i40e_hw *hw ); ARGUMENTS hw pointer to the hw struct DESCRIPTION The value returned is the 'mode' field as defined in the GPIO register definitions: 0x0 = off, 0xf = on, and other values are variations of possible behaviors rel...
i40e_led_get_phy(9)
NAME i40e_led_get_phy - return current on/off mode SYNOPSIS int i40e_led_get_phy (struct i40e_hw *hw , u16 *led_addr , u16 *val ); ARGUMENTS hw pointer to the hw struct led_addr address of led register to use val original value of register to use SEE ALSO Kernel file ./drive...
i40e_led_get_reg(9)
NAME i40e_led_get_reg - read LED register SYNOPSIS int i40e_led_get_reg (struct i40e_hw *hw , u16 led_addr , u32 *reg_val ); ARGUMENTS hw pointer to the HW structure led_addr LED register address reg_val read register value SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/...
i40e_led_is_mine(9)
NAME i40e_led_is_mine - helper to find matching led SYNOPSIS u32 i40e_led_is_mine (struct i40e_hw *hw , int idx ); ARGUMENTS hw pointer to the hw struct idx index into GPIO registers RETURN 0 if no match, otherwise the value of the GPIO_CTL register SEE ALSO Kernel file ./drivers/net/...
i40e_led_set(9)
NAME i40e_led_set - set new on/off mode SYNOPSIS void i40e_led_set (struct i40e_hw *hw , u32 mode , bool blink ); ARGUMENTS hw pointer to the hw struct mode 0=off, 0xf=on (else see manual for mode details) blink true if the LED should blink when on, false if steady DESCRIPTION i...
i40e_led_set_phy(9)
NAME i40e_led_set_phy - SYNOPSIS int i40e_led_set_phy (struct i40e_hw *hw , bool on , u16 led_addr , u32 mode ); ARGUMENTS hw pointer to the HW structure on true or false led_addr address of led register to use mode original val plus bit for set or ignore DESCRIPTI...
i40e_led_set_reg(9)
NAME i40e_led_set_reg - write LED register SYNOPSIS int i40e_led_set_reg (struct i40e_hw *hw , u16 led_addr , u32 reg_val ); ARGUMENTS hw pointer to the HW structure led_addr LED register address reg_val register value to write SEE ALSO Kernel file ./drivers/net/ethernet/intel/i...
i40e_link_event(9)
NAME i40e_link_event - Update netif_carrier status SYNOPSIS void i40e_link_event (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(9)...
i40e_lldp_to_dcb_config(9)
NAME i40e_lldp_to_dcb_config - SYNOPSIS int i40e_lldp_to_dcb_config (u8 *lldpmib , struct i40e_dcbx_config *dcbcfg ); ARGUMENTS lldpmib LLDPDU to be parsed dcbcfg store for LLDPDU data DESCRIPTION Parse DCB configuration from the LLDPDU SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i...
i40e_map_pf_queues_to_vsi(9)
NAME i40e_map_pf_queues_to_vsi - SYNOPSIS void i40e_map_pf_queues_to_vsi (struct i40e_vf *vf ); ARGUMENTS vf pointer to the VF info DESCRIPTION PF maps LQPs to a VF by programming VSILAN_QTABLE & VPLAN_QTABLE. This function takes care of first part VSILAN_QTABLE, mapping pf queues to VSI. SEE ALSO Kernel ...
i40e_map_pf_to_vf_queues(9)
NAME i40e_map_pf_to_vf_queues - SYNOPSIS void i40e_map_pf_to_vf_queues (struct i40e_vf *vf ); ARGUMENTS vf pointer to the VF info DESCRIPTION PF maps LQPs to a VF by programming VSILAN_QTABLE & VPLAN_QTABLE. This function takes care of the second part VPLAN_QTABLE & completes VF mappings. SEE ALSO Kernel ...
i40e_map_vector_to_qp(9)
NAME i40e_map_vector_to_qp - Assigns the queue pair to the vector SYNOPSIS void i40e_map_vector_to_qp (struct i40e_vsi *vsi , int v_idx , int qp_idx ); ARGUMENTS vsi the VSI being configured v_idx vector index qp_idx queue pair index SEE ALSO Kernel file ./drivers/net/ethernet/...
i40e_match_fdir_filter(9)
NAME i40e_match_fdir_filter - Return true of two filters match SYNOPSIS bool i40e_match_fdir_filter (struct i40e_fdir_filter *a , struct i40e_fdir_filter *b ); ARGUMENTS a pointer to filter struct b pointer to filter struct DESCRIPTION Returns true if the two filters match exactly the s...
i40e_max_channels(9)
NAME i40e_max_channels - get Max number of combined channels supported SYNOPSIS unsigned int i40e_max_channels (struct i40e_vsi *vsi ); ARGUMENTS vsi vsi pointer SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_ethtool.c struct i40e_stats(9), i40e_add_one_ethtool_stat(9), __i40e_add_ethtool_stats(...
i40e_max_vsi_frame_size(9)
NAME i40e_max_vsi_frame_size - returns the maximum allowed frame size for VSI SYNOPSIS int i40e_max_vsi_frame_size (struct i40e_vsi *vsi , struct bpf_prog *xdp_prog ); ARGUMENTS vsi the vsi xdp_prog XDP program SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(...
i40e_maybe_stop_tx(9)
NAME i40e_maybe_stop_tx - 1st level check for Tx stop conditions SYNOPSIS int i40e_maybe_stop_tx (struct i40e_ring *tx_ring , int size ); ARGUMENTS tx_ring the ring to be checked size the size buffer we want to assure is available DESCRIPTION Returns 0 if stop is not needed SEE ALSO Kernel file ....
i40e_mdio_if_number_selection(9)
NAME i40e_mdio_if_number_selection - MDIO I/F number selection SYNOPSIS void i40e_mdio_if_number_selection (struct i40e_hw *hw , bool set_mdio , u8 mdio_num , struct i40e_aqc_phy_register_access *cmd ); ARGUMENTS hw pointer to the hw struct set_mdio use MDIO I/F number specified by mdio_num ...
i40e_mqprio_get_enabled_tc(9)
NAME i40e_mqprio_get_enabled_tc - Get enabled traffic classes SYNOPSIS u8 i40e_mqprio_get_enabled_tc (struct i40e_pf *pf ); ARGUMENTS pf PF being queried DESCRIPTION Query the current MQPRIO configuration and return the number of traffic classes enabled. SEE ALSO Kernel file ./drivers/net/ethernet/inte...
i40e_msix_clean_rings(9)
NAME i40e_msix_clean_rings - MSIX mode Interrupt Handler SYNOPSIS irqreturn_t i40e_msix_clean_rings (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_dma_m...
i40e_napi_disable_all(9)
NAME i40e_napi_disable_all - Disable NAPI for all q_vectors in the VSI SYNOPSIS void i40e_napi_disable_all (struct i40e_vsi *vsi ); ARGUMENTS vsi the VSI being 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_napi_enable_all(9)
NAME i40e_napi_enable_all - Enable NAPI for all q_vectors in the VSI SYNOPSIS void i40e_napi_enable_all (struct i40e_vsi *vsi ); ARGUMENTS vsi the VSI being 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_napi_poll(9)
NAME i40e_napi_poll - NAPI polling Rx/Tx cleanup routine SYNOPSIS int i40e_napi_poll (struct napi_struct *napi , int budget ); ARGUMENTS napi napi struct with our devices info in it budget amount of work driver is allowed to do this pass, in packets DESCRIPTION This function will clean all queues...
i40e_ndo_bridge_getlink(9)
NAME i40e_ndo_bridge_getlink - Get the hardware bridge mode SYNOPSIS int i40e_ndo_bridge_getlink (struct sk_buff *skb , u32 pid , u32 seq , struct net_device *dev , u32 filter_mask , int nlflags ); ARGUMENTS skb skb buff pid process id seq RTNL message seq # dev ...
i40e_ndo_bridge_setlink(9)
NAME i40e_ndo_bridge_setlink - Set the hardware bridge mode SYNOPSIS int i40e_ndo_bridge_setlink (struct net_device *dev , struct nlmsghdr *nlh , u16 flags , struct netlink_ext_ack *extack ); ARGUMENTS dev the netdev being configured nlh RTNL message flags bridge flags ex...
i40e_ndo_fdb_add(9)
NAME i40e_ndo_fdb_add - add an entry to the hardware database SYNOPSIS int i40e_ndo_fdb_add (struct ndmsg *ndm , struct nlattr *tb[] , struct net_device *dev , const unsigned char *addr , u16 vid , u16 flags , bool *notified , struct netlink_ext_ack *extack ); ARGUMENTS ndm the input from the stack tb...
i40e_ndo_get_vf_config(9)
NAME i40e_ndo_get_vf_config - SYNOPSIS int i40e_ndo_get_vf_config (struct net_device *netdev , int vf_id , struct ifla_vf_info *ivi ); ARGUMENTS netdev network interface device structure vf_id VF identifier ivi VF configuration structure DESCRIPTION return VF configuration SEE ALS...
i40e_ndo_set_vf_bw(9)
NAME i40e_ndo_set_vf_bw - SYNOPSIS int i40e_ndo_set_vf_bw (struct net_device *netdev , int vf_id , int min_tx_rate , int max_tx_rate ); ARGUMENTS netdev network interface device structure vf_id VF identifier min_tx_rate Minimum Tx rate max_tx_rate Maximum Tx rate DESCRIPTION config...
i40e_ndo_set_vf_link_state(9)
NAME i40e_ndo_set_vf_link_state - SYNOPSIS int i40e_ndo_set_vf_link_state (struct net_device *netdev , int vf_id , int link ); ARGUMENTS netdev network interface device structure vf_id VF identifier link required link state DESCRIPTION Set the link state of a specified VF, regardles...
i40e_ndo_set_vf_mac(9)
NAME i40e_ndo_set_vf_mac - SYNOPSIS int i40e_ndo_set_vf_mac (struct net_device *netdev , int vf_id , u8 *mac ); ARGUMENTS netdev network interface device structure vf_id VF identifier mac mac address DESCRIPTION program VF mac address SEE ALSO Kernel file ./drivers/net/ethernet/...
i40e_ndo_set_vf_port_vlan(9)
NAME i40e_ndo_set_vf_port_vlan - SYNOPSIS int i40e_ndo_set_vf_port_vlan (struct net_device *netdev , int vf_id , u16 vlan_id , u8 qos , __be16 vlan_proto ); ARGUMENTS netdev network interface device structure vf_id VF identifier vlan_id mac address qos priority setting ...
i40e_ndo_set_vf_spoofchk(9)
NAME i40e_ndo_set_vf_spoofchk - SYNOPSIS int i40e_ndo_set_vf_spoofchk (struct net_device *netdev , int vf_id , bool enable ); ARGUMENTS netdev network interface device structure vf_id VF identifier enable flag to enable or disable feature DESCRIPTION Enable or disable VF spoof checkin...
i40e_ndo_set_vf_trust(9)
NAME i40e_ndo_set_vf_trust - SYNOPSIS int i40e_ndo_set_vf_trust (struct net_device *netdev , int vf_id , bool setting ); ARGUMENTS netdev network interface device structure of the pf vf_id VF identifier setting trust setting DESCRIPTION Enable or disable VF trust setting SEE ALSO Kern...
i40e_netdev_to_pf(9)
NAME i40e_netdev_to_pf - Retrieve the PF struct for given netdev SYNOPSIS struct i40e_pf * i40e_netdev_to_pf (struct net_device *netdev ); ARGUMENTS netdev the corresponding netdev DESCRIPTION Return the PF struct for the given netdev SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e.h __i40e_pf_next...
i40e_netif_set_realnum_tx_rx_queues(9)
NAME i40e_netif_set_realnum_tx_rx_queues - Update number of tx/rx queues SYNOPSIS int i40e_netif_set_realnum_tx_rx_queues (struct i40e_vsi *vsi ); ARGUMENTS vsi vsi structure DESCRIPTION This updates netdev's number of tx/rx queues Returns status of setting tx/rx queues SEE ALSO Kernel file ./drivers/ne...
i40e_netpoll(9)
NAME i40e_netpoll - A Polling 'interrupt' handler SYNOPSIS void i40e_netpoll (struct net_device *netdev ); ARGUMENTS netdev network interface device structure DESCRIPTION This is used by netconsole to send skbs without having to re-enable interrupts. It's not called while the normal interrupt routine is execut...