id
stringlengths
4
63
text
stringlengths
153
8.81M
iavf_map_vector_to_txq(9)
NAME iavf_map_vector_to_txq - associate irqs with tx queues SYNOPSIS void iavf_map_vector_to_txq (struct iavf_adapter *adapter , int v_idx , int t_idx ); ARGUMENTS adapter board private structure v_idx interrupt number t_idx queue number SEE ALSO Kernel file ./drivers/net/ethernet/...
iavf_max_vlans_added(9)
NAME iavf_max_vlans_added - check if maximum VLANs allowed already exist SYNOPSIS bool iavf_max_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), ia...
iavf_maybe_stop_tx(9)
NAME iavf_maybe_stop_tx - 1st level check for Tx stop conditions SYNOPSIS int iavf_maybe_stop_tx (struct iavf_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 ....
iavf_misc_irq_disable(9)
NAME iavf_misc_irq_disable - Mask off interrupt generation on the NIC SYNOPSIS void iavf_misc_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...
iavf_misc_irq_enable(9)
NAME iavf_misc_irq_enable - Enable default interrupt generation settings SYNOPSIS void iavf_misc_irq_enable (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), ia...
iavf_msix_aq(9)
NAME iavf_msix_aq - Interrupt handler for vector 0 SYNOPSIS irqreturn_t iavf_msix_aq (int irq , void *data ); ARGUMENTS irq interrupt number data pointer to netdev SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c iavf_pdev_to_adapter(9), iavf_is_reset_in_progress(9), ia...
iavf_msix_clean_rings(9)
NAME iavf_msix_clean_rings - MSIX mode Interrupt Handler SYNOPSIS irqreturn_t iavf_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/iavf/iavf_main.c iavf_pdev_to_adapter(9), iavf_is_reset_in_pr...
iavf_napi_disable_all(9)
NAME iavf_napi_disable_all - disable NAPI on all queue vectors SYNOPSIS void iavf_napi_disable_all (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_napi_enable_all(9)
NAME iavf_napi_enable_all - enable NAPI on all queue vectors SYNOPSIS void iavf_napi_enable_all (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_napi_poll(9)
NAME iavf_napi_poll - NAPI polling Rx/Tx cleanup routine SYNOPSIS int iavf_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...
iavf_netdev_features_vlan_strip_set(9)
NAME iavf_netdev_features_vlan_strip_set - update vlan strip status SYNOPSIS void iavf_netdev_features_vlan_strip_set (struct net_device *netdev , const bool enable ); ARGUMENTS netdev ptr to netdev being adjusted enable enable or disable vlan strip DESCRIPTION Helper function to change vlan strip ...
iavf_open(9)
NAME iavf_open - Called when a network interface is made active SYNOPSIS int iavf_open (struct net_device *netdev ); ARGUMENTS netdev network interface device structure DESCRIPTION Returns 0 on success, negative value on failure The open entry point is called when a network interface is made active by the sy...
iavf_parse_cls_flower(9)
NAME iavf_parse_cls_flower - Parse tc flower filters provided by kernel SYNOPSIS int iavf_parse_cls_flower (struct iavf_adapter *adapter , struct flow_cls_offload *f , struct iavf_cloud_filter *filter ); ARGUMENTS adapter board private structure f pointer to struct flow_cls_offload filte...
iavf_parse_rx_flow_user_data(9)
NAME iavf_parse_rx_flow_user_data - deconstruct user-defined data SYNOPSIS int iavf_parse_rx_flow_user_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 for userdef data storage DE...
iavf_parse_vf_resource_msg(9)
NAME iavf_parse_vf_resource_msg - parse response from VIRTCHNL_OP_GET_VF_RESOURCES SYNOPSIS int iavf_parse_vf_resource_msg (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_pdev_to_adapter(9)
NAME iavf_pdev_to_adapter - go from pci_dev to adapter SYNOPSIS struct iavf_adapter * iavf_pdev_to_adapter (struct pci_dev *pdev ); ARGUMENTS pdev pci_dev pointer SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c iavf_is_reset_in_progress(9), iavf_allocate_dma_mem_d(9), iavf_free_dma_m...
iavf_pkt_udp_no_pay_len(9)
NAME iavf_pkt_udp_no_pay_len - the length of UDP packet without payload SYNOPSIS u16 iavf_pkt_udp_no_pay_len (struct iavf_fdir_fltr *fltr ); ARGUMENTS fltr Flow Director filter data structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_fdir.c iavf_validate_fdir_fltr_masks(9), iavf_fill_fdi...
iavf_poll_virtchnl_msg(9)
NAME iavf_poll_virtchnl_msg - SYNOPSIS int iavf_poll_virtchnl_msg (struct iavf_hw *hw , struct iavf_arq_event_info *event , enum virtchnl_ops op_to_poll ); ARGUMENTS hw HW configuration structure event event to populate on success op_to_poll requested virtchnl op to poll for DESCRIPTI...
iavf_print_adv_rss_cfg(9)
NAME iavf_print_adv_rss_cfg - SYNOPSIS void iavf_print_adv_rss_cfg (struct iavf_adapter *adapter , struct iavf_adv_rss *rss , const char *action , const char *result ); ARGUMENTS adapter pointer to the VF adapter structure rss pointer to the advance RSS configuration to print action t...
iavf_print_cloud_filter(9)
NAME iavf_print_cloud_filter - SYNOPSIS void iavf_print_cloud_filter (struct iavf_adapter *adapter , struct virtchnl_filter *f ); ARGUMENTS adapter adapter structure f cloud filter to print DESCRIPTION Print the cloud filter SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_virtchn...
iavf_print_fdir_fltr(9)
NAME iavf_print_fdir_fltr - SYNOPSIS void iavf_print_fdir_fltr (struct iavf_adapter *adapter , struct iavf_fdir_fltr *fltr ); ARGUMENTS adapter adapter structure fltr Flow Director filter to print DESCRIPTION Print the Flow Director filter SEE ALSO Kernel file ./drivers/net/ethernet/intel/iav...
iavf_print_link_message(9)
NAME iavf_print_link_message - print link up or down SYNOPSIS void iavf_print_link_message (struct iavf_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION Log a message telling the world of our wonderous link status SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_virtchnl.c iavf_...
iavf_probe(9)
NAME iavf_probe - Device Initialization Routine SYNOPSIS int iavf_probe (struct pci_dev *pdev , const struct pci_device_id *ent ); ARGUMENTS pdev PCI device information struct ent entry in iavf_pci_tbl DESCRIPTION Returns 0 on success, negative on failure iavf_probe initializes an adapter iden...
iavf_process_aq_command(9)
NAME iavf_process_aq_command - process aq_required flags and sends aq command SYNOPSIS int iavf_process_aq_command (struct iavf_adapter *adapter ); ARGUMENTS adapter pointer to iavf adapter structure DESCRIPTION Returns 0 on success Returns error code if no command was sent or error code if the command failed. ...
iavf_process_config(9)
NAME iavf_process_config - Process the config information we got from the PF SYNOPSIS int iavf_process_config (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure DESCRIPTION Verify that we have a valid config struct, and set up our netdev features and our VSI struct. SEE ALSO Kernel fil...
iavf_process_skb_fields(9)
NAME iavf_process_skb_fields - Populate skb header fields from Rx descriptor SYNOPSIS void iavf_process_skb_fields (const struct iavf_ring *rx_ring , const struct iavf_rx_desc *rx_desc , struct sk_buff *skb , u32 ptype , bool flex ); ARGUMENTS rx_ring rx descriptor ring packet is being transacted on rx_de...
iavf_promiscuous_mode_changed(9)
NAME iavf_promiscuous_mode_changed - check if promiscuous mode bits changed SYNOPSIS bool iavf_promiscuous_mode_changed (struct iavf_adapter *adapter ); ARGUMENTS adapter device specific adapter SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c iavf_pdev_to_adapter(9), iavf_is_reset_in_prog...
iavf_ptp_cache_phc_time(9)
NAME iavf_ptp_cache_phc_time - Cache PHC time for performing timestamp extension SYNOPSIS void iavf_ptp_cache_phc_time (struct iavf_adapter *adapter ); ARGUMENTS adapter private adapter structure DESCRIPTION Periodically cache the PHC time in order to allow for timestamp extension. This is required because the...
iavf_ptp_cap_supported(9)
NAME iavf_ptp_cap_supported - Check if a PTP capability is supported SYNOPSIS bool iavf_ptp_cap_supported (const struct iavf_adapter *adapter , u32 cap ); ARGUMENTS adapter private adapter structure cap the capability bitmask to check RETURN true if every capability set in cap is also set in the ...
iavf_ptp_disable_rx_tstamp(9)
NAME iavf_ptp_disable_rx_tstamp - Disable timestamping in Rx rings SYNOPSIS void iavf_ptp_disable_rx_tstamp (struct iavf_adapter *adapter ); ARGUMENTS adapter private adapter structure DESCRIPTION Disable timestamp reporting for all Rx rings. SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_ptp.c iav...
iavf_ptp_do_aux_work(9)
NAME iavf_ptp_do_aux_work - Perform periodic work required for PTP support SYNOPSIS long iavf_ptp_do_aux_work (struct ptp_clock_info *info ); ARGUMENTS info PTP clock info structure DESCRIPTION Handler to take care of periodic work required for PTP operation. This includes the following tasks: 1) updating c...
iavf_ptp_enable_rx_tstamp(9)
NAME iavf_ptp_enable_rx_tstamp - Enable timestamping in Rx rings SYNOPSIS void iavf_ptp_enable_rx_tstamp (struct iavf_adapter *adapter ); ARGUMENTS adapter private adapter structure DESCRIPTION Enable timestamp reporting for all Rx rings. SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_ptp.c ...
iavf_ptp_extend_32b_timestamp(9)
NAME iavf_ptp_extend_32b_timestamp - Convert a 32b nanoseconds timestamp to 64b nanoseconds SYNOPSIS u64 iavf_ptp_extend_32b_timestamp (u64 cached_phc_time , u32 in_tstamp ); ARGUMENTS cached_phc_time recently cached copy of PHC time in_tstamp Ingress/egress 32b nanoseconds timestamp value DESCRIPTION Hard...
iavf_ptp_init(9)
NAME iavf_ptp_init - Initialize PTP support if capability was negotiated SYNOPSIS void iavf_ptp_init (struct iavf_adapter *adapter ); ARGUMENTS adapter private adapter structure DESCRIPTION Initialize PTP functionality, based on the capabilities that the PF has enabled for this VF. SEE ALSO Kernel file ./driv...
iavf_ptp_process_caps(9)
NAME iavf_ptp_process_caps - Handle change in PTP capabilities SYNOPSIS void iavf_ptp_process_caps (struct iavf_adapter *adapter ); ARGUMENTS adapter private adapter structure DESCRIPTION Handle any state changes necessary due to change in PTP capabilities, such as after a device reset or change in configuration...
iavf_ptp_register_clock(9)
NAME iavf_ptp_register_clock - Register a new PTP for userspace SYNOPSIS int iavf_ptp_register_clock (struct iavf_adapter *adapter ); ARGUMENTS adapter private adapter structure DESCRIPTION Allocate and register a new PTP clock device if necessary. RETURN 0 if success, error otherwise. SEE ALSO Kernel file ....
iavf_ptp_release(9)
NAME iavf_ptp_release - Disable PTP support SYNOPSIS void iavf_ptp_release (struct iavf_adapter *adapter ); ARGUMENTS adapter private adapter structure DESCRIPTION Release all PTP resources that were previously initialized. SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_ptp.c iavf_ptp_disable_rx...
iavf_ptp_set_timestamp_mode(9)
NAME iavf_ptp_set_timestamp_mode - Set device timestamping mode SYNOPSIS int iavf_ptp_set_timestamp_mode (struct iavf_adapter *adapter , struct kernel_hwtstamp_config *config ); ARGUMENTS adapter private adapter structure config pointer to kernel_hwtstamp_config DESCRIPTION Set the timestamping mode...
iavf_ptp_set_ts_config(9)
NAME iavf_ptp_set_ts_config - Set timestamping configuration SYNOPSIS int iavf_ptp_set_ts_config (struct iavf_adapter *adapter , struct kernel_hwtstamp_config *config , struct netlink_ext_ack *extack ); ARGUMENTS adapter private adapter structure config pointer to kernel_hwtstamp_config structure ...
iavf_queue_ptp_cmd(9)
NAME iavf_queue_ptp_cmd - Queue PTP command for sending over virtchnl SYNOPSIS void iavf_queue_ptp_cmd (struct iavf_adapter *adapter , struct iavf_ptp_aq_cmd *cmd ); ARGUMENTS adapter private adapter structure cmd the command structure to send DESCRIPTION Queue the given command structure into th...
iavf_read_phc_indirect(9)
NAME iavf_read_phc_indirect - Indirectly read the PHC time via virtchnl SYNOPSIS int iavf_read_phc_indirect (struct iavf_adapter *adapter , struct timespec64 *ts , struct ptp_system_timestamp *sts ); ARGUMENTS adapter private adapter structure ts storage for the timestamp value sts ...
iavf_receive_skb(9)
NAME iavf_receive_skb - Send a completed packet up the stack SYNOPSIS void iavf_receive_skb (struct iavf_ring *rx_ring , struct sk_buff *skb , u16 vlan_tag ); ARGUMENTS rx_ring rx ring in play skb packet to send up vlan_tag vlan tag for packet SEE ALSO Kernel file ./drivers/net/ether...
iavf_reconfig_qs_bw(9)
NAME iavf_reconfig_qs_bw - Call-back task to handle hardware reset SYNOPSIS void iavf_reconfig_qs_bw (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure DESCRIPTION After a reset, the shaper parameters of queues need to be replayed again. Since the net_shaper object inside TX rings per...
iavf_reinit_interrupt_scheme(9)
NAME iavf_reinit_interrupt_scheme - Reallocate queues and vectors SYNOPSIS int iavf_reinit_interrupt_scheme (struct iavf_adapter *adapter , bool running ); ARGUMENTS adapter board private structure running true if adapter->state == __IAVF_RUNNING DESCRIPTION Returns 0 on success, negative on failure ...
iavf_release_rx_desc(9)
NAME iavf_release_rx_desc - Store the new tail and head values SYNOPSIS void iavf_release_rx_desc (struct iavf_ring *rx_ring , u32 val ); ARGUMENTS rx_ring ring to bump val new head index SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_txrx.c iavf_is_descriptor_done(9), iavf_unmap...
iavf_remove(9)
NAME iavf_remove - Device Removal Routine SYNOPSIS void iavf_remove (struct pci_dev *pdev ); ARGUMENTS pdev PCI device information struct DESCRIPTION iavf_remove is called by the PCI subsystem to alert the driver that it should release a PCI device. The could be caused by a Hot-Plug event, or because the dri...
iavf_replace_primary_mac(9)
NAME iavf_replace_primary_mac - Replace current primary address SYNOPSIS int iavf_replace_primary_mac (struct iavf_adapter *adapter , const u8 *new_mac ); ARGUMENTS adapter board private structure new_mac new MAC address to be applied DESCRIPTION Replace current dev_addr and send request to PF for re...
iavf_request_misc_irq(9)
NAME iavf_request_misc_irq - Initialize MSI-X interrupts SYNOPSIS int iavf_request_misc_irq (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure DESCRIPTION Allocates MSI-X vector 0 and requests interrupts from the kernel. This vector is only for the admin queue, and stays active even when ...
iavf_request_reset(9)
NAME iavf_request_reset - SYNOPSIS int iavf_request_reset (struct iavf_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION Request that the PF reset this VF. No response is expected. SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_virtchnl.c iavf_send_pf_msg(9), iavf_send_api_ver...
iavf_request_stats(9)
NAME iavf_request_stats - SYNOPSIS void iavf_request_stats (struct iavf_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION Request VSI statistics 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_virtchnl_ms...
iavf_request_traffic_irqs(9)
NAME iavf_request_traffic_irqs - Initialize MSI-X interrupts SYNOPSIS int iavf_request_traffic_irqs (struct iavf_adapter *adapter , char *basename ); ARGUMENTS adapter board private structure basename device basename DESCRIPTION Allocates MSI-X vectors for tx and rx handling, and requests interrupts f...
iavf_reset_interrupt_capability(9)
NAME iavf_reset_interrupt_capability - Reset MSIX setup SYNOPSIS void iavf_reset_interrupt_capability (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_all...
iavf_reset_step(9)
NAME iavf_reset_step - Perform the VF reset sequence SYNOPSIS void iavf_reset_step (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure DESCRIPTION Requests a reset from PF, polls for completion, and reconfigures the driver. Caller must hold the netdev instance lock. This can sleep for sev...
iavf_restore_fdir_filters(9)
NAME iavf_restore_fdir_filters - SYNOPSIS void iavf_restore_fdir_filters (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure DESCRIPTION Restore existing FDIR filters when VF netdev comes back up. SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c iavf_pdev_to_adapter(...
iavf_restore_filters(9)
NAME iavf_restore_filters - SYNOPSIS void iavf_restore_filters (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure DESCRIPTION Restore existing non MAC filters when VF netdev comes back up SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c iavf_pdev_to_adapter(9), iav...
iavf_resume(9)
NAME iavf_resume - Power management resume routine SYNOPSIS int iavf_resume (struct device *dev_d ); ARGUMENTS dev_d device info pointer DESCRIPTION Called when the system (VM) is resumed from sleep/suspend. SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c iavf_pdev_to_adapter(9), iavf_...
iavf_rx_csum(9)
NAME iavf_rx_csum - Indicate in skb if hw indicated a good checksum SYNOPSIS void iavf_rx_csum (const struct iavf_vsi *vsi , struct sk_buff *skb , struct libeth_rx_pt decoded_pt , struct libeth_rx_csum csum_bits ); ARGUMENTS vsi the VSI we care about skb skb currently being received and modifi...
iavf_schedule_aq_request(9)
NAME iavf_schedule_aq_request - Set the flags and schedule aq request SYNOPSIS void iavf_schedule_aq_request (struct iavf_adapter *adapter , u64 flags ); ARGUMENTS adapter board private structure flags requested aq flags SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c iavf_pd...
iavf_schedule_finish_config(9)
NAME iavf_schedule_finish_config - Set the flags and schedule a reset event SYNOPSIS void iavf_schedule_finish_config (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_schedule_reset(9)
NAME iavf_schedule_reset - Set the flags and schedule a reset event SYNOPSIS void iavf_schedule_reset (struct iavf_adapter *adapter , u64 flags ); ARGUMENTS adapter board private structure flags IAVF_FLAG_RESET_PENDING or IAVF_FLAG_RESET_NEEDED SEE ALSO Kernel file ./drivers/net/ethernet/intel/i...
iavf_select_rx_desc_format(9)
NAME iavf_select_rx_desc_format - Select Rx descriptor format SYNOPSIS u8 iavf_select_rx_desc_format (const struct iavf_adapter *adapter ); ARGUMENTS adapter adapter private structure DESCRIPTION Select what Rx descriptor format based on availability and enabled features. RETURN the desired RXDID to select for ...
iavf_send_api_ver(9)
NAME iavf_send_api_ver - SYNOPSIS int iavf_send_api_ver (struct iavf_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION Send API version admin queue message to the PF. The reply is not checked in this function. Returns 0 if the message was successfully sent, or one of the IAVF_ADMIN_QUEUE_ERROR_...
iavf_send_pf_msg(9)
NAME iavf_send_pf_msg - SYNOPSIS int iavf_send_pf_msg (struct iavf_adapter *adapter , enum virtchnl_ops op , u8 *msg , u16 len ); ARGUMENTS adapter adapter structure op virtual channel opcode msg pointer to message buffer len message length DESCRIPTION Send messag...
iavf_send_phc_read(9)
NAME iavf_send_phc_read - Send request to read PHC time SYNOPSIS int iavf_send_phc_read (struct iavf_adapter *adapter ); ARGUMENTS adapter private adapter structure DESCRIPTION Send a request to obtain the PTP hardware clock time. This allocates the VIRTCHNL_OP_1588_PTP_GET_TIME message and queues it up to send ...
iavf_send_vf_config_msg(9)
NAME iavf_send_vf_config_msg - SYNOPSIS int iavf_send_vf_config_msg (struct iavf_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION Send VF configuration request admin queue message to the PF. The reply is not checked in this function. Returns 0 if the message was successfully sent, or one of th...
iavf_send_vf_ptp_caps_msg(9)
NAME iavf_send_vf_ptp_caps_msg - Send request for PTP capabilities SYNOPSIS int iavf_send_vf_ptp_caps_msg (struct iavf_adapter *adapter ); ARGUMENTS adapter private adapter structure DESCRIPTION Send the VIRTCHNL_OP_1588_PTP_GET_CAPS command to the PF to request the PTP capabilities available to this device. ...
iavf_send_vlan_offload_v2(9)
NAME iavf_send_vlan_offload_v2 - send offload enable/disable over virtchnl SYNOPSIS void iavf_send_vlan_offload_v2 (struct iavf_adapter *adapter , u16 tpid , enum virtchnl_ops offload_op ); ARGUMENTS adapter adapter structure tpid VLAN TPID used for the command (i.e. 0x8100 or 0x88a8) offlo...
iavf_set_adapter_link_speed_from_vpe(9)
NAME iavf_set_adapter_link_speed_from_vpe - SYNOPSIS void iavf_set_adapter_link_speed_from_vpe (struct iavf_adapter *adapter , struct virtchnl_pf_event *vpe ); ARGUMENTS adapter adapter structure for which we are setting the link speed vpe virtchnl_pf_event structure that contains the link speed w...
iavf_set_channels(9)
NAME iavf_set_channels - set the new channel count SYNOPSIS int iavf_set_channels (struct net_device *netdev , struct ethtool_channels *ch ); ARGUMENTS netdev network interface device structure ch channel information structure DESCRIPTION Negotiate a new number of channels with the PF then do a...
iavf_set_coalesce(9)
NAME iavf_set_coalesce - Set interrupt coalescing settings SYNOPSIS int iavf_set_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_set_ethtool_ops(9)
NAME iavf_set_ethtool_ops - Initialize ethtool ops struct SYNOPSIS void iavf_set_ethtool_ops (struct net_device *netdev ); ARGUMENTS netdev network interface device structure DESCRIPTION Sets ethtool ops struct in our netdev so that ethtool can call our functions. SEE ALSO Kernel file ./drivers/net/ethernet/in...
iavf_set_features(9)
NAME iavf_set_features - set the netdev feature flags SYNOPSIS int iavf_set_features (struct net_device *netdev , netdev_features_t features ); ARGUMENTS netdev ptr to the netdev being adjusted features the feature set that the stack is suggesting NOTE expects to be called while under rtnl_lock SEE ...
iavf_set_interrupt_capability(9)
NAME iavf_set_interrupt_capability - set MSI-X or FAIL if not supported SYNOPSIS int iavf_set_interrupt_capability (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure to initialize DESCRIPTION Attempt to configure the interrupts using the best available capabilities of the hardware and the...
iavf_set_itr_per_queue(9)
NAME iavf_set_itr_per_queue - set ITR values for specific queue SYNOPSIS int iavf_set_itr_per_queue (struct iavf_adapter *adapter , struct ethtool_coalesce *ec , int queue ); ARGUMENTS adapter the VF adapter struct to set values for ec coalesce settings from ethtool queue the queue ...
iavf_set_mac(9)
NAME iavf_set_mac - NDO callback to set port MAC address SYNOPSIS int iavf_set_mac (struct net_device *netdev , void *p ); ARGUMENTS netdev network interface device structure p pointer to an address structure DESCRIPTION Returns 0 on success, negative on failure SEE ALSO Kernel file ./driv...
iavf_set_mac_addr_type(9)
NAME iavf_set_mac_addr_type - Set the correct request type from the filter type SYNOPSIS void iavf_set_mac_addr_type (struct virtchnl_ether_addr *virtchnl_ether_addr , const struct iavf_mac_filter *filter ); ARGUMENTS virtchnl_ether_addr pointer to requested list element filter pointer to requested filte...
iavf_set_msglevel(9)
NAME iavf_set_msglevel - Set debug message level SYNOPSIS void iavf_set_msglevel (struct net_device *netdev , u32 data ); ARGUMENTS netdev network interface device structure data message level DESCRIPTION Set current debug message level. Higher values cause the driver to be noisier. SEE ALSO Ker...
iavf_set_per_queue_coalesce(9)
NAME iavf_set_per_queue_coalesce - set specific queue's coalesce settings SYNOPSIS int iavf_set_per_queue_coalesce (struct net_device *netdev , u32 queue , struct ethtool_coalesce *ec ); ARGUMENTS netdev the netdev to change queue the queue to modify ec ethtool's coalesce settings ...
iavf_set_promiscuous(9)
NAME iavf_set_promiscuous - SYNOPSIS void iavf_set_promiscuous (struct iavf_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION Request that the PF enable promiscuous mode for our VSI. SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_virtchnl.c iavf_send_pf_msg(9), iavf_send_api_v...
iavf_set_quanta_size(9)
NAME iavf_set_quanta_size - set quanta size of queue chunk SYNOPSIS void iavf_set_quanta_size (struct iavf_adapter *adapter , u16 quanta_size , u16 queue_index , u16 num_queues ); ARGUMENTS adapter iavf adapter struct instance quanta_size quanta size in bytes queue_index starting index of queue ch...
iavf_set_queue_vlan_tag_loc(9)
NAME iavf_set_queue_vlan_tag_loc - set location for VLAN tag offload SYNOPSIS void iavf_set_queue_vlan_tag_loc (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure DESCRIPTION Based on negotiated capabilities, the VLAN tag needs to be inserted and/or stripped in certain descriptor fie...
iavf_set_ringparam(9)
NAME iavf_set_ringparam - Set ring parameters SYNOPSIS int iavf_set_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 st...
iavf_set_rss_hashcfg(9)
NAME iavf_set_rss_hashcfg - SYNOPSIS void iavf_set_rss_hashcfg (struct iavf_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION Request the PF to set our RSS hash capabilities SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_virtchnl.c iavf_send_pf_msg(9), iavf_send_api_ver(9), i...
iavf_set_rss_hfunc(9)
NAME iavf_set_rss_hfunc - SYNOPSIS void iavf_set_rss_hfunc (struct iavf_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION Request the PF to set our RSS Hash function SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_virtchnl.c iavf_send_pf_msg(9), iavf_send_api_ver(9), iavf_poll...
iavf_set_rss_key(9)
NAME iavf_set_rss_key - SYNOPSIS void iavf_set_rss_key (struct iavf_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION Request the PF to set our RSS hash key SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_virtchnl.c iavf_send_pf_msg(9), iavf_send_api_ver(9), iavf_poll_virtchnl...
iavf_set_rss_lut(9)
NAME iavf_set_rss_lut - SYNOPSIS void iavf_set_rss_lut (struct iavf_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION Request the PF to set our RSS lookup table 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_set_rx_mode(9)
NAME iavf_set_rx_mode - NDO callback to set the netdev filters SYNOPSIS void iavf_set_rx_mode (struct net_device *netdev ); ARGUMENTS netdev network interface device 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_all...
iavf_set_rxfh(9)
NAME iavf_set_rxfh - set the rx flow hash indirection table SYNOPSIS int iavf_set_rxfh (struct net_device *netdev , struct ethtool_rxfh_param *rxfh , struct netlink_ext_ack *extack ); ARGUMENTS netdev network interface device structure rxfh pointer to param struct (indir, key, hfunc) extac...
iavf_set_rxnfc(9)
NAME iavf_set_rxnfc - command to set Rx flow rules. SYNOPSIS int iavf_set_rxnfc (struct net_device *netdev , struct ethtool_rxnfc *cmd ); ARGUMENTS netdev network interface device structure cmd ethtool rxnfc command DESCRIPTION Returns 0 for success and negative values for errors SEE ALSO Kerne...
iavf_set_vc_offload_ethertype(9)
NAME iavf_set_vc_offload_ethertype - set virtchnl ethertype for offload message SYNOPSIS int iavf_set_vc_offload_ethertype (struct iavf_adapter *adapter , struct virtchnl_vlan_setting *msg , u16 tpid , enum virtchnl_ops offload_op ); ARGUMENTS adapter adapter structure msg message structure used f...
iavf_set_vlan_offload_features(9)
NAME iavf_set_vlan_offload_features - set VLAN offload configuration SYNOPSIS void iavf_set_vlan_offload_features (struct iavf_adapter *adapter , netdev_features_t prev_features , netdev_features_t features ); ARGUMENTS adapter board private structure prev_features previous features use...
iavf_setup_all_rx_resources(9)
NAME iavf_setup_all_rx_resources - allocate all queues Rx resources SYNOPSIS int iavf_setup_all_rx_resources (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure DESCRIPTION If this function returns with an error, then it's possible one or more of the rings is populated (while the rest are ...
iavf_setup_all_tx_resources(9)
NAME iavf_setup_all_tx_resources - allocate all queues Tx resources SYNOPSIS int iavf_setup_all_tx_resources (struct iavf_adapter *adapter ); ARGUMENTS adapter board private structure DESCRIPTION If this function returns with an error, then it's possible one or more of the rings is populated (while the rest are ...
iavf_setup_rx_descriptors(9)
NAME iavf_setup_rx_descriptors - Allocate Rx descriptors SYNOPSIS int iavf_setup_rx_descriptors (struct iavf_ring *rx_ring ); ARGUMENTS rx_ring Rx descriptor ring (for a specific queue) to setup DESCRIPTION Returns 0 on success, negative on failure SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_t...
iavf_setup_tc(9)
NAME iavf_setup_tc - configure multiple traffic classes SYNOPSIS int iavf_setup_tc (struct net_device *netdev , enum tc_setup_type type , void *type_data ); ARGUMENTS netdev network interface device structure type type of offload type_data tc offload data DESCRIPTION This function is th...
iavf_setup_tc_block_cb(9)
NAME iavf_setup_tc_block_cb - block callback for tc SYNOPSIS int iavf_setup_tc_block_cb (enum tc_setup_type type , void *type_data , void *cb_priv ); ARGUMENTS type type of offload type_data offload data cb_priv DESCRIPTION This function is the block callback for traffic classes SEE ALSO Ke...
iavf_setup_tc_cls_flower(9)
NAME iavf_setup_tc_cls_flower - flower classifier offloads SYNOPSIS int iavf_setup_tc_cls_flower (struct iavf_adapter *adapter , struct flow_cls_offload *cls_flower ); ARGUMENTS adapter pointer to iavf adapter structure cls_flower pointer to flow_cls_offload struct with flow info SEE ALSO Kernel file ...
iavf_setup_tc_cls_u32(9)
NAME iavf_setup_tc_cls_u32 - U32 filter offloads SYNOPSIS int iavf_setup_tc_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 err...
iavf_setup_tx_descriptors(9)
NAME iavf_setup_tx_descriptors - Allocate the Tx descriptors SYNOPSIS int iavf_setup_tx_descriptors (struct iavf_ring *tx_ring ); ARGUMENTS tx_ring the tx ring to set up DESCRIPTION Return 0 on success, negative on error SEE ALSO Kernel file ./drivers/net/ethernet/intel/iavf/iavf_txrx.c iavf_is_descriptor_do...
iavf_shutdown(9)
NAME iavf_shutdown - Shutdown the device in preparation for a reboot SYNOPSIS void iavf_shutdown (struct pci_dev *pdev ); ARGUMENTS pdev pci device 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(...