id
stringlengths
4
63
text
stringlengths
153
8.81M
iavf_adminq_task(9)
NAME iavf_adminq_task - worker thread to clean the admin queue SYNOPSIS void iavf_adminq_task (struct work_struct *work ); ARGUMENTS work pointer to work_struct containing our data SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c iavf_pdev_to_adapter(9), iavf_is_reset_in_progress(9), i...
iavf_alloc_adminq_arq_ring(9)
NAME iavf_alloc_adminq_arq_ring - Allocate Admin Queue receive rings SYNOPSIS enum iavf_status iavf_alloc_adminq_arq_ring (struct iavf_hw *hw ); ARGUMENTS hw pointer to the hardware structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_adminq.c iavf_alloc_adminq_asq_ring(9), iavf_free_...
iavf_alloc_adminq_asq_ring(9)
NAME iavf_alloc_adminq_asq_ring - Allocate Admin Queue send rings SYNOPSIS enum iavf_status iavf_alloc_adminq_asq_ring (struct iavf_hw *hw ); ARGUMENTS hw pointer to the hardware structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_adminq.c iavf_alloc_adminq_arq_ring(9), iavf_free_adm...
iavf_alloc_arq_bufs(9)
NAME iavf_alloc_arq_bufs - Allocate pre-posted buffers for the receive queue SYNOPSIS enum iavf_status iavf_alloc_arq_bufs (struct iavf_hw *hw ); ARGUMENTS hw pointer to the hardware structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_adminq.c iavf_alloc_adminq_asq_ring(9), iavf_alloc_a...
iavf_alloc_asq_bufs(9)
NAME iavf_alloc_asq_bufs - Allocate empty buffer structs for the send queue SYNOPSIS enum iavf_status iavf_alloc_asq_bufs (struct iavf_hw *hw ); ARGUMENTS hw pointer to the hardware structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_adminq.c iavf_alloc_adminq_asq_ring(9), iavf_alloc_ad...
iavf_alloc_q_vectors(9)
NAME iavf_alloc_q_vectors - Allocate memory for interrupt vectors SYNOPSIS int iavf_alloc_q_vectors (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure to initialize DESCRIPTION We allocate one q_vector per queue interrupt. If allocation fails we return -ENOMEM. SEE ALSO Kernel file ....
iavf_alloc_queues(9)
NAME iavf_alloc_queues - Allocate memory for all rings SYNOPSIS int iavf_alloc_queues (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure to initialize DESCRIPTION We allocate one ring per queue at run-time since we don't know the number of queues at compile-time. The polling_netdev array...
iavf_alloc_rx_buffers(9)
NAME iavf_alloc_rx_buffers - Replace used receive buffers SYNOPSIS bool iavf_alloc_rx_buffers (struct iavf_ring *rx_ring , u16 cleaned_count ); ARGUMENTS rx_ring ring to place buffers on cleaned_count number of buffers to replace DESCRIPTION Returns false if all allocations were succes...
iavf_allocate_dma_mem_d(9)
NAME iavf_allocate_dma_mem_d - OS specific memory alloc for shared code SYNOPSIS enum iavf_status iavf_allocate_dma_mem_d (struct iavf_hw *hw , struct iavf_dma_mem *mem , u64 size , u32 alignment ); ARGUMENTS hw pointer to the HW structure mem ptr to mem struct to fill out size ...
iavf_allocate_ptp_cmd(9)
NAME iavf_allocate_ptp_cmd - Allocate a PTP command message structure SYNOPSIS struct iavf_ptp_aq_cmd * iavf_allocate_ptp_cmd (enum virtchnl_ops v_opcode , u16 msglen ); ARGUMENTS v_opcode the virtchnl opcode msglen length in bytes of the associated virtchnl structure DESCRIPTION Allocates a PTP comm...
iavf_allocate_virt_mem(9)
NAME iavf_allocate_virt_mem - virt memory alloc wrapper SYNOPSIS enum iavf_status iavf_allocate_virt_mem (struct iavf_hw *hw , struct iavf_virt_mem *mem , u32 size ); ARGUMENTS hw pointer to the HW structure mem ptr to mem struct to fill out size size of memory requested SEE A...
iavf_aq_get_set_rss_key(9)
NAME iavf_aq_get_set_rss_key - SYNOPSIS enum iavf_status iavf_aq_get_set_rss_key (struct iavf_hw *hw , u16 vsi_id , struct iavf_aqc_get_set_rss_key_data *key , bool set ); ARGUMENTS hw pointer to the hw struct vsi_id vsi fw index key pointer to key info struct set ...
iavf_aq_get_set_rss_lut(9)
NAME iavf_aq_get_set_rss_lut - SYNOPSIS enum iavf_status iavf_aq_get_set_rss_lut (struct iavf_hw *hw , u16 vsi_id , bool pf_lut , u8 *lut , u16 lut_size , bool set ); ARGUMENTS hw pointer to the hardware structure vsi_id vsi fw index pf_lut for PF table set true, for VSI table set f...
iavf_aq_queue_shutdown(9)
NAME iavf_aq_queue_shutdown - SYNOPSIS enum iavf_status iavf_aq_queue_shutdown (struct iavf_hw *hw , bool unloading ); ARGUMENTS hw pointer to the hw struct unloading is the driver unloading itself DESCRIPTION Tell the Firmware that we're shutting down the AdminQ and whether or not the driver is u...
iavf_aq_rc_to_posix(9)
NAME iavf_aq_rc_to_posix - convert errors to user-land codes SYNOPSIS int iavf_aq_rc_to_posix (int aq_ret , int aq_rc ); ARGUMENTS aq_ret AdminQ handler error code can override aq_rc aq_rc AdminQ firmware error code to convert SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_adminq.h A...
iavf_aq_send_msg_to_pf(9)
NAME iavf_aq_send_msg_to_pf - SYNOPSIS enum iavf_status iavf_aq_send_msg_to_pf (struct iavf_hw *hw , enum virtchnl_ops v_opcode , enum iavf_status v_retval , u8 *msg , u16 msglen , struct iavf_asq_cmd_details *cmd_details ); ARGUMENTS hw pointer to the hardware structure v_opcode opcodes for VF-PF...
iavf_aq_set_rss_key(9)
NAME iavf_aq_set_rss_key - SYNOPSIS enum iavf_status iavf_aq_set_rss_key (struct iavf_hw *hw , u16 vsi_id , struct iavf_aqc_get_set_rss_key_data *key ); ARGUMENTS hw pointer to the hw struct vsi_id vsi fw index key pointer to key info struct DESCRIPTION set the RSS key per VSI ...
iavf_aq_set_rss_lut(9)
NAME iavf_aq_set_rss_lut - SYNOPSIS enum iavf_status iavf_aq_set_rss_lut (struct iavf_hw *hw , u16 vsi_id , bool pf_lut , u8 *lut , u16 lut_size ); ARGUMENTS hw pointer to the hardware structure vsi_id vsi fw index pf_lut for PF table set true, for VSI table set false lut ...
iavf_asq_done(9)
NAME iavf_asq_done - check if FW has processed the Admin Send Queue SYNOPSIS bool iavf_asq_done (struct iavf_hw *hw ); ARGUMENTS hw pointer to the hw struct DESCRIPTION Returns true if the firmware has processed all descriptors on the admin send queue. Returns false if there are still requests pending. SEE...
iavf_asq_send_command(9)
NAME iavf_asq_send_command - send command to Admin Queue SYNOPSIS enum iavf_status iavf_asq_send_command (struct iavf_hw *hw , struct libie_aq_desc *desc , void *buff , u16 buff_size , struct iavf_asq_cmd_details *cmd_details ); ARGUMENTS hw pointer to the hw struct desc prefilled descriptor d...
iavf_build_skb(9)
NAME iavf_build_skb - Build skb around an existing buffer SYNOPSIS struct sk_buff * iavf_build_skb (const struct libeth_fqe *rx_buffer , unsigned int size ); ARGUMENTS rx_buffer Rx buffer to pull data from size size of buffer to add to skb DESCRIPTION This function builds an skb around an existing R...
iavf_cfg_queues_bw(9)
NAME iavf_cfg_queues_bw - configure bandwidth of allocated queues SYNOPSIS void iavf_cfg_queues_bw (struct iavf_adapter *adapter ); ARGUMENTS adapter iavf adapter structure instance DESCRIPTION This function requests PF to configure queue bandwidth of allocated queues SEE ALSO Kernel file ./drivers/net/ethern...
iavf_cfg_queues_quanta_size(9)
NAME iavf_cfg_queues_quanta_size - configure quanta size of queues SYNOPSIS void iavf_cfg_queues_quanta_size (struct iavf_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION Request that the PF configure quanta size of allocated queues. SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/ia...
iavf_change_mtu(9)
NAME iavf_change_mtu - Change the Maximum Transfer Unit SYNOPSIS int iavf_change_mtu (struct net_device *netdev , int new_mtu ); ARGUMENTS netdev network interface device structure new_mtu new value for maximum frame size DESCRIPTION Returns 0 on success, negative on failure SEE ALSO Kernel file ...
iavf_check_asq_alive(9)
NAME iavf_check_asq_alive - SYNOPSIS bool iavf_check_asq_alive (struct iavf_hw *hw ); ARGUMENTS hw pointer to the hw struct DESCRIPTION Returns true if Queue is enabled else false. SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_common.c iavf_stat_str(9), iavf_debug_aq(9), iavf_aq_...
iavf_check_reset_complete(9)
NAME iavf_check_reset_complete - check that VF reset is complete SYNOPSIS int iavf_check_reset_complete (struct iavf_hw *hw ); ARGUMENTS hw pointer to hw struct DESCRIPTION Returns 0 if device is ready to use, or -EBUSY if it's in reset. SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c...
iavf_chk_linearize(9)
NAME iavf_chk_linearize - Check if there are more than 8 fragments per packet SYNOPSIS bool iavf_chk_linearize (struct sk_buff *skb , int count ); ARGUMENTS skb send buffer count number of buffers used NOTE Our HW can't scatter-gather more than 8 fragments to build a packet on the wire and so w...
iavf_clean_arq_element(9)
NAME iavf_clean_arq_element - SYNOPSIS enum iavf_status iavf_clean_arq_element (struct iavf_hw *hw , struct iavf_arq_event_info *e , u16 *pending ); ARGUMENTS hw pointer to the hw struct e event info from the receive descriptor, includes any buffers pending number of events that...
iavf_clean_asq(9)
NAME iavf_clean_asq - cleans Admin send queue SYNOPSIS u16 iavf_clean_asq (struct iavf_hw *hw ); ARGUMENTS hw pointer to the hardware structure DESCRIPTION returns the number of free desc SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_adminq.c iavf_alloc_adminq_asq_ring(9), iavf_alloc_adminq...
iavf_clean_rx_irq(9)
NAME iavf_clean_rx_irq - Clean completed descriptors from Rx ring - bounce buf SYNOPSIS int iavf_clean_rx_irq (struct iavf_ring *rx_ring , int budget ); ARGUMENTS rx_ring rx descriptor ring to transact packets on budget Total limit on number of packets to process DESCRIPTION This function provides a...
iavf_clean_rx_ring(9)
NAME iavf_clean_rx_ring - Free Rx buffers SYNOPSIS void iavf_clean_rx_ring (struct iavf_ring *rx_ring ); ARGUMENTS rx_ring ring to be cleaned SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_txrx.c iavf_is_descriptor_done(9), iavf_unmap_and_free_tx_resource(9), iavf_clean_tx_ring(9), iavf_free_t...
iavf_clean_tx_irq(9)
NAME iavf_clean_tx_irq - Reclaim resources after transmit completes SYNOPSIS bool iavf_clean_tx_irq (struct iavf_vsi *vsi , struct iavf_ring *tx_ring , int napi_budget ); ARGUMENTS vsi the VSI we care about tx_ring Tx ring to clean napi_budget Used to determine if we are in netpoll DESCRI...
iavf_clean_tx_ring(9)
NAME iavf_clean_tx_ring - Free any empty Tx buffers SYNOPSIS void iavf_clean_tx_ring (struct iavf_ring *tx_ring ); ARGUMENTS tx_ring ring to be cleaned SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_txrx.c iavf_is_descriptor_done(9), iavf_unmap_and_free_tx_resource(9), iavf_free_tx_resources(9), i...
iavf_cleanup_headers(9)
NAME iavf_cleanup_headers - Correct empty headers SYNOPSIS bool iavf_cleanup_headers (struct iavf_ring *rx_ring , struct sk_buff *skb ); ARGUMENTS rx_ring rx descriptor ring packet is being transacted on skb pointer to current skb being fixed DESCRIPTION Also address the case where we are pullin...
iavf_clear_adv_rss_conf(9)
NAME iavf_clear_adv_rss_conf - Remove adv rss conf not sent to PF yet and mark other to be removed. SYNOPSIS void iavf_clear_adv_rss_conf (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c iavf_pdev_to_adapter(9), iav...
iavf_clear_cloud_filters(9)
NAME iavf_clear_cloud_filters - Remove cloud filters not sent to PF yet and mark other to be removed. SYNOPSIS void iavf_clear_cloud_filters (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c iavf_pdev_to_adapter(9), ...
iavf_clear_fdir_filters(9)
NAME iavf_clear_fdir_filters - Remove fdir filters not sent to PF yet and mark other to be removed. SYNOPSIS void iavf_clear_fdir_filters (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c iavf_pdev_to_adapter(9), iav...
iavf_clear_mac_vlan_filters(9)
NAME iavf_clear_mac_vlan_filters - Remove mac and vlan filters not sent to PF yet and mark other to be removed. SYNOPSIS void iavf_clear_mac_vlan_filters (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c iavf_pdev_to_...
iavf_clear_offload_v2_aq_required(9)
NAME iavf_clear_offload_v2_aq_required - clear AQ required bit for offload request SYNOPSIS void iavf_clear_offload_v2_aq_required (struct iavf_adapter *adapter , u16 tpid , enum virtchnl_ops offload_op ); ARGUMENTS adapter adapter structure tpid VLAN TPID offload_op opcode used to determi...
iavf_close(9)
NAME iavf_close - Disables a network interface SYNOPSIS int iavf_close (struct net_device *netdev ); ARGUMENTS netdev network interface device structure DESCRIPTION Returns 0, this is not allowed to fail The close entry point is called when an interface is de-activated by the OS. The hardware is still under th...
iavf_config_arq_regs(9)
NAME iavf_config_arq_regs - ARQ register configuration SYNOPSIS enum iavf_status iavf_config_arq_regs (struct iavf_hw *hw ); ARGUMENTS hw pointer to the hardware structure DESCRIPTION Configure base address and length registers for the receive (event queue) SEE ALSO Kernel file ./drivers/net/ethernet/int...
iavf_config_asq_regs(9)
NAME iavf_config_asq_regs - configure ASQ registers SYNOPSIS enum iavf_status iavf_config_asq_regs (struct iavf_hw *hw ); ARGUMENTS hw pointer to the hardware structure DESCRIPTION Configure base address and length registers for the transmit queue SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/ia...
iavf_config_rss(9)
NAME iavf_config_rss - Configure RSS keys and lut SYNOPSIS int iavf_config_rss (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure DESCRIPTION Returns 0 on success, negative on failure SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c iavf_pdev_to_adapter(9), iavf_is...
iavf_config_rss_aq(9)
NAME iavf_config_rss_aq - Configure RSS keys and lut by using AQ commands SYNOPSIS int iavf_config_rss_aq (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure DESCRIPTION Return 0 on success, negative on failure SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c iavf_pd...
iavf_config_rss_reg(9)
NAME iavf_config_rss_reg - Configure RSS keys and lut by writing registers SYNOPSIS int iavf_config_rss_reg (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure DESCRIPTION Returns 0 on success, negative on failure SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c iavf...
iavf_configure(9)
NAME iavf_configure - set up transmit and receive data structures SYNOPSIS void iavf_configure (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c iavf_pdev_to_adapter(9), iavf_is_reset_in_progress(9), iavf_allocate_d...
iavf_configure_clsflower(9)
NAME iavf_configure_clsflower - Add tc flower filters SYNOPSIS int iavf_configure_clsflower (struct iavf_adapter *adapter , struct flow_cls_offload *cls_flower ); ARGUMENTS adapter board private structure cls_flower Pointer to struct flow_cls_offload SEE ALSO Kernel file ./drivers/net/ethernet/intel/...
iavf_configure_queues(9)
NAME iavf_configure_queues - SYNOPSIS void iavf_configure_queues (struct iavf_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION Request that the PF set up our (previously allocated) queues. SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_virtchnl.c iavf_send_pf_msg(9), iavf_sen...
iavf_configure_rx(9)
NAME iavf_configure_rx - Configure Receive Unit after Reset SYNOPSIS void iavf_configure_rx (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure DESCRIPTION Configure the Rx unit of the MAC after a reset. SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c iavf_pdev_to_a...
iavf_configure_tx(9)
NAME iavf_configure_tx - Configure Transmit Unit after Reset SYNOPSIS void iavf_configure_tx (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure DESCRIPTION Configure the Tx unit of the MAC after a reset. SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c iavf_pdev_to_...
iavf_create_tx_ctx(9)
NAME iavf_create_tx_ctx - Build the Tx context descriptor SYNOPSIS void iavf_create_tx_ctx (struct iavf_ring *tx_ring , const u64 cd_type_cmd_tso_mss , const u32 cd_tunneling , const u32 cd_l2tag2 ); ARGUMENTS tx_ring ring to create the descriptor on cd_type_cmd_tso_mss Quad Word 1 ...
iavf_debug_aq(9)
NAME iavf_debug_aq - SYNOPSIS void iavf_debug_aq (struct iavf_hw *hw , enum iavf_debug_mask mask , void *desc , void *buffer , u16 buf_len ); ARGUMENTS hw debug mask related to admin queue mask debug mask desc pointer to admin queue descriptor buffer pointer to comm...
iavf_del_adv_rss_cfg(9)
NAME iavf_del_adv_rss_cfg - SYNOPSIS void iavf_del_adv_rss_cfg (struct iavf_adapter *adapter ); ARGUMENTS adapter the VF adapter structure DESCRIPTION Request that the PF delete RSS configuration as specified by the user via ethtool. SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_virtchnl.c iavf...
iavf_del_all_cloud_filters(9)
NAME iavf_del_all_cloud_filters - delete all cloud filters on the traffic classes SYNOPSIS void iavf_del_all_cloud_filters (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c iavf_pdev_to_adapter(9), iavf_is_reset_in_p...
iavf_del_cloud_filter(9)
NAME iavf_del_cloud_filter - SYNOPSIS void iavf_del_cloud_filter (struct iavf_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION Request that the PF delete cloud filters as specified by the user via tc tool. SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_virtchnl.c iavf_send_pf_...
iavf_del_cls_u32(9)
NAME iavf_del_cls_u32 - Delete U32 classifier offloads SYNOPSIS int iavf_del_cls_u32 (struct iavf_adapter *adapter , struct tc_cls_u32_offload *cls_u32 ); ARGUMENTS adapter pointer to iavf adapter structure cls_u32 pointer to tc_cls_u32_offload struct with flow info RETURN 0 on success or negative er...
iavf_del_ether_addrs(9)
NAME iavf_del_ether_addrs - SYNOPSIS void iavf_del_ether_addrs (struct iavf_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION Request that the PF remove one or more addresses from our filters. SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_virtchnl.c iavf_send_pf_msg(9), iavf_...
iavf_del_fdir_ethtool(9)
NAME iavf_del_fdir_ethtool - delete Flow Director filter SYNOPSIS int iavf_del_fdir_ethtool (struct iavf_adapter *adapter , struct ethtool_rxnfc *cmd ); ARGUMENTS adapter pointer to the VF adapter structure cmd command to delete Flow Director filter DESCRIPTION Returns 0 on success and negative v...
iavf_del_fdir_filter(9)
NAME iavf_del_fdir_filter - SYNOPSIS void iavf_del_fdir_filter (struct iavf_adapter *adapter ); ARGUMENTS adapter the VF adapter structure DESCRIPTION Request that the PF delete Flow Director filters as specified by the user via ethtool. SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_virtchnl.c ...
iavf_del_vlan(9)
NAME iavf_del_vlan - Remove a vlan filter from the list SYNOPSIS void iavf_del_vlan (struct iavf_adapter *adapter , struct iavf_vlan vlan ); ARGUMENTS adapter board private structure vlan VLAN tag SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c iavf_pdev_to_adapter(9), iavf...
iavf_del_vlans(9)
NAME iavf_del_vlans - SYNOPSIS void iavf_del_vlans (struct iavf_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION Request that the PF remove one or more VLAN filters from our VSI. SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_virtchnl.c iavf_send_pf_msg(9), iavf_send_api_ver(...
iavf_delete_clsflower(9)
NAME iavf_delete_clsflower - Remove tc flower filters SYNOPSIS int iavf_delete_clsflower (struct iavf_adapter *adapter , struct flow_cls_offload *cls_flower ); ARGUMENTS adapter board private structure cls_flower Pointer to struct flow_cls_offload SEE ALSO Kernel file ./drivers/net/ethernet/intel/iav...
iavf_detect_recover_hung(9)
NAME iavf_detect_recover_hung - Function to detect and recover hung_queues SYNOPSIS void iavf_detect_recover_hung (struct iavf_vsi *vsi ); ARGUMENTS vsi pointer to vsi struct with tx queues DESCRIPTION VSI has netdev and netdev has TX queues. This function is to check each of those TX queues if they are hung...
iavf_disable_channels(9)
NAME iavf_disable_channels - SYNOPSIS void iavf_disable_channels (struct iavf_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION Request that the PF disable channels that are configured SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_virtchnl.c iavf_send_pf_msg(9), iavf_send_api...
iavf_disable_fdir(9)
NAME iavf_disable_fdir - disable Flow Director and clear existing filters SYNOPSIS void iavf_disable_fdir (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c iavf_pdev_to_adapter(9), iavf_is_reset_in_progress(9), iavf...
iavf_disable_queues(9)
NAME iavf_disable_queues - SYNOPSIS void iavf_disable_queues (struct iavf_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION Request that the PF disable all of our queues. SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_virtchnl.c iavf_send_pf_msg(9), iavf_send_api_ver(9), iavf...
iavf_disable_vf(9)
NAME iavf_disable_vf - disable VF SYNOPSIS void iavf_disable_vf (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure DESCRIPTION Set communication failed flag and free all resources. SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c iavf_pdev_to_adapter(9), iavf_is_re...
iavf_disable_vlan_insertion_v2(9)
NAME iavf_disable_vlan_insertion_v2 - disable VLAN insertion SYNOPSIS void iavf_disable_vlan_insertion_v2 (struct iavf_adapter *adapter , u16 tpid ); ARGUMENTS adapter adapter structure tpid VLAN TPID used to disable VLAN insertion SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_virt...
iavf_disable_vlan_stripping(9)
NAME iavf_disable_vlan_stripping - SYNOPSIS void iavf_disable_vlan_stripping (struct iavf_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION Request VLAN header stripping to be disabled SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_virtchnl.c iavf_send_pf_msg(9), iavf_send_api...
iavf_disable_vlan_stripping_v2(9)
NAME iavf_disable_vlan_stripping_v2 - disable VLAN stripping SYNOPSIS void iavf_disable_vlan_stripping_v2 (struct iavf_adapter *adapter , u16 tpid ); ARGUMENTS adapter adapter structure tpid VLAN TPID used to disable VLAN stripping SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_virt...
iavf_down(9)
NAME iavf_down - Shutdown the connection processing SYNOPSIS void iavf_down (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c iavf_pdev_to_adapter(9), iavf_is_reset_in_progress(9), iavf_allocate_dma_mem_d(9), iavf_...
iavf_enable_channels(9)
NAME iavf_enable_channels - SYNOPSIS void iavf_enable_channels (struct iavf_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION Request that the PF enable channels as specified by the user via tc tool. SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_virtchnl.c iavf_send_pf_msg(9),...
iavf_enable_queues(9)
NAME iavf_enable_queues - SYNOPSIS void iavf_enable_queues (struct iavf_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION Request that the PF enable all of our queues. SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_virtchnl.c iavf_send_pf_msg(9), iavf_send_api_ver(9), iavf_po...
iavf_enable_vlan_insertion_v2(9)
NAME iavf_enable_vlan_insertion_v2 - enable VLAN insertion SYNOPSIS void iavf_enable_vlan_insertion_v2 (struct iavf_adapter *adapter , u16 tpid ); ARGUMENTS adapter adapter structure tpid VLAN TPID used to enable VLAN insertion SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_virtchnl...
iavf_enable_vlan_stripping(9)
NAME iavf_enable_vlan_stripping - SYNOPSIS void iavf_enable_vlan_stripping (struct iavf_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION Request VLAN header stripping to be enabled SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_virtchnl.c iavf_send_pf_msg(9), iavf_send_api_ve...
iavf_enable_vlan_stripping_v2(9)
NAME iavf_enable_vlan_stripping_v2 - enable VLAN stripping SYNOPSIS void iavf_enable_vlan_stripping_v2 (struct iavf_adapter *adapter , u16 tpid ); ARGUMENTS adapter adapter structure tpid VLAN TPID used to enable VLAN stripping SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_virtchnl...
iavf_enable_wb_on_itr(9)
NAME iavf_enable_wb_on_itr - Arm hardware to do a wb, interrupts are not enabled SYNOPSIS void iavf_enable_wb_on_itr (struct iavf_vsi *vsi , struct iavf_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/e...
iavf_ethtool_flow_to_fltr(9)
NAME iavf_ethtool_flow_to_fltr - convert ethtool flow type to filter enum SYNOPSIS enum iavf_fdir_flow_type iavf_ethtool_flow_to_fltr (int eth ); ARGUMENTS eth Ethtool flow type to be converted DESCRIPTION Returns flow enum SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_ethtool.c struct iavf_st...
iavf_exit_module(9)
NAME iavf_exit_module - Driver Exit Cleanup Routine SYNOPSIS void iavf_exit_module (void ); ARGUMENTS void no arguments DESCRIPTION iavf_exit_module is called just before the driver is removed from memory. SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c iavf_pdev_to_adapter(9), iavf_i...
iavf_extract_flex_rx_fields(9)
NAME iavf_extract_flex_rx_fields - Extract fields from the Rx descriptor SYNOPSIS struct libeth_rqe_info iavf_extract_flex_rx_fields (const struct iavf_ring *rx_ring , const struct iavf_rx_desc *rx_desc ); ARGUMENTS rx_ring rx descriptor ring rx_desc the descriptor to process DESCRIPTION Decode the ...
iavf_extract_legacy_rx_fields(9)
NAME iavf_extract_legacy_rx_fields - Extract fields from the Rx descriptor SYNOPSIS struct libeth_rqe_info iavf_extract_legacy_rx_fields (const struct iavf_ring *rx_ring , const struct iavf_rx_desc *rx_desc ); ARGUMENTS rx_ring rx descriptor ring rx_desc the descriptor to process DESCRIPTION Decode ...
iavf_fdir_add_fltr(9)
NAME iavf_fdir_add_fltr - add a new node to the flow director filter list SYNOPSIS int iavf_fdir_add_fltr (struct iavf_adapter *adapter , struct iavf_fdir_fltr *fltr ); ARGUMENTS adapter pointer to the VF adapter structure fltr filter node to add to structure RETURN 0 on success or negative errno ...
iavf_fdir_del_fltr(9)
NAME iavf_fdir_del_fltr - delete a flow director filter from the list SYNOPSIS int iavf_fdir_del_fltr (struct iavf_adapter *adapter , bool is_raw , u32 data ); ARGUMENTS adapter pointer to the VF adapter structure is_raw filter type, is raw (tc u32) or not (ethtool) data data to ID the...
iavf_fdir_flow_proto_name(9)
NAME iavf_fdir_flow_proto_name - get the flow protocol name SYNOPSIS const char * iavf_fdir_flow_proto_name (enum iavf_fdir_flow_type flow_type ); ARGUMENTS flow_type Flow Director filter flow type SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_fdir.c iavf_validate_fdir_fltr_masks(9), iavf_pkt...
iavf_fdir_is_dup_fltr(9)
NAME iavf_fdir_is_dup_fltr - test if filter is already in list SYNOPSIS bool iavf_fdir_is_dup_fltr (struct iavf_adapter *adapter , struct iavf_fdir_fltr *fltr ); ARGUMENTS adapter pointer to the VF adapter structure fltr Flow Director filter data structure DESCRIPTION Returns true if the filter is...
iavf_features_check(9)
NAME iavf_features_check - Validate encapsulated packet conforms to limits SYNOPSIS netdev_features_t iavf_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...
iavf_fill_adv_rss_cfg_msg(9)
NAME iavf_fill_adv_rss_cfg_msg - fill the RSS configuration into virtchnl message SYNOPSIS int iavf_fill_adv_rss_cfg_msg (struct virtchnl_rss_cfg *rss_cfg , u32 packet_hdrs , u64 hash_flds , bool symm ); ARGUMENTS rss_cfg the virtchnl message to be filled with RSS configuration setting packet_hdrs the RSS...
iavf_fill_adv_rss_gtp_hdr(9)
NAME iavf_fill_adv_rss_gtp_hdr - Fill GTP-related RSS protocol headers SYNOPSIS int iavf_fill_adv_rss_gtp_hdr (struct virtchnl_proto_hdrs *proto_hdrs , u32 packet_hdrs , u64 hash_flds ); ARGUMENTS proto_hdrs pointer to the virtchnl protocol headers structure to populate packet_hdrs bitmask of packet header t...
iavf_fill_adv_rss_ip4_hdr(9)
NAME iavf_fill_adv_rss_ip4_hdr - fill the IPv4 RSS protocol header SYNOPSIS void iavf_fill_adv_rss_ip4_hdr (struct virtchnl_proto_hdr *hdr , u64 hash_flds ); ARGUMENTS hdr the virtchnl message protocol header data structure hash_flds the RSS configuration protocol hash fields SEE ALSO Kernel file...
iavf_fill_adv_rss_ip6_hdr(9)
NAME iavf_fill_adv_rss_ip6_hdr - fill the IPv6 RSS protocol header SYNOPSIS void iavf_fill_adv_rss_ip6_hdr (struct virtchnl_proto_hdr *hdr , u64 hash_flds ); ARGUMENTS hdr the virtchnl message protocol header data structure hash_flds the RSS configuration protocol hash fields SEE ALSO Kernel file...
iavf_fill_adv_rss_sctp_hdr(9)
NAME iavf_fill_adv_rss_sctp_hdr - fill the SCTP RSS protocol header SYNOPSIS void iavf_fill_adv_rss_sctp_hdr (struct virtchnl_proto_hdr *hdr , u64 hash_flds ); ARGUMENTS hdr the virtchnl message protocol header data structure hash_flds the RSS configuration protocol hash fields SEE ALSO Kernel fi...
iavf_fill_adv_rss_tcp_hdr(9)
NAME iavf_fill_adv_rss_tcp_hdr - fill the TCP RSS protocol header SYNOPSIS void iavf_fill_adv_rss_tcp_hdr (struct virtchnl_proto_hdr *hdr , u64 hash_flds ); ARGUMENTS hdr the virtchnl message protocol header data structure hash_flds the RSS configuration protocol hash fields SEE ALSO Kernel file ...
iavf_fill_adv_rss_udp_hdr(9)
NAME iavf_fill_adv_rss_udp_hdr - fill the UDP RSS protocol header SYNOPSIS void iavf_fill_adv_rss_udp_hdr (struct virtchnl_proto_hdr *hdr , u64 hash_flds ); ARGUMENTS hdr the virtchnl message protocol header data structure hash_flds the RSS configuration protocol hash fields SEE ALSO Kernel file ...
iavf_fill_default_direct_cmd_desc(9)
NAME iavf_fill_default_direct_cmd_desc - AQ descriptor helper function SYNOPSIS void iavf_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...
iavf_fill_fdir_add_msg(9)
NAME iavf_fill_fdir_add_msg - fill the Flow Director filter into virtchnl message SYNOPSIS int iavf_fill_fdir_add_msg (struct iavf_adapter *adapter , struct iavf_fdir_fltr *fltr ); ARGUMENTS adapter pointer to the VF adapter structure fltr Flow Director filter data structure DESCRIPTION Returns 0 ...
iavf_fill_fdir_ah_hdr(9)
NAME iavf_fill_fdir_ah_hdr - fill the AH protocol header SYNOPSIS int iavf_fill_fdir_ah_hdr (struct iavf_fdir_fltr *fltr , struct virtchnl_proto_hdrs *proto_hdrs ); ARGUMENTS fltr Flow Director filter data structure proto_hdrs Flow Director protocol headers data structure DESCRIPTION Returns 0 if the...
iavf_fill_fdir_esp_hdr(9)
NAME iavf_fill_fdir_esp_hdr - fill the ESP protocol header SYNOPSIS int iavf_fill_fdir_esp_hdr (struct iavf_fdir_fltr *fltr , struct virtchnl_proto_hdrs *proto_hdrs ); ARGUMENTS fltr Flow Director filter data structure proto_hdrs Flow Director protocol headers data structure DESCRIPTION Returns 0 if ...
iavf_fill_fdir_eth_hdr(9)
NAME iavf_fill_fdir_eth_hdr - fill the Ethernet protocol header SYNOPSIS int iavf_fill_fdir_eth_hdr (struct iavf_fdir_fltr *fltr , struct virtchnl_proto_hdrs *proto_hdrs ); ARGUMENTS fltr Flow Director filter data structure proto_hdrs Flow Director protocol headers data structure DESCRIPTION Returns ...
iavf_fill_fdir_gtpu_hdr(9)
NAME iavf_fill_fdir_gtpu_hdr - fill the GTP-U protocol header SYNOPSIS int iavf_fill_fdir_gtpu_hdr (struct iavf_fdir_fltr *fltr , struct virtchnl_proto_hdrs *proto_hdrs ); ARGUMENTS fltr Flow Director filter data structure proto_hdrs Flow Director protocol headers data structure DESCRIPTION Returns 0...
iavf_fill_fdir_ip4_hdr(9)
NAME iavf_fill_fdir_ip4_hdr - fill the IPv4 protocol header SYNOPSIS int iavf_fill_fdir_ip4_hdr (struct iavf_fdir_fltr *fltr , struct virtchnl_proto_hdrs *proto_hdrs ); ARGUMENTS fltr Flow Director filter data structure proto_hdrs Flow Director protocol headers data structure DESCRIPTION Returns 0 if...