id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
i40e_set_loopback(9) | NAME i40e_set_loopback - turn on/off loopback mode on underlying PF
SYNOPSIS int i40e_set_loopback (struct i40e_vsi *vsi , bool ena );
ARGUMENTS vsi ptr to VSI
ena flag to indicate the on/off setting
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i... |
i40e_set_mac(9) | NAME i40e_set_mac - NDO callback to set mac address
SYNOPSIS int i40e_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 ./drivers/... |
i40e_set_mac_type(9) | NAME i40e_set_mac_type - Sets MAC type
SYNOPSIS int i40e_set_mac_type (struct i40e_hw *hw );
ARGUMENTS hw pointer to the HW structure
DESCRIPTION This function sets the mac type of the adapter based on the vendor ID and device ID stored in the hw structure.
SEE ALSO Kernel file ./drivers/net/ethernet/i... |
i40e_set_ntuple(9) | NAME i40e_set_ntuple - set the ntuple feature flag and take action
SYNOPSIS bool i40e_set_ntuple (struct i40e_pf *pf , netdev_features_t features );
ARGUMENTS pf board private structure to initialize
features the feature set that the stack is suggesting
DESCRIPTION returns a bool to indicate if r... |
i40e_set_num_rings_in_vsi(9) | NAME i40e_set_num_rings_in_vsi - Determine number of rings in the VSI
SYNOPSIS int i40e_set_num_rings_in_vsi (struct i40e_vsi *vsi );
ARGUMENTS vsi the VSI being configured
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_mem(9), i40e_free_dma_mem... |
i40e_set_partition_bw_setting(9) | NAME i40e_set_partition_bw_setting - Set BW settings for this PF partition
SYNOPSIS int i40e_set_partition_bw_setting (struct i40e_pf *pf );
ARGUMENTS pf board private structure
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_mem(9), i40e_free_d... |
i40e_set_pauseparam(9) | NAME i40e_set_pauseparam - Set Flow Control parameter
SYNOPSIS int i40e_set_pauseparam (struct net_device *netdev , struct ethtool_pauseparam *pause );
ARGUMENTS netdev network interface device structure
pause return tx/rx flow control status
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/... |
i40e_set_pci_config_data(9) | NAME i40e_set_pci_config_data - store PCI bus info
SYNOPSIS void i40e_set_pci_config_data (struct i40e_hw *hw , u16 link_status );
ARGUMENTS hw pointer to hardware structure
link_status the link status word from PCI config space
DESCRIPTION Stores the PCI bus info (speed, width, type) within the i40... |
i40e_set_per_queue_coalesce(9) | NAME i40e_set_per_queue_coalesce - set specific queue's coalesce settings
SYNOPSIS int i40e_set_per_queue_coalesce (struct net_device *netdev , u32 queue , struct ethtool_coalesce *ec );
ARGUMENTS netdev the netdev to change
queue the queue to change
ec ethtool's coalesce settings
... |
i40e_set_priv_flags(9) | NAME i40e_set_priv_flags - set private flags
SYNOPSIS int i40e_set_priv_flags (struct net_device *dev , u32 flags );
ARGUMENTS dev network interface device structure
flags bit flags to be set
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_ethtool.c struct i40e_stats(9), i40e_add_on... |
i40e_set_promiscuous(9) | NAME i40e_set_promiscuous - set promiscuous mode
SYNOPSIS int i40e_set_promiscuous (struct i40e_pf *pf , bool promisc );
ARGUMENTS pf board private structure
promisc promisc on or off
DESCRIPTION There are different ways of setting promiscuous mode on a PF depending on what state/environment we'... |
i40e_set_rx_mode(9) | NAME i40e_set_rx_mode - NDO callback to set the netdev filters
SYNOPSIS void i40e_set_rx_mode (struct net_device *netdev );
ARGUMENTS netdev network interface device structure
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_mem(9), i40e_free_dma_mem... |
i40e_set_rxfh(9) | NAME i40e_set_rxfh - set the rx flow hash indirection table
SYNOPSIS int i40e_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... |
i40e_set_rxnfc(9) | NAME i40e_set_rxnfc - command to set RX flow classification rules
SYNOPSIS int i40e_set_rxnfc (struct net_device *netdev , struct ethtool_rxnfc *cmd );
ARGUMENTS netdev network interface device structure
cmd ethtool rxnfc command
DESCRIPTION Returns Success if the command is supported.
SEE ALSO... |
i40e_set_subsystem_device_id(9) | NAME i40e_set_subsystem_device_id - set subsystem device id
SYNOPSIS void i40e_set_subsystem_device_id (struct i40e_hw *hw );
ARGUMENTS hw pointer to the hardware info
DESCRIPTION Set PCI subsystem device id either from a pci_dev structure or a specific FW register.
SEE ALSO Kernel file ./drivers/net/e... |
i40e_set_vf_link_state(9) | NAME i40e_set_vf_link_state -
SYNOPSIS void i40e_set_vf_link_state (struct i40e_vf *vf , struct virtchnl_pf_event *pfe , struct i40e_link_status *ls );
ARGUMENTS vf pointer to the VF structure
pfe pointer to PF event structure
ls pointer to link status structure
DESCRIPTION ... |
i40e_set_vsi_promisc(9) | NAME i40e_set_vsi_promisc -
SYNOPSIS int i40e_set_vsi_promisc (struct i40e_vf *vf , u16 seid , bool multi_enable , bool unicast_enable , s16 *vl , u16 num_vlans );
ARGUMENTS vf pointer to the VF struct
seid VSI number
multi_enable
set MAC L2 layer multicast promiscuo... |
i40e_set_vsi_rx_mode(9) | NAME i40e_set_vsi_rx_mode - Call set_rx_mode on a VSI
SYNOPSIS void i40e_set_vsi_rx_mode (struct i40e_vsi *vsi );
ARGUMENTS vsi ptr to the VSI
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_mem(9), i40e_free_dma_mem(9), i40e_allocate_virt_mem(9... |
i40e_set_wol(9) | NAME i40e_set_wol - set the WakeOnLAN configuration
SYNOPSIS int i40e_set_wol (struct net_device *netdev , struct ethtool_wolinfo *wol );
ARGUMENTS netdev the netdev in question
wol the ethtool WoL setting data
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_ethtool.c struct i40e_sta... |
i40e_setup_channel(9) | NAME i40e_setup_channel - setup new channel using uplink element
SYNOPSIS bool i40e_setup_channel (struct i40e_pf *pf , struct i40e_vsi *vsi , struct i40e_channel *ch );
ARGUMENTS pf ptr to PF device
vsi pointer to the VSI to set up the channel within
ch ptr to channel struct... |
i40e_setup_hw_channel(9) | NAME i40e_setup_hw_channel - setup new channel
SYNOPSIS int i40e_setup_hw_channel (struct i40e_pf *pf , struct i40e_vsi *vsi , struct i40e_channel *ch , u16 uplink_seid , u8 type );
ARGUMENTS pf ptr to PF device
vsi the VSI being setup
ch ptr to channel structure
upli... |
i40e_setup_macvlans(9) | NAME i40e_setup_macvlans - create the channels which will be macvlans
SYNOPSIS int i40e_setup_macvlans (struct i40e_vsi *vsi , u16 macvlan_cnt , u16 qcnt , struct net_device *vdev );
ARGUMENTS vsi the VSI we want to access
macvlan_cnt no. of macvlans to be setup
qcnt no. of Qs per macvl... |
i40e_setup_misc_vector(9) | NAME i40e_setup_misc_vector - Setup the misc vector to handle non queue events
SYNOPSIS int i40e_setup_misc_vector (struct i40e_pf *pf );
ARGUMENTS pf board private structure
DESCRIPTION This sets up the handler for MSIX 0, which is used to manage the non-queue interrupts, e.g. AdminQ and errors. This is n... |
i40e_setup_misc_vector_for_recovery_mode(9) | NAME i40e_setup_misc_vector_for_recovery_mode - Setup the misc vector to handle non queue events in recovery mode
SYNOPSIS int i40e_setup_misc_vector_for_recovery_mode (struct i40e_pf *pf );
ARGUMENTS pf board private structure
DESCRIPTION This sets up the handler for MSIX 0 or MSI/legacy, which is used to ... |
i40e_setup_pf_filter_control(9) | NAME i40e_setup_pf_filter_control - Setup PF static filter control
SYNOPSIS int i40e_setup_pf_filter_control (struct i40e_pf *pf );
ARGUMENTS pf PF to be setup
DESCRIPTION i40e_setup_pf_filter_control sets up a PF's initial filter control settings. If PE/FCoE are enabled then it will also set the per ... |
i40e_setup_pf_switch(9) | NAME i40e_setup_pf_switch - Setup the HW switch on startup or after reset
SYNOPSIS int i40e_setup_pf_switch (struct i40e_pf *pf , bool reinit , bool lock_acquired );
ARGUMENTS pf board private structure
reinit if the Main VSI needs to re-initialized.
lock_acquired
indi... |
i40e_setup_pf_switch_element(9) | NAME i40e_setup_pf_switch_element - set PF vars based on switch type
SYNOPSIS void i40e_setup_pf_switch_element (struct i40e_pf *pf , struct i40e_aqc_switch_config_element_resp *ele , u16 num_reported , bool printconfig );
ARGUMENTS pf board private structure
ele element we are building info ... |
i40e_setup_rx_descriptors(9) | NAME i40e_setup_rx_descriptors - Allocate Rx descriptors
SYNOPSIS int i40e_setup_rx_descriptors (struct i40e_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/i40e/i40e... |
i40e_setup_tc(9) | NAME i40e_setup_tc - configure multiple traffic classes
SYNOPSIS int i40e_setup_tc (struct net_device *netdev , void *type_data );
ARGUMENTS netdev net device to configure
type_data tc offload data
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocat... |
i40e_setup_tc_cls_flower(9) | NAME i40e_setup_tc_cls_flower - flower classifier offloads
SYNOPSIS int i40e_setup_tc_cls_flower (struct i40e_netdev_priv *np , struct flow_cls_offload *cls_flower );
ARGUMENTS np net device to configure
cls_flower offload data
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c ... |
i40e_setup_tx_descriptors(9) | NAME i40e_setup_tx_descriptors - Allocate the Tx descriptors
SYNOPSIS int i40e_setup_tx_descriptors (struct i40e_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/i40e/i40e_txrx.c i40e_fdir(9), i4... |
i40e_shutdown(9) | NAME i40e_shutdown - PCI callback for shutting down
SYNOPSIS void i40e_shutdown (struct pci_dev *pdev );
ARGUMENTS pdev PCI device information struct
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_mem(9), i40e_free_dma_mem(9), i40e_allocate_virt_mem(9),... |
i40e_shutdown_adminq(9) | NAME i40e_shutdown_adminq - shutdown routine for the Admin Queue
SYNOPSIS void i40e_shutdown_adminq (struct i40e_hw *hw );
ARGUMENTS hw pointer to the hardware structure
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_adminq.c i40e_alloc_adminq_asq_ring(9), i40e_alloc_adminq_arq_ring(9), i40e_... |
i40e_shutdown_arq(9) | NAME i40e_shutdown_arq - shutdown ARQ
SYNOPSIS int i40e_shutdown_arq (struct i40e_hw *hw );
ARGUMENTS hw pointer to the hardware structure
DESCRIPTION The main shutdown routine for the Admin Receive Queue
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_adminq.c i40e_alloc_adminq_asq_ring(9), ... |
i40e_shutdown_asq(9) | NAME i40e_shutdown_asq - shutdown the ASQ
SYNOPSIS int i40e_shutdown_asq (struct i40e_hw *hw );
ARGUMENTS hw pointer to the hardware structure
DESCRIPTION The main shutdown routine for the Admin Send Queue
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_adminq.c i40e_alloc_adminq_asq_ring(9),... |
i40e_shutdown_lan_hmc(9) | NAME i40e_shutdown_lan_hmc - Remove HMC backing store, free allocated memory
SYNOPSIS int i40e_shutdown_lan_hmc (struct i40e_hw *hw );
ARGUMENTS hw pointer to the hw structure
DESCRIPTION This must be called by drivers as they are shutting down and being removed from the OS.
SEE ALSO Kernel file ./driver... |
i40e_speed_to_link_speed(9) | NAME i40e_speed_to_link_speed - Translate decimal speed to i40e_aq_link_speed
SYNOPSIS enum i40e_aq_link_speed i40e_speed_to_link_speed (__u32 speed , const struct ethtool_link_ksettings *ks );
ARGUMENTS speed speed in decimal
ks ethtool ksettings
DESCRIPTION Return i40e_aq_link_speed based on... |
i40e_stat_update32(9) | NAME i40e_stat_update32 - read and update a 32 bit stat from the chip
SYNOPSIS void i40e_stat_update32 (struct i40e_hw *hw , u32 reg , bool offset_loaded , u64 *offset , u64 *stat );
ARGUMENTS hw ptr to the hardware info
reg the hw reg to read
offset_loaded
has the ... |
i40e_stat_update48(9) | NAME i40e_stat_update48 - read and update a 48 bit stat from the chip
SYNOPSIS void i40e_stat_update48 (struct i40e_hw *hw , u32 hireg , u32 loreg , bool offset_loaded , u64 *offset , u64 *stat );
ARGUMENTS hw ptr to the hardware info
hireg the high 32 bit reg to read
loreg the lo... |
i40e_stat_update64(9) | NAME i40e_stat_update64 - read and update a 64 bit stat from the chip.
SYNOPSIS void i40e_stat_update64 (struct i40e_hw *hw , u32 hireg , u32 loreg , bool offset_loaded , u64 *offset , u64 *stat );
ARGUMENTS hw ptr to the hardware info.
hireg the high 32 bit reg to read.
loreg the... |
i40e_stat_update_and_clear32(9) | NAME i40e_stat_update_and_clear32 - read and clear hw reg, update a 32 bit stat
SYNOPSIS void i40e_stat_update_and_clear32 (struct i40e_hw *hw , u32 reg , u64 *stat );
ARGUMENTS hw ptr to the hardware info
reg the hw reg to read and clear
stat ptr to the stat
SEE ALSO Kernel ... |
i40e_stats_update_rx_discards(9) | NAME i40e_stats_update_rx_discards - update rx_discards.
SYNOPSIS void i40e_stats_update_rx_discards (struct i40e_vsi *vsi , struct i40e_hw *hw , int stat_idx , bool offset_loaded , struct i40e_eth_stats *stat_offset , struct i40e_eth_stats *stat );
ARGUMENTS vsi ptr to the VSI to be updated.
hw ... |
i40e_suspend(9) | NAME i40e_suspend - PM callback for moving to D3
SYNOPSIS int i40e_suspend (struct device *dev );
ARGUMENTS dev generic device information structure
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_mem(9), i40e_free_dma_mem(9), i40e_allocate_virt... |
i40e_suspend_port_tx(9) | NAME i40e_suspend_port_tx - Suspend port Tx
SYNOPSIS int i40e_suspend_port_tx (struct i40e_pf *pf );
ARGUMENTS pf PF struct
DESCRIPTION Suspend a port's Tx and issue a PF reset in case of failure.
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_... |
i40e_sw_init(9) | NAME i40e_sw_init - Initialize general software structures (struct i40e_pf)
SYNOPSIS int i40e_sw_init (struct i40e_pf *pf );
ARGUMENTS pf board private structure to initialize
DESCRIPTION i40e_sw_init initializes the Adapter private data structure. Fields are initialized based on PCI device information and... |
i40e_switch_branch_release(9) | NAME i40e_switch_branch_release - Delete a branch of the switch tree
SYNOPSIS void i40e_switch_branch_release (struct i40e_veb *branch );
ARGUMENTS branch where to start deleting
DESCRIPTION This uses recursion to find the tips of the branch to be removed, deleting until we get back to and can delete this VEB.
... |
i40e_sync_filters_subtask(9) | NAME i40e_sync_filters_subtask - Sync the VSI filter list with HW
SYNOPSIS void i40e_sync_filters_subtask (struct i40e_pf *pf );
ARGUMENTS pf board private structure
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_mem(9), i40e_free_dma_mem(9), ... |
i40e_sync_vf_state(9) | NAME i40e_sync_vf_state -
SYNOPSIS bool i40e_sync_vf_state (struct i40e_vf *vf , enum i40e_vf_states state );
ARGUMENTS vf pointer to the VF info
state VF state
DESCRIPTION Called from a VF message to synchronize the service with a potential VF reset state
SEE ALSO Kernel file ./drivers/net... |
i40e_sync_vfr_reset(9) | NAME i40e_sync_vfr_reset -
SYNOPSIS int i40e_sync_vfr_reset (struct i40e_hw *hw , int vf_id );
ARGUMENTS hw pointer to hw struct
vf_id VF identifier
DESCRIPTION Before trigger hardware reset, we need to know if no other process has reserved the hardware for any reset operations. This check is ... |
i40e_sync_vsi_filters(9) | NAME i40e_sync_vsi_filters - Update the VSI filter list to the HW
SYNOPSIS int i40e_sync_vsi_filters (struct i40e_vsi *vsi );
ARGUMENTS vsi ptr to the VSI
DESCRIPTION Push any outstanding VSI filter changes through the AdminQ. Returns 0 or error value
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i... |
i40e_test_staterr(9) | NAME i40e_test_staterr - tests bits in Rx descriptor status and error fields
SYNOPSIS bool i40e_test_staterr (union i40e_rx_desc *rx_desc , const u64 stat_err_bits );
ARGUMENTS rx_desc pointer to receive descriptor (in le64 format)
stat_err_bits
value to mask
DESCRIPTION This function ... |
i40e_trigger_vf_reset(9) | NAME i40e_trigger_vf_reset -
SYNOPSIS void i40e_trigger_vf_reset (struct i40e_vf *vf , bool flr );
ARGUMENTS vf pointer to the VF structure
flr VFLR was issued or not
DESCRIPTION Trigger hardware to start a reset for a particular VF. Expects the caller to wait the proper amount of time to al... |
i40e_tso(9) | NAME i40e_tso - set up the tso context descriptor
SYNOPSIS int i40e_tso (struct i40e_tx_buffer *first , u8 *hdr_len , u64 *cd_type_cmd_tso_mss );
ARGUMENTS first pointer to first Tx buffer for xmit
hdr_len ptr to the size of the packet header
cd_type_cmd_tso_mss
Quad Word ... |
i40e_tsyn(9) | NAME i40e_tsyn - set up the tsyn context descriptor
SYNOPSIS int i40e_tsyn (struct i40e_ring *tx_ring , struct sk_buff *skb , u32 tx_flags , u64 *cd_type_cmd_tso_mss );
ARGUMENTS tx_ring ptr to the ring to send
skb ptr to the skb we're sending
tx_flags the collected send information
... |
i40e_tx_enable_csum(9) | NAME i40e_tx_enable_csum - Enable Tx checksum offloads
SYNOPSIS int i40e_tx_enable_csum (struct sk_buff *skb , u32 *tx_flags , u32 *td_cmd , u32 *td_offset , struct i40e_ring *tx_ring , u32 *cd_tunneling );
ARGUMENTS skb send buffer
tx_flags pointer to Tx flags currently set
td_cmd Tx ... |
i40e_tx_map(9) | NAME i40e_tx_map - Build the Tx descriptor
SYNOPSIS int i40e_tx_map (struct i40e_ring *tx_ring , struct sk_buff *skb , struct i40e_tx_buffer *first , u32 tx_flags , const u8 hdr_len , u32 td_cmd , u32 td_offset );
ARGUMENTS tx_ring ring to send buffer on
skb send buffer
first first b... |
i40e_tx_prepare_vlan_flags(9) | NAME i40e_tx_prepare_vlan_flags - prepare generic TX VLAN tagging flags for HW
SYNOPSIS int i40e_tx_prepare_vlan_flags (struct sk_buff *skb , struct i40e_ring *tx_ring , u32 *flags );
ARGUMENTS skb send buffer
tx_ring ring to send buffer on
flags the tx flags to be set
DESCRIPTION C... |
i40e_tx_timeout(9) | NAME i40e_tx_timeout - Respond to a Tx Hang
SYNOPSIS void i40e_tx_timeout (struct net_device *netdev , unsigned int txqueue );
ARGUMENTS netdev network interface device structure
txqueue queue number timing out
DESCRIPTION If any port has noticed a Tx timeout, it is likely that the whole device is m... |
i40e_txd_use_count(9) | NAME i40e_txd_use_count - estimate the number of descriptors needed for Tx
SYNOPSIS unsigned int i40e_txd_use_count (unsigned int size );
ARGUMENTS size transmit request size in bytes
DESCRIPTION Due to hardware alignment restrictions (4K alignment), we need to assume that we can have no more than 12K of data... |
i40e_undo_add_filter_entries(9) | NAME i40e_undo_add_filter_entries - Undo the changes made to MAC filter entries
SYNOPSIS void i40e_undo_add_filter_entries (struct i40e_vsi *vsi , struct hlist_head *from );
ARGUMENTS vsi Pointer to vsi struct
from Pointer to list which contains MAC filter entries - changes to those entries nee... |
i40e_undo_del_filter_entries(9) | NAME i40e_undo_del_filter_entries - Undo the changes made to MAC filter entries
SYNOPSIS void i40e_undo_del_filter_entries (struct i40e_vsi *vsi , struct hlist_head *from );
ARGUMENTS vsi Pointer to VSI struct
from Pointer to list which contains MAC filter entries - changes to those entries nee... |
i40e_unmap_and_free_tx_resource(9) | NAME i40e_unmap_and_free_tx_resource - Release a Tx buffer
SYNOPSIS void i40e_unmap_and_free_tx_resource (struct i40e_ring *ring , struct i40e_tx_buffer *tx_buffer );
ARGUMENTS ring the ring that owns the buffer
tx_buffer the buffer to free
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/... |
i40e_unquiesce_vsi(9) | NAME i40e_unquiesce_vsi - Resume a given VSI
SYNOPSIS void i40e_unquiesce_vsi (struct i40e_vsi *vsi );
ARGUMENTS vsi the VSI being resumed
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_mem(9), i40e_free_dma_mem(9), i40e_allocate_virt_mem(9), ... |
i40e_unused_pit_index(9) | NAME i40e_unused_pit_index - Find an unused PIT index for given list
SYNOPSIS u8 i40e_unused_pit_index (struct i40e_pf *pf );
ARGUMENTS pf the PF data structure
DESCRIPTION Find the first unused flexible PIT index entry. We search both the L3 and L4 flexible PIT lists so that the returned index is unique a... |
i40e_up(9) | NAME i40e_up - Bring the connection back up after being down
SYNOPSIS int i40e_up (struct i40e_vsi *vsi );
ARGUMENTS vsi the VSI being configured
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_mem(9), i40e_free_dma_mem(9), i40e_allocate_virt_me... |
i40e_up_complete(9) | NAME i40e_up_complete - Finish the last steps of bringing up a connection
SYNOPSIS int i40e_up_complete (struct i40e_vsi *vsi );
ARGUMENTS vsi the VSI being configured
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_mem(9), i40e_free_dma_mem(9), ... |
i40e_update_adq_vsi_queues(9) | NAME i40e_update_adq_vsi_queues - update queue mapping for ADq VSI
SYNOPSIS int i40e_update_adq_vsi_queues (struct i40e_vsi *vsi , int vsi_offset );
ARGUMENTS vsi the VSI being reconfigured
vsi_offset offset from main VF VSI
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40... |
i40e_update_enable_itr(9) | NAME i40e_update_enable_itr - Update itr and re-enable MSIX interrupt
SYNOPSIS void i40e_update_enable_itr (struct i40e_vsi *vsi , struct i40e_q_vector *q_vector );
ARGUMENTS vsi the VSI we care about
q_vector q_vector for which itr is being updated and interrupt enabled
SEE ALSO Kernel file .... |
i40e_update_eth_stats(9) | NAME i40e_update_eth_stats - Update VSI-specific ethernet statistics counters.
SYNOPSIS void i40e_update_eth_stats (struct i40e_vsi *vsi );
ARGUMENTS vsi the VSI to be updated
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_mem(9), i40e_free_dma_... |
i40e_update_ethtool_fdir_entry(9) | NAME i40e_update_ethtool_fdir_entry - Updates the fdir filter entry
SYNOPSIS int i40e_update_ethtool_fdir_entry (struct i40e_vsi *vsi , struct i40e_fdir_filter *input , u16 sw_idx , struct ethtool_rxnfc *cmd );
ARGUMENTS vsi Pointer to the targeted VSI
input The filter to update or NULL to indic... |
i40e_update_filter_state(9) | NAME i40e_update_filter_state - Update filter state based on return data from firmware
SYNOPSIS int i40e_update_filter_state (int count , struct i40e_aqc_add_macvlan_element_data *add_list , struct i40e_new_mac_filter *add_head );
ARGUMENTS count Number of filters added
add_list return data from fw
... |
i40e_update_itr(9) | NAME i40e_update_itr - update the dynamic ITR value based on statistics
SYNOPSIS void i40e_update_itr (struct i40e_q_vector *q_vector , struct i40e_ring_container *rc );
ARGUMENTS q_vector structure containing interrupt and ring information
rc structure containing ring performance data
DESCRIPTIO... |
i40e_update_link_info(9) | NAME i40e_update_link_info - update status of the HW network link
SYNOPSIS noinline_for_stack int i40e_update_link_info (struct i40e_hw *hw );
ARGUMENTS hw pointer to the hw struct
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_common.c i40e_set_mac_type(9), i40e_debug_aq(9), i40e_c... |
i40e_update_nvm_checksum(9) | NAME i40e_update_nvm_checksum - Updates the NVM checksum
SYNOPSIS int i40e_update_nvm_checksum (struct i40e_hw *hw );
ARGUMENTS hw pointer to hardware structure
DESCRIPTION NVM ownership must be acquired before calling this function and released on ARQ completion event reception by caller. This function wi... |
i40e_update_pf_stats(9) | NAME i40e_update_pf_stats - Update the PF statistics counters.
SYNOPSIS void i40e_update_pf_stats (struct i40e_pf *pf );
ARGUMENTS pf the PF to be updated
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_mem(9), i40e_free_dma_mem(9), i40e_alloca... |
i40e_update_rx_stats(9) | NAME i40e_update_rx_stats - Update Rx ring statistics
SYNOPSIS void i40e_update_rx_stats (struct i40e_ring *rx_ring , unsigned int total_rx_bytes , unsigned int total_rx_packets );
ARGUMENTS rx_ring rx descriptor ring
total_rx_bytes
number of bytes received
total_rx_packets
... |
i40e_update_stats(9) | NAME i40e_update_stats - Update the various statistics counters.
SYNOPSIS void i40e_update_stats (struct i40e_vsi *vsi );
ARGUMENTS vsi the VSI to be updated
DESCRIPTION Update the various stats for this VSI and its related entities.
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i4... |
i40e_update_tx_stats(9) | NAME i40e_update_tx_stats - Update the egress statistics for the Tx ring
SYNOPSIS void i40e_update_tx_stats (struct i40e_ring *tx_ring , unsigned int total_packets , unsigned int total_bytes );
ARGUMENTS tx_ring Tx ring to update
total_packets
total packets sent
total_bytes tota... |
i40e_update_veb_stats(9) | NAME i40e_update_veb_stats - Update Switch component statistics
SYNOPSIS void i40e_update_veb_stats (struct i40e_veb *veb );
ARGUMENTS veb the VEB being updated
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_mem(9), i40e_free_dma_mem(9), i40e_a... |
i40e_update_vf_mac_addr(9) | NAME i40e_update_vf_mac_addr -
SYNOPSIS void i40e_update_vf_mac_addr (struct i40e_vf *vf , struct virtchnl_ether_addr *vc_ether_addr );
ARGUMENTS vf VF to update
vc_ether_addr
structure from VIRTCHNL with MAC to add
DESCRIPTION update the VF's cached hardware MAC if allowed
SEE A... |
i40e_update_vsi_stats(9) | NAME i40e_update_vsi_stats - Update the vsi statistics counters.
SYNOPSIS void i40e_update_vsi_stats (struct i40e_vsi *vsi );
ARGUMENTS vsi the VSI to be updated
DESCRIPTION There are a few instances where we store the same stat in a couple of different structs. This is partly because we have the netdev ... |
i40e_validate_and_set_switch_mode(9) | NAME i40e_validate_and_set_switch_mode - sets up switch mode correctly
SYNOPSIS int i40e_validate_and_set_switch_mode (struct i40e_vsi *vsi );
ARGUMENTS vsi ptr to VSI which has PF backing
DESCRIPTION Sets up switch mode correctly if it needs to be changed and perform what are allowed modes.
SEE ALSO Kernel... |
i40e_validate_cloud_filter(9) | NAME i40e_validate_cloud_filter -
SYNOPSIS int i40e_validate_cloud_filter (struct i40e_vf *vf , struct virtchnl_filter *tc_filter );
ARGUMENTS vf pointer to VF structure
tc_filter pointer to filter requested
DESCRIPTION This function validates cloud filter programmed as TC filter for ADq
SEE ALSO... |
i40e_validate_filter_settings(9) | NAME i40e_validate_filter_settings -
SYNOPSIS int i40e_validate_filter_settings (struct i40e_hw *hw , struct i40e_filter_control_settings *settings );
ARGUMENTS hw pointer to the hardware structure
settings Filter control settings
DESCRIPTION Check and validate the filter control settings passe... |
i40e_validate_mqprio_qopt(9) | NAME i40e_validate_mqprio_qopt - validate queue mapping info
SYNOPSIS int i40e_validate_mqprio_qopt (struct i40e_vsi *vsi , struct tc_mqprio_qopt_offload *mqprio_qopt );
ARGUMENTS vsi the VSI being configured
mqprio_qopt queue parametrs
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_... |
i40e_validate_num_queues(9) | NAME i40e_validate_num_queues - validate num_queues w.r.t channel
SYNOPSIS int i40e_validate_num_queues (struct i40e_pf *pf , int num_queues , struct i40e_vsi *vsi , bool *reconfig_rss );
ARGUMENTS pf ptr to PF device
num_queues number of queues
vsi the parent VSI
reconfig_rs... |
i40e_validate_nvm_checksum(9) | NAME i40e_validate_nvm_checksum - Validate EEPROM checksum
SYNOPSIS int i40e_validate_nvm_checksum (struct i40e_hw *hw , u16 *checksum );
ARGUMENTS hw pointer to hardware structure
checksum calculated checksum
DESCRIPTION Performs checksum calculation and validates the NVM SW checksum. If the cal... |
i40e_validate_profile(9) | NAME i40e_validate_profile -
SYNOPSIS int i40e_validate_profile (struct i40e_hw *hw , struct i40e_profile_segment *profile , u32 track_id , bool rollback );
ARGUMENTS hw pointer to the hardware structure
profile pointer to the profile segment of the package to be validated
track_id pac... |
i40e_validate_queue_map(9) | NAME i40e_validate_queue_map - check queue map is valid
SYNOPSIS int i40e_validate_queue_map (struct i40e_vf *vf , u16 vsi_id , unsigned long queuemap );
ARGUMENTS vf the VF structure pointer
vsi_id vsi id
queuemap Tx or Rx queue map
DESCRIPTION check if Tx or Rx queue map is valid
... |
i40e_validate_vf(9) | NAME i40e_validate_vf -
SYNOPSIS int i40e_validate_vf (struct i40e_pf *pf , int vf_id );
ARGUMENTS pf the physical function
vf_id VF identifier
DESCRIPTION Check that the VF is enabled and the VSI exists. Returns 0 on success, negative on failure
SEE ALSO Kernel file ./drivers/net/ethernet... |
i40e_vc_add_cloud_filter(9) | NAME i40e_vc_add_cloud_filter -
SYNOPSIS int i40e_vc_add_cloud_filter (struct i40e_vf *vf , u8 *msg );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer
DESCRIPTION This function adds a cloud filter programmed as TC filter for ADq
SEE ALSO Kernel file ./drivers/net/etherne... |
i40e_vc_add_mac_addr_msg(9) | NAME i40e_vc_add_mac_addr_msg -
SYNOPSIS int i40e_vc_add_mac_addr_msg (struct i40e_vf *vf , u8 *msg );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer
DESCRIPTION add guest mac address filter
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e_... |
i40e_vc_add_qch_msg(9) | NAME i40e_vc_add_qch_msg - Add queue channel and enable ADq
SYNOPSIS int i40e_vc_add_qch_msg (struct i40e_vf *vf , u8 *msg );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e_vc_vf_broadcast(9),... |
i40e_vc_add_vlan_msg(9) | NAME i40e_vc_add_vlan_msg -
SYNOPSIS int i40e_vc_add_vlan_msg (struct i40e_vf *vf , u8 *msg );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer
DESCRIPTION program guest vlan id
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e_vc_vf_broadcast... |
i40e_vc_config_irq_map_msg(9) | NAME i40e_vc_config_irq_map_msg -
SYNOPSIS int i40e_vc_config_irq_map_msg (struct i40e_vf *vf , u8 *msg );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer
DESCRIPTION called from the VF to configure the irq to queue map
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i... |
i40e_vc_config_promiscuous_mode_msg(9) | NAME i40e_vc_config_promiscuous_mode_msg -
SYNOPSIS int i40e_vc_config_promiscuous_mode_msg (struct i40e_vf *vf , u8 *msg );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer
DESCRIPTION called from the VF to configure the promiscuous mode of VF vsis
SEE ALSO Kernel file .... |
i40e_vc_config_queues_msg(9) | NAME i40e_vc_config_queues_msg -
SYNOPSIS int i40e_vc_config_queues_msg (struct i40e_vf *vf , u8 *msg );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer
DESCRIPTION called from the VF to configure the rx/tx queues
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i4... |
i40e_vc_config_rss_key(9) | NAME i40e_vc_config_rss_key -
SYNOPSIS int i40e_vc_config_rss_key (struct i40e_vf *vf , u8 *msg );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer
DESCRIPTION Configure the VF's RSS key
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e_vc_vf_... |
i40e_vc_config_rss_lut(9) | NAME i40e_vc_config_rss_lut -
SYNOPSIS int i40e_vc_config_rss_lut (struct i40e_vf *vf , u8 *msg );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer
DESCRIPTION Configure the VF's RSS LUT
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e_vc_vf_... |
i40e_vc_del_cloud_filter(9) | NAME i40e_vc_del_cloud_filter -
SYNOPSIS int i40e_vc_del_cloud_filter (struct i40e_vf *vf , u8 *msg );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer
DESCRIPTION This function deletes a cloud filter programmed as TC filter for ADq
SEE ALSO Kernel file ./drivers/net/ethe... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.