id
stringlengths
4
63
text
stringlengths
153
8.81M
iavf_fill_fdir_ip6_hdr(9)
NAME iavf_fill_fdir_ip6_hdr - fill the IPv6 protocol header SYNOPSIS int iavf_fill_fdir_ip6_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_l4_hdr(9)
NAME iavf_fill_fdir_l4_hdr - fill the L4 protocol header SYNOPSIS int iavf_fill_fdir_l4_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_nat_t_esp_hdr(9)
NAME iavf_fill_fdir_nat_t_esp_hdr - fill the NAT-T-ESP protocol header SYNOPSIS int iavf_fill_fdir_nat_t_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 DESCRIP...
iavf_fill_fdir_pfcp_hdr(9)
NAME iavf_fill_fdir_pfcp_hdr - fill the PFCP protocol header SYNOPSIS int iavf_fill_fdir_pfcp_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_sctp_hdr(9)
NAME iavf_fill_fdir_sctp_hdr - fill the SCTP protocol header SYNOPSIS int iavf_fill_fdir_sctp_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_tcp_hdr(9)
NAME iavf_fill_fdir_tcp_hdr - fill the TCP protocol header SYNOPSIS int iavf_fill_fdir_tcp_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_udp_flex_pay_hdr(9)
NAME iavf_fill_fdir_udp_flex_pay_hdr - fill the UDP payload header SYNOPSIS int iavf_fill_fdir_udp_flex_pay_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 DESCRIPT...
iavf_fill_fdir_udp_hdr(9)
NAME iavf_fill_fdir_udp_hdr - fill the UDP protocol header SYNOPSIS int iavf_fill_fdir_udp_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_rss_lut(9)
NAME iavf_fill_rss_lut - Fill the lut with default values SYNOPSIS void iavf_fill_rss_lut (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_me...
iavf_fill_rx_flow_ext_data(9)
NAME iavf_fill_rx_flow_ext_data - fill the additional data SYNOPSIS void iavf_fill_rx_flow_ext_data (struct ethtool_rx_flow_spec *fsp , struct iavf_fdir_fltr *fltr ); ARGUMENTS fsp pointer to ethtool Rx flow specification fltr pointer to Flow Director filter to get additional data SEE ALSO Ker...
iavf_find_adv_rss_cfg_by_hdrs(9)
NAME iavf_find_adv_rss_cfg_by_hdrs - find RSS configuration with header type SYNOPSIS struct iavf_adv_rss * iavf_find_adv_rss_cfg_by_hdrs (struct iavf_adapter *adapter , u32 packet_hdrs ); ARGUMENTS adapter pointer to the VF adapter structure packet_hdrs protocol header type to find. DESCRIPTION Returns ...
iavf_find_cf(9)
NAME iavf_find_cf - Find the cloud filter in the list SYNOPSIS struct iavf_cloud_filter * iavf_find_cf (struct iavf_adapter *adapter , unsigned long *cookie ); ARGUMENTS adapter Board private structure cookie filter specific cookie DESCRIPTION Returns ptr to the filter object or NULL. Must be called...
iavf_find_fdir_fltr(9)
NAME iavf_find_fdir_fltr - find FDIR filter SYNOPSIS struct iavf_fdir_fltr * iavf_find_fdir_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 filt...
iavf_find_filter(9)
NAME iavf_find_filter - Search filter list for specific mac filter SYNOPSIS struct iavf_mac_filter * iavf_find_filter (struct iavf_adapter *adapter , const u8 *macaddr ); ARGUMENTS adapter board private structure macaddr the MAC address DESCRIPTION Returns ptr to the filter object or NULL. Must be ca...
iavf_find_vlan(9)
NAME iavf_find_vlan - Search filter list for specific vlan filter SYNOPSIS struct iavf_vlan_filter * iavf_find_vlan (struct iavf_adapter *adapter , struct iavf_vlan vlan ); ARGUMENTS adapter board private structure vlan vlan tag DESCRIPTION Returns ptr to the filter object or NULL. Must be called ...
iavf_finish_config(9)
NAME iavf_finish_config - do all netdev work that needs RTNL SYNOPSIS void iavf_finish_config (struct work_struct *work ); ARGUMENTS work our work_struct DESCRIPTION Do work that needs RTNL. SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c iavf_pdev_to_adapter(9), iavf_is_reset_in_progress(...
iavf_fix_features(9)
NAME iavf_fix_features - fix up the netdev feature bits SYNOPSIS netdev_features_t iavf_fix_features (struct net_device *netdev , netdev_features_t features ); ARGUMENTS netdev our net device features desired feature bits DESCRIPTION Returns fixed-up features bits SEE ALSO Kernel file ./drivers/n...
iavf_fix_netdev_vlan_features(9)
NAME iavf_fix_netdev_vlan_features - fix NETDEV VLAN features based on support SYNOPSIS netdev_features_t iavf_fix_netdev_vlan_features (struct iavf_adapter *adapter , netdev_features_t requested_features ); ARGUMENTS adapter board private structure requested_features stack requested NE...
iavf_fix_strip_features(9)
NAME iavf_fix_strip_features - fix NETDEV CRC and VLAN strip features SYNOPSIS netdev_features_t iavf_fix_strip_features (struct iavf_adapter *adapter , netdev_features_t requested_features ); ARGUMENTS adapter board private structure requested_features stack requested NETDEV features ...
iavf_flex_rx_csum(9)
NAME iavf_flex_rx_csum - Indicate in skb if hw indicated a good checksum SYNOPSIS struct libeth_rx_csum iavf_flex_rx_csum (const struct iavf_vsi *vsi , u64 qw1 , const struct libeth_rx_pt decoded_pt ); ARGUMENTS vsi the VSI we care about qw1 quad word 1 decoded_pt decoded packet type ...
iavf_flex_rx_hash(9)
NAME iavf_flex_rx_hash - set the hash value in the skb SYNOPSIS void iavf_flex_rx_hash (const struct iavf_ring *ring , __le64 qw1 , struct sk_buff *skb , const struct libeth_rx_pt decoded_pt ); ARGUMENTS ring descriptor ring qw1 quad word 1 skb skb currently being received and m...
iavf_flex_rx_tstamp(9)
NAME iavf_flex_rx_tstamp - Capture Rx timestamp from the descriptor SYNOPSIS void iavf_flex_rx_tstamp (const struct iavf_ring *rx_ring , __le64 qw2 , __le64 qw3 , struct sk_buff *skb ); ARGUMENTS rx_ring descriptor ring qw2 quad word 2 of descriptor qw3 quad word 3 of descriptor ...
iavf_fltr_to_ethtool_flow(9)
NAME iavf_fltr_to_ethtool_flow - convert filter type values to ethtool flow type values SYNOPSIS int iavf_fltr_to_ethtool_flow (enum iavf_fdir_flow_type flow ); ARGUMENTS flow filter type to be converted DESCRIPTION Returns the corresponding ethtool flow type. SEE ALSO Kernel file ./drivers/net/ethernet/inte...
iavf_force_wb(9)
NAME iavf_force_wb - Issue SW Interrupt so HW does a wb SYNOPSIS void iavf_force_wb (struct iavf_vsi *vsi , struct iavf_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/iavf/iavf_txrx.c ...
iavf_free_adminq_arq(9)
NAME iavf_free_adminq_arq - Free Admin Queue receive rings SYNOPSIS void iavf_free_adminq_arq (struct iavf_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...
iavf_free_adminq_asq(9)
NAME iavf_free_adminq_asq - Free Admin Queue send rings SYNOPSIS void iavf_free_adminq_asq (struct iavf_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/ia...
iavf_free_all_rx_resources(9)
NAME iavf_free_all_rx_resources - Free Rx Resources for All Queues SYNOPSIS void iavf_free_all_rx_resources (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure DESCRIPTION Free all receive software resources SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c iavf_pdev_...
iavf_free_all_tx_resources(9)
NAME iavf_free_all_tx_resources - Free Tx Resources for All Queues SYNOPSIS void iavf_free_all_tx_resources (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure DESCRIPTION Free all transmit software resources SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c iavf_pdev...
iavf_free_arq_bufs(9)
NAME iavf_free_arq_bufs - Free receive queue buffer info elements SYNOPSIS void iavf_free_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_adminq_arq_ring(9), iavf_f...
iavf_free_asq_bufs(9)
NAME iavf_free_asq_bufs - Free send queue buffer info elements SYNOPSIS void iavf_free_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_adminq_arq_ring(9), iavf_free...
iavf_free_dma_mem(9)
NAME iavf_free_dma_mem - wrapper for DMA memory freeing SYNOPSIS enum iavf_status iavf_free_dma_mem (struct iavf_hw *hw , struct iavf_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/iavf/iavf_main.c i...
iavf_free_interrupt_scheme(9)
NAME iavf_free_interrupt_scheme - Undo what iavf_init_interrupt_scheme does SYNOPSIS void iavf_free_interrupt_scheme (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_progres...
iavf_free_misc_irq(9)
NAME iavf_free_misc_irq - Free MSI-X miscellaneous vector SYNOPSIS void iavf_free_misc_irq (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure DESCRIPTION Frees MSI-X vector 0. SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c iavf_pdev_to_adapter(9), iavf_is_reset_i...
iavf_free_q_vectors(9)
NAME iavf_free_q_vectors - Free memory allocated for interrupt vectors SYNOPSIS void iavf_free_q_vectors (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure to initialize DESCRIPTION This function frees the memory allocated to the q_vectors. In addition if NAPI is enabled it will delete a...
iavf_free_queues(9)
NAME iavf_free_queues - Free memory for all rings SYNOPSIS void iavf_free_queues (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure to initialize DESCRIPTION Free all of the memory associated with queue pairs. SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c iavf_pd...
iavf_free_rss(9)
NAME iavf_free_rss - Free memory used by RSS structs SYNOPSIS void iavf_free_rss (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_free_rx_resources(9)
NAME iavf_free_rx_resources - Free Rx resources SYNOPSIS void iavf_free_rx_resources (struct iavf_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/iavf/iavf_txrx.c iavf_is_descriptor_done(9), ...
iavf_free_traffic_irqs(9)
NAME iavf_free_traffic_irqs - Free MSI-X interrupts SYNOPSIS void iavf_free_traffic_irqs (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure DESCRIPTION Frees all MSI-X vectors other than 0. SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c iavf_pdev_to_adapter(9), i...
iavf_free_tx_resources(9)
NAME iavf_free_tx_resources - Free Tx resources per queue SYNOPSIS void iavf_free_tx_resources (struct iavf_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/iavf/iavf_txrx.c iavf_is_de...
iavf_free_virt_mem(9)
NAME iavf_free_virt_mem - virt memory free wrapper SYNOPSIS void iavf_free_virt_mem (struct iavf_hw *hw , struct iavf_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/iavf/iavf_main.c iavf_pdev_to_ada...
iavf_get_channels(9)
NAME iavf_get_channels - get the number of channels supported by the device SYNOPSIS void iavf_get_channels (struct net_device *netdev , struct ethtool_channels *ch ); ARGUMENTS netdev network interface device structure ch channel information structure DESCRIPTION For the purposes of our device...
iavf_get_coalesce(9)
NAME iavf_get_coalesce - Get interrupt coalescing settings SYNOPSIS int iavf_get_coalesce (struct net_device *netdev , struct ethtool_coalesce *ec , struct kernel_ethtool_coalesce *kernel_coal , struct netlink_ext_ack *extack ); ARGUMENTS netdev network interface device structure ec ethtool coal...
iavf_get_drvinfo(9)
NAME iavf_get_drvinfo - Get driver info SYNOPSIS void iavf_get_drvinfo (struct net_device *netdev , struct ethtool_drvinfo *drvinfo ); ARGUMENTS netdev network interface device structure drvinfo ethool driver info structure DESCRIPTION Returns information about the driver and device for display to t...
iavf_get_ethtool_fdir_entry(9)
NAME iavf_get_ethtool_fdir_entry - fill ethtool structure with Flow Director filter data SYNOPSIS int iavf_get_ethtool_fdir_entry (struct iavf_adapter *adapter , struct ethtool_rxnfc *cmd ); ARGUMENTS adapter the VF adapter structure that contains filter list cmd ethtool command data structure to ...
iavf_get_ethtool_stats(9)
NAME iavf_get_ethtool_stats - report device statistics SYNOPSIS void iavf_get_ethtool_stats (struct net_device *netdev , struct ethtool_stats *stats , u64 *data ); ARGUMENTS netdev network interface device structure stats ethtool statistics structure data pointer to data buffer DESC...
iavf_get_fdir_fltr_ids(9)
NAME iavf_get_fdir_fltr_ids - fill buffer with filter IDs of active filters SYNOPSIS int iavf_get_fdir_fltr_ids (struct iavf_adapter *adapter , struct ethtool_rxnfc *cmd , u32 *rule_locs ); ARGUMENTS adapter the VF adapter structure containing the filter list cmd ethtool command data structure ...
iavf_get_link_ksettings(9)
NAME iavf_get_link_ksettings - Get Link Speed and Duplex settings SYNOPSIS int iavf_get_link_ksettings (struct net_device *netdev , struct ethtool_link_ksettings *cmd ); ARGUMENTS netdev network interface device structure cmd ethtool command DESCRIPTION Reports speed/duplex settings. Because thi...
iavf_get_max_vlans_allowed(9)
NAME iavf_get_max_vlans_allowed - get maximum VLANs allowed for this VF SYNOPSIS u16 iavf_get_max_vlans_allowed (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure DESCRIPTION This depends on the negotiated VLAN capability. For VIRTCHNL_VF_OFFLOAD_VLAN, do not impose a limit as that mainta...
iavf_get_msglevel(9)
NAME iavf_get_msglevel - Get debug message level SYNOPSIS u32 iavf_get_msglevel (struct net_device *netdev ); ARGUMENTS netdev network interface device structure DESCRIPTION Returns current debug message level. SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_ethtool.c struct iavf_stats(9), iavf_add...
iavf_get_netdev_vlan_features(9)
NAME iavf_get_netdev_vlan_features - get the enabled NETDEV VLAN fetures SYNOPSIS netdev_features_t iavf_get_netdev_vlan_features (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure DESCRIPTION Depending on whether VIRTHCNL_VF_OFFLOAD_VLAN or VIRTCHNL_VF_OFFLOAD_VLAN_V2 were negotiated det...
iavf_get_netdev_vlan_hw_features(9)
NAME iavf_get_netdev_vlan_hw_features - get NETDEV VLAN features that can toggle on/off SYNOPSIS netdev_features_t iavf_get_netdev_vlan_hw_features (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure DESCRIPTION Depending on whether VIRTHCNL_VF_OFFLOAD_VLAN or VIRTCHNL_VF_OFFLOAD_VLAN_V2 w...
iavf_get_num_vlans_added(9)
NAME iavf_get_num_vlans_added - get number of VLANs added SYNOPSIS u16 iavf_get_num_vlans_added (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_...
iavf_get_per_queue_coalesce(9)
NAME iavf_get_per_queue_coalesce - get coalesce values for specific queue SYNOPSIS int iavf_get_per_queue_coalesce (struct net_device *netdev , u32 queue , struct ethtool_coalesce *ec ); ARGUMENTS netdev netdev to read queue the queue to read ec coalesce settings from ethtool DESC...
iavf_get_qos_caps(9)
NAME iavf_get_qos_caps - get qos caps support SYNOPSIS void iavf_get_qos_caps (struct iavf_adapter *adapter ); ARGUMENTS adapter iavf adapter struct instance DESCRIPTION This function requests PF for Supported QoS Caps. SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_virtchnl.c iavf_send_pf_msg(9...
iavf_get_ringparam(9)
NAME iavf_get_ringparam - Get ring parameters SYNOPSIS void iavf_get_ringparam (struct net_device *netdev , struct ethtool_ringparam *ring , struct kernel_ethtool_ringparam *kernel_ring , struct netlink_ext_ack *extack ); ARGUMENTS netdev network interface device structure ring ethtool ringparam s...
iavf_get_rss_hashcfg(9)
NAME iavf_get_rss_hashcfg - SYNOPSIS void iavf_get_rss_hashcfg (struct iavf_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION Request RSS Hash enable bits from PF SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_virtchnl.c iavf_send_pf_msg(9), iavf_send_api_ver(9), iavf_poll_vi...
iavf_get_rx_ring_count(9)
NAME iavf_get_rx_ring_count - get RX ring count SYNOPSIS u32 iavf_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/iavf/iavf_ethtool.c struct iavf_stats(9), iavf_add_one_ethtool_stat(...
iavf_get_rxfh(9)
NAME iavf_get_rxfh - get the rx flow hash indirection table SYNOPSIS int iavf_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...
iavf_get_rxfh_indir_size(9)
NAME iavf_get_rxfh_indir_size - get the rx flow hash indirection table size SYNOPSIS u32 iavf_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/iavf/iavf_ethtool.c struct ia...
iavf_get_rxfh_key_size(9)
NAME iavf_get_rxfh_key_size - get the RSS hash key size SYNOPSIS u32 iavf_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/iavf/iavf_ethtool.c struct iavf_stats(9), iavf_add_...
iavf_get_rxnfc(9)
NAME iavf_get_rxnfc - command to get RX flow classification rules SYNOPSIS int iavf_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 location...
iavf_get_sset_count(9)
NAME iavf_get_sset_count - Get length of string set SYNOPSIS int iavf_get_sset_count (struct net_device *netdev , int sset ); ARGUMENTS netdev network interface device structure sset id of string set DESCRIPTION Reports size of various string tables. SEE ALSO Kernel file ./drivers/net/ethernet/i...
iavf_get_stat_strings(9)
NAME iavf_get_stat_strings - Get stat strings SYNOPSIS void iavf_get_stat_strings (struct net_device *netdev , u8 *data ); ARGUMENTS netdev network interface device structure data buffer for string data DESCRIPTION Builds the statistics string table SEE ALSO Kernel file ./drivers/net/ethernet/in...
iavf_get_strings(9)
NAME iavf_get_strings - Get string set SYNOPSIS void iavf_get_strings (struct net_device *netdev , u32 sset , u8 *data ); ARGUMENTS netdev network interface device structure sset id of string set data buffer for string data DESCRIPTION Builds string tables for various string sets ...
iavf_get_tx_pending(9)
NAME iavf_get_tx_pending - how many Tx descriptors not processed SYNOPSIS u32 iavf_get_tx_pending (struct iavf_ring *ring , bool in_sw ); ARGUMENTS ring the ring of descriptors in_sw is tx_pending being checked in SW or HW DESCRIPTION Since there is no access to the ring head register in XL710, ...
iavf_get_vf_config(9)
NAME iavf_get_vf_config - SYNOPSIS int iavf_get_vf_config (struct iavf_adapter *adapter ); ARGUMENTS adapter private adapter structure DESCRIPTION Get VF configuration from PF and populate hw structure. Must be called after admin queue is initialized. Busy waits until response is received from PF, with maximum ...
iavf_get_vpe_link_status(9)
NAME iavf_get_vpe_link_status - SYNOPSIS bool iavf_get_vpe_link_status (struct iavf_adapter *adapter , struct virtchnl_pf_event *vpe ); ARGUMENTS adapter adapter structure vpe virtchnl_pf_event structure DESCRIPTION Helper function for determining the link status SEE ALSO Kernel file ./drive...
iavf_handle_tclass(9)
NAME iavf_handle_tclass - Forward to a traffic class on the device SYNOPSIS int iavf_handle_tclass (struct iavf_adapter *adapter , u32 tc , struct iavf_cloud_filter *filter ); ARGUMENTS adapter board private structure tc traffic class index on the device filter pointer to cloud filte...
iavf_init_adminq(9)
NAME iavf_init_adminq - main initialization routine for Admin Queue SYNOPSIS enum iavf_status iavf_init_adminq (struct iavf_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_e...
iavf_init_arq(9)
NAME iavf_init_arq - initialize ARQ SYNOPSIS enum iavf_status iavf_init_arq (struct iavf_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 ...
iavf_init_asq(9)
NAME iavf_init_asq - main initialization routine for ASQ SYNOPSIS enum iavf_status iavf_init_asq (struct iavf_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 follo...
iavf_init_config_adapter(9)
NAME iavf_init_config_adapter - last part of driver startup SYNOPSIS void iavf_init_config_adapter (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure DESCRIPTION After all the supported capabilities are negotiated, then the __IAVF_INIT_CONFIG_ADAPTER state will finish driver initializatio...
iavf_init_get_resources(9)
NAME iavf_init_get_resources - third step of driver startup SYNOPSIS void iavf_init_get_resources (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure DESCRIPTION Function process __IAVF_INIT_GET_RESOURCES driver state and finishes driver initialization procedure. When success the state is...
iavf_init_interrupt_scheme(9)
NAME iavf_init_interrupt_scheme - Determine if MSIX is supported and init SYNOPSIS int iavf_init_interrupt_scheme (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure to initialize SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c iavf_pdev_to_adapter(9), iavf_is_reset...
iavf_init_module(9)
NAME iavf_init_module - Driver Registration Routine SYNOPSIS int iavf_init_module (void ); ARGUMENTS void no arguments DESCRIPTION iavf_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/iavf/...
iavf_init_process_extended_caps(9)
NAME iavf_init_process_extended_caps - Part of driver startup SYNOPSIS void iavf_init_process_extended_caps (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure DESCRIPTION Function processes __IAVF_INIT_EXTENDED_CAPS driver state. This state handles negotiating capabilities for features ...
iavf_init_recv_offload_vlan_v2_caps(9)
NAME iavf_init_recv_offload_vlan_v2_caps - part of initializing VLAN V2 caps SYNOPSIS void iavf_init_recv_offload_vlan_v2_caps (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure DESCRIPTION Function processes receipt of the extended VLAN V2 capability message from the PF. SEE ALSO Kernel...
iavf_init_recv_ptp_caps(9)
NAME iavf_init_recv_ptp_caps - part of querying for supported PTP capabilities SYNOPSIS void iavf_init_recv_ptp_caps (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure DESCRIPTION Function processes receipt of the PTP capabilities supported on this VF. SEE ALSO Kernel file ./drivers/n...
iavf_init_recv_supported_rxdids(9)
NAME iavf_init_recv_supported_rxdids - part of querying for supported RXDID formats SYNOPSIS void iavf_init_recv_supported_rxdids (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure DESCRIPTION Function processes receipt of the supported RXDIDs message from the PF. SEE ALSO Kernel file ...
iavf_init_rss(9)
NAME iavf_init_rss - Prepare for RSS SYNOPSIS int iavf_init_rss (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_pdev_to_adapter(9), iavf_is_reset_in_progre...
iavf_init_send_offload_vlan_v2_caps(9)
NAME iavf_init_send_offload_vlan_v2_caps - part of initializing VLAN V2 caps SYNOPSIS void iavf_init_send_offload_vlan_v2_caps (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure DESCRIPTION Function processes send of the extended VLAN V2 capability message to the PF. Must clear IAVF_EXTEN...
iavf_init_send_ptp_caps(9)
NAME iavf_init_send_ptp_caps - part of querying for extended PTP capabilities SYNOPSIS void iavf_init_send_ptp_caps (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure DESCRIPTION Function processes send of the request for 1588 PTP capabilities to the PF. Must clear IAVF_EXTENDED_CAP_SEND...
iavf_init_send_supported_rxdids(9)
NAME iavf_init_send_supported_rxdids - part of querying for supported RXDID formats SYNOPSIS void iavf_init_send_supported_rxdids (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure DESCRIPTION Function processes send of the request for supported RXDIDs to the PF. Must clear IAVF_EXTENDED...
iavf_init_version_check(9)
NAME iavf_init_version_check - second step of driver startup SYNOPSIS void iavf_init_version_check (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure DESCRIPTION Function process __IAVF_INIT_VERSION_CHECK driver state. When success the state is changed to __IAVF_INIT_GET_RESOURCES when f...
iavf_irq_disable(9)
NAME iavf_irq_disable - Mask off interrupt generation on the NIC SYNOPSIS void iavf_irq_disable (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_...
iavf_irq_enable(9)
NAME iavf_irq_enable - Enable default interrupt generation settings SYNOPSIS void iavf_irq_enable (struct iavf_adapter *adapter , bool flush ); ARGUMENTS adapter board private structure flush boolean value whether to run rd32 SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c ia...
iavf_irq_enable_queues(9)
NAME iavf_irq_enable_queues - Enable interrupt for all queues SYNOPSIS void iavf_irq_enable_queues (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_alloca...
iavf_is_descriptor_done(9)
NAME iavf_is_descriptor_done - tests DD bit in Rx descriptor SYNOPSIS bool iavf_is_descriptor_done (u64 qw1 , bool flex ); ARGUMENTS qw1 quad word 1 from descriptor to get Descriptor Done field from flex is the descriptor flex or legacy DESCRIPTION This function tests the descriptor done bit i...
iavf_is_mac_set_handled(9)
NAME iavf_is_mac_set_handled - wait for a response to set MAC from PF SYNOPSIS bool iavf_is_mac_set_handled (struct net_device *netdev , const u8 *macaddr ); ARGUMENTS netdev network interface device structure macaddr MAC address to set DESCRIPTION Returns true on success, false on failure SEE ALSO...
iavf_is_mask_valid(9)
NAME iavf_is_mask_valid - check mask field set SYNOPSIS bool iavf_is_mask_valid (u64 mask , u64 field ); ARGUMENTS mask full mask to check field field for which mask should be valid DESCRIPTION If the mask is fully set return true. If it is not valid for field return false. SEE ALSO Kernel file...
iavf_is_non_eop(9)
NAME iavf_is_non_eop - process handling of non-EOP buffers SYNOPSIS bool iavf_is_non_eop (struct iavf_ring *rx_ring , struct libeth_rqe_info fields ); ARGUMENTS rx_ring Rx ring being processed fields Rx descriptor extracted fields DESCRIPTION This function updates next to clean. If the buffer i...
iavf_is_reset_in_progress(9)
NAME iavf_is_reset_in_progress - Check if a reset is in progress SYNOPSIS bool iavf_is_reset_in_progress (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_allocate_dma_mem_d(9), iavf_free_...
iavf_is_tc_config_same(9)
NAME iavf_is_tc_config_same - Compare the mqprio TC config with the TC config already configured on this adapter. SYNOPSIS bool iavf_is_tc_config_same (struct iavf_adapter *adapter , struct tc_mqprio_qopt *mqprio_qopt ); ARGUMENTS adapter board private structure mqprio_qopt TC config received from kernel....
iavf_legacy_rx_csum(9)
NAME iavf_legacy_rx_csum - Indicate in skb if hw indicated a good checksum SYNOPSIS struct libeth_rx_csum iavf_legacy_rx_csum (const struct iavf_vsi *vsi , u64 qw1 , const struct libeth_rx_pt decoded_pt ); ARGUMENTS vsi the VSI we care about qw1 quad word 1 decoded_pt decoded packet t...
iavf_legacy_rx_hash(9)
NAME iavf_legacy_rx_hash - set the hash value in the skb SYNOPSIS void iavf_legacy_rx_hash (const struct iavf_ring *ring , __le64 qw0 , __le64 qw1 , struct sk_buff *skb , const struct libeth_rx_pt decoded_pt ); ARGUMENTS ring descriptor ring qw0 quad word 0 qw1 quad word 1 ...
iavf_mac_add_ok(9)
NAME iavf_mac_add_ok - SYNOPSIS void iavf_mac_add_ok (struct iavf_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION Submit list of filters based on PF response. SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_virtchnl.c iavf_send_pf_msg(9), iavf_send_api_ver(9), iavf_poll_virt...
iavf_mac_add_reject(9)
NAME iavf_mac_add_reject - SYNOPSIS void iavf_mac_add_reject (struct iavf_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION Remove filters from list based on PF response. SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_virtchnl.c iavf_send_pf_msg(9), iavf_send_api_ver(9), iavf...
iavf_map_queues(9)
NAME iavf_map_queues - SYNOPSIS void iavf_map_queues (struct iavf_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION Request that the PF map queues to interrupt vectors. Misc causes, including admin queue, are always mapped to vector 0. SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/i...
iavf_map_rings_to_vectors(9)
NAME iavf_map_rings_to_vectors - Maps descriptor rings to vectors SYNOPSIS void iavf_map_rings_to_vectors (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure to initialize DESCRIPTION This function maps descriptor rings to the queue-specific vectors we were allotted through the MSI-X enab...
iavf_map_vector_to_rxq(9)
NAME iavf_map_vector_to_rxq - associate irqs with rx queues SYNOPSIS void iavf_map_vector_to_rxq (struct iavf_adapter *adapter , int v_idx , int r_idx ); ARGUMENTS adapter board private structure v_idx interrupt number r_idx queue number SEE ALSO Kernel file ./drivers/net/ethernet/...