id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
i40e_build_skb(9) | NAME i40e_build_skb - Build skb around an existing buffer
SYNOPSIS struct sk_buff * i40e_build_skb (struct i40e_ring *rx_ring , struct xdp_buff *xdp );
ARGUMENTS rx_ring Rx descriptor ring to transact packets on
xdp xdp_buff pointing to the data
DESCRIPTION This function builds an skb around an e... |
i40e_buildreg_itr(9) | NAME i40e_buildreg_itr - build a value for writing to I40E_PFINT_DYN_CTLN register
SYNOPSIS u32 i40e_buildreg_itr (enum i40e_dyn_idx itr_idx , u16 interval , bool force_swint );
ARGUMENTS itr_idx interrupt throttling index
interval interrupt throttling interval value in usecs
force_swint force ... |
i40e_bw_bytes_to_mbits(9) | NAME i40e_bw_bytes_to_mbits - Convert max_tx_rate from bytes to mbits
SYNOPSIS u64 i40e_bw_bytes_to_mbits (struct i40e_vsi *vsi , u64 max_tx_rate );
ARGUMENTS vsi Pointer to vsi structure
max_tx_rate max TX rate in bytes to be converted into Mbits
DESCRIPTION Helper function to convert units before s... |
i40e_calc_nvm_checksum(9) | NAME i40e_calc_nvm_checksum - Calculates and returns the checksum
SYNOPSIS int i40e_calc_nvm_checksum (struct i40e_hw *hw , u16 *checksum );
ARGUMENTS hw pointer to hardware structure
checksum pointer to the checksum
DESCRIPTION This function calculates SW Checksum that covers the whole 64kB sha... |
i40e_calculate_l2fpm_size(9) | NAME i40e_calculate_l2fpm_size - calculates layer 2 FPM memory size
SYNOPSIS u64 i40e_calculate_l2fpm_size (u32 txq_num , u32 rxq_num , u32 fcoe_cntx_num , u32 fcoe_filt_num );
ARGUMENTS txq_num number of Tx queues needing backing context
rxq_num number of Rx queues needing backing context
fco... |
i40e_calculate_vsi_rx_buf_len(9) | NAME i40e_calculate_vsi_rx_buf_len - Calculates buffer length
SYNOPSIS u16 i40e_calculate_vsi_rx_buf_len (struct i40e_vsi *vsi );
ARGUMENTS vsi VSI to calculate rx_buf_len from
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_can_reuse_rx_page(9) | NAME i40e_can_reuse_rx_page - Determine if page can be reused for another Rx
SYNOPSIS bool i40e_can_reuse_rx_page (struct i40e_rx_buffer *rx_buffer , struct i40e_rx_queue_stats *rx_stats );
ARGUMENTS rx_buffer buffer containing the page
rx_stats rx stats structure for the rx ring
DESCRIPTION If page i... |
i40e_can_set_pins(9) | NAME i40e_can_set_pins - check possibility of manipulating the pins
SYNOPSIS enum i40e_can_set_pins i40e_can_set_pins (struct i40e_pf *pf );
ARGUMENTS pf board private structure
DESCRIPTION Check if all conditions are satisfied to manipulate PTP pins. Return CAN_SET_PINS if pins can be set on a specific PF... |
i40e_cee_to_dcb_config(9) | NAME i40e_cee_to_dcb_config -
SYNOPSIS void i40e_cee_to_dcb_config (struct i40e_aqc_get_cee_dcb_cfg_resp *cee_cfg , struct i40e_dcbx_config *dcbcfg );
ARGUMENTS cee_cfg pointer to CEE configuration struct
dcbcfg DCB configuration struct
DESCRIPTION Convert CEE configuration from firmware to DCB conf... |
i40e_cee_to_dcb_v1_config(9) | NAME i40e_cee_to_dcb_v1_config -
SYNOPSIS void i40e_cee_to_dcb_v1_config (struct i40e_aqc_get_cee_dcb_cfg_v1_resp *cee_cfg , struct i40e_dcbx_config *dcbcfg );
ARGUMENTS cee_cfg pointer to CEE v1 response configuration struct
dcbcfg DCB configuration struct
DESCRIPTION Convert CEE v1 configuration f... |
i40e_change_filter_num(9) | NAME i40e_change_filter_num - Prepare and program fdir filter
SYNOPSIS void i40e_change_filter_num (bool ipv4 , bool add , u16 *ipv4_filter_num , u16 *ipv6_filter_num );
ARGUMENTS ipv4 is layer 3 packet of version 4 or 6
add add or delete filter
ipv4_filter_num
field ... |
i40e_change_mtu(9) | NAME i40e_change_mtu - NDO callback to change the Maximum Transfer Unit
SYNOPSIS int i40e_change_mtu (struct net_device *netdev , int new_mtu );
ARGUMENTS netdev network interface device structure
new_mtu new value for maximum frame size
DESCRIPTION Returns 0 on success, negative on failure
SEE ALS... |
i40e_channel_config_tx_ring(9) | NAME i40e_channel_config_tx_ring - config TX ring associated with new channel
SYNOPSIS int i40e_channel_config_tx_ring (struct i40e_pf *pf , struct i40e_vsi *vsi , struct i40e_channel *ch );
ARGUMENTS pf ptr to PF device
vsi the VSI being setup
ch ptr to channel structure
DE... |
i40e_channel_setup_queue_map(9) | NAME i40e_channel_setup_queue_map - Setup a channel queue map
SYNOPSIS void i40e_channel_setup_queue_map (struct i40e_pf *pf , struct i40e_vsi_context *ctxt , struct i40e_channel *ch );
ARGUMENTS pf ptr to PF device
ctxt VSI context structure
ch ptr to channel structure
DESCR... |
i40e_check_asq_alive(9) | NAME i40e_check_asq_alive -
SYNOPSIS bool i40e_check_asq_alive (struct i40e_hw *hw );
ARGUMENTS hw pointer to the hw struct
DESCRIPTION Returns true if Queue is enabled else false.
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_common.c i40e_set_mac_type(9), i40e_debug_aq(9), i40e... |
i40e_check_enough_queue(9) | NAME i40e_check_enough_queue - find big enough queue number
SYNOPSIS int i40e_check_enough_queue (struct i40e_vf *vf , u16 needed );
ARGUMENTS vf pointer to the VF info
needed the number of items needed
DESCRIPTION Returns the base item index of the queue, or negative for error
SEE ALSO Kernel... |
i40e_check_fdir_input_set(9) | NAME i40e_check_fdir_input_set - Check that a given rx_flow_spec mask is valid
SYNOPSIS int i40e_check_fdir_input_set (struct i40e_vsi *vsi , struct ethtool_rx_flow_spec *fsp , struct i40e_rx_flow_userdef *userdef );
ARGUMENTS vsi pointer to the targeted VSI
fsp pointer to Rx flow specificatio... |
i40e_check_fw_empr(9) | NAME i40e_check_fw_empr - check if FW issued unexpected EMP Reset
SYNOPSIS bool i40e_check_fw_empr (struct i40e_pf *pf );
ARGUMENTS pf board private structure
DESCRIPTION Check FW registers to determine if FW issued unexpected EMP Reset. Every time when unexpected EMP Reset occurs the FW increments a count... |
i40e_check_mask(9) | NAME i40e_check_mask - Check whether a mask field is set
SYNOPSIS int i40e_check_mask (u64 mask , u64 field );
ARGUMENTS mask the full mask value
field mask of the field to check
DESCRIPTION If the given mask is fully set, return positive value. If the mask for the field is fully unset, return z... |
i40e_check_recovery_mode(9) | NAME i40e_check_recovery_mode - check if we are running transition firmware
SYNOPSIS bool i40e_check_recovery_mode (struct i40e_pf *pf );
ARGUMENTS pf board private structure
DESCRIPTION Check registers indicating the firmware runs in recovery mode. Sets the appropriate driver state. Returns true if the re... |
i40e_check_vf_init_timeout(9) | NAME i40e_check_vf_init_timeout -
SYNOPSIS bool i40e_check_vf_init_timeout (struct i40e_vf *vf );
ARGUMENTS vf the virtual function
DESCRIPTION Check that the VF's initialization was successfully done and if not wait up to 300ms for its finish. Returns true when VF is initialized, false on timeout
SEE ALS... |
i40e_check_vf_permission(9) | NAME i40e_check_vf_permission -
SYNOPSIS int i40e_check_vf_permission (struct i40e_vf *vf , struct virtchnl_ether_addr_list *al );
ARGUMENTS vf pointer to the VF info
al MAC address list from virtchnl
DESCRIPTION Check that the given list of MAC addresses is allowed. Will return -EPERM if ... |
i40e_chk_linearize(9) | NAME i40e_chk_linearize - Check if there are more than 8 fragments per packet
SYNOPSIS bool i40e_chk_linearize (struct sk_buff *skb , int count );
ARGUMENTS skb send buffer
count number of buffers used
NOTE Our HW can't scatter-gather more than 8 fragments to build a packet on the wire and so w... |
i40e_clean_adminq_subtask(9) | NAME i40e_clean_adminq_subtask - Clean the AdminQ rings
SYNOPSIS void i40e_clean_adminq_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_alloc... |
i40e_clean_arq_element(9) | NAME i40e_clean_arq_element -
SYNOPSIS int i40e_clean_arq_element (struct i40e_hw *hw , struct i40e_arq_event_info *e , u16 *pending );
ARGUMENTS hw pointer to the hw struct
e event info from the receive descriptor, includes any buffers
pending number of events that could be lef... |
i40e_clean_asq(9) | NAME i40e_clean_asq - cleans Admin send queue
SYNOPSIS u16 i40e_clean_asq (struct i40e_hw *hw );
ARGUMENTS hw pointer to the hardware structure
DESCRIPTION returns the number of free desc
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_adminq.c i40e_alloc_adminq_asq_ring(9), i40e_alloc_adminq... |
i40e_clean_fdir_tx_irq(9) | NAME i40e_clean_fdir_tx_irq - Reclaim resources after transmit completes
SYNOPSIS bool i40e_clean_fdir_tx_irq (struct i40e_ring *tx_ring , int budget );
ARGUMENTS tx_ring tx ring to clean
budget how many cleans we're allowed
DESCRIPTION Returns true if there's any budget left (e.g. the clean is fini... |
i40e_clean_programming_status(9) | NAME i40e_clean_programming_status - clean the programming status descriptor
SYNOPSIS void i40e_clean_programming_status (struct i40e_ring *rx_ring , u64 qword0_raw , u64 qword1 );
ARGUMENTS rx_ring the rx ring that has this descriptor
qword0_raw qword0
qword1 qword1 representing status_erro... |
i40e_clean_rx_irq(9) | NAME i40e_clean_rx_irq - Clean completed descriptors from Rx ring - bounce buf
SYNOPSIS int i40e_clean_rx_irq (struct i40e_ring *rx_ring , int budget , unsigned int *rx_cleaned );
ARGUMENTS rx_ring rx descriptor ring to transact packets on
budget Total limit on number of packets to process
rx... |
i40e_clean_rx_irq_zc(9) | NAME i40e_clean_rx_irq_zc - Consumes Rx packets from the hardware ring
SYNOPSIS int i40e_clean_rx_irq_zc (struct i40e_ring *rx_ring , int budget );
ARGUMENTS rx_ring Rx ring
budget NAPI budget
DESCRIPTION Returns amount of work completed
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e... |
i40e_clean_rx_ring(9) | NAME i40e_clean_rx_ring - Free Rx buffers
SYNOPSIS void i40e_clean_rx_ring (struct i40e_ring *rx_ring );
ARGUMENTS rx_ring ring to be cleaned
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_txrx.c i40e_fdir(9), i40e_program_fdir_filter(9), i40e_create_dummy_packet(9), i40e_create_dummy_ud... |
i40e_clean_tx_irq(9) | NAME i40e_clean_tx_irq - Reclaim resources after transmit completes
SYNOPSIS bool i40e_clean_tx_irq (struct i40e_vsi *vsi , struct i40e_ring *tx_ring , int napi_budget , unsigned int *tx_cleaned );
ARGUMENTS vsi the VSI we care about
tx_ring Tx ring to clean
napi_budget Used to determine i... |
i40e_clean_tx_ring(9) | NAME i40e_clean_tx_ring - Free any empty Tx buffers
SYNOPSIS void i40e_clean_tx_ring (struct i40e_ring *tx_ring );
ARGUMENTS tx_ring ring to be cleaned
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_txrx.c i40e_fdir(9), i40e_program_fdir_filter(9), i40e_create_dummy_packet(9), i40e_creat... |
i40e_clean_xdp_tx_buffer(9) | NAME i40e_clean_xdp_tx_buffer - Frees and unmaps an XDP Tx entry
SYNOPSIS void i40e_clean_xdp_tx_buffer (struct i40e_ring *tx_ring , struct i40e_tx_buffer *tx_bi );
ARGUMENTS tx_ring XDP Tx ring
tx_bi Tx buffer info to clean
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_xsk.c i40e_... |
i40e_clean_xdp_tx_irq(9) | NAME i40e_clean_xdp_tx_irq - Completes AF_XDP entries, and cleans XDP entries
SYNOPSIS bool i40e_clean_xdp_tx_irq (struct i40e_vsi *vsi , struct i40e_ring *tx_ring );
ARGUMENTS vsi Current VSI
tx_ring XDP Tx ring
DESCRIPTION Returns true if cleanup/transmission is done.
SEE ALSO Kernel file ./... |
i40e_clean_xps_state(9) | NAME i40e_clean_xps_state - clean xps state for every tx_ring
SYNOPSIS void i40e_clean_xps_state (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_vi... |
i40e_cleanup_headers(9) | NAME i40e_cleanup_headers - Correct empty headers
SYNOPSIS bool i40e_cleanup_headers (struct i40e_ring *rx_ring , struct sk_buff *skb , union i40e_rx_desc *rx_desc );
ARGUMENTS rx_ring rx descriptor ring packet is being transacted on
skb pointer to current skb being fixed
rx_desc point... |
i40e_cleanup_reset_vf(9) | NAME i40e_cleanup_reset_vf -
SYNOPSIS void i40e_cleanup_reset_vf (struct i40e_vf *vf );
ARGUMENTS vf pointer to the VF structure
DESCRIPTION Cleanup a VF after the hardware reset is finished. Expects the caller to have verified whether the reset is finished properly, and ensure the minimum amount of wait ti... |
i40e_clear_hmc_context(9) | NAME i40e_clear_hmc_context - zero out the HMC context bits
SYNOPSIS int i40e_clear_hmc_context (struct i40e_hw *hw , u8 *context_bytes , enum i40e_hmc_lan_rsrc_type hmc_type );
ARGUMENTS hw the hardware struct
context_bytes
pointer to the context bit array (DMA memory)
hmc... |
i40e_clear_hw(9) | NAME i40e_clear_hw - clear out any left over hw state
SYNOPSIS void i40e_clear_hw (struct i40e_hw *hw );
ARGUMENTS hw pointer to the hw struct
DESCRIPTION Clear queues and interrupts, typically called at init time, but after the capabilities have been found so we know how many queues and msix vectors have b... |
i40e_clear_interrupt_scheme(9) | NAME i40e_clear_interrupt_scheme - Clear the current interrupt scheme settings
SYNOPSIS void i40e_clear_interrupt_scheme (struct i40e_pf *pf );
ARGUMENTS pf board private structure
DESCRIPTION We go through and clear interrupt specific resources and reset the structure to pre-load conditions
SEE ALSO Kerne... |
i40e_clear_lan_rx_queue_context(9) | NAME i40e_clear_lan_rx_queue_context - clear the HMC context for the queue
SYNOPSIS int i40e_clear_lan_rx_queue_context (struct i40e_hw *hw , u16 queue );
ARGUMENTS hw the hardware struct
queue the queue we care about
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c i40... |
i40e_clear_lan_tx_queue_context(9) | NAME i40e_clear_lan_tx_queue_context - clear the HMC context for the queue
SYNOPSIS int i40e_clear_lan_tx_queue_context (struct i40e_hw *hw , u16 queue );
ARGUMENTS hw the hardware struct
queue the queue we care about
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_lan_hmc.c i40... |
i40e_clear_pxe_mode(9) | NAME i40e_clear_pxe_mode - clear pxe operations mode
SYNOPSIS void i40e_clear_pxe_mode (struct i40e_hw *hw );
ARGUMENTS hw pointer to the hw struct
DESCRIPTION Make sure all PXE mode settings are cleared, including things like descriptor fetch/write-back mode.
SEE ALSO Kernel file ./drivers/net/ether... |
i40e_clear_rss_config_user(9) | NAME i40e_clear_rss_config_user - clear the user configured RSS hash keys and lookup table
SYNOPSIS void i40e_clear_rss_config_user (struct i40e_vsi *vsi );
ARGUMENTS vsi Pointer to VSI structure
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_mem... |
i40e_clear_rss_lut(9) | NAME i40e_clear_rss_lut - clear the rx hash lookup table
SYNOPSIS void i40e_clear_rss_lut (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... |
i40e_client_add_instance(9) | NAME i40e_client_add_instance - add a client instance struct to the instance list
SYNOPSIS void i40e_client_add_instance (struct i40e_pf *pf );
ARGUMENTS pf pointer to the board struct
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_client.c i40e_client_get_params(9), i40e_notify_client_of_vf_m... |
i40e_client_del_instance(9) | NAME i40e_client_del_instance - removes a client instance from the list
SYNOPSIS void i40e_client_del_instance (struct i40e_pf *pf );
ARGUMENTS pf pointer to the board struct
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_client.c i40e_client_get_params(9), i40e_notify_client_of_vf_msg(9), i40... |
i40e_client_get_params(9) | NAME i40e_client_get_params - Get the params that can change at runtime
SYNOPSIS int i40e_client_get_params (struct i40e_vsi *vsi , struct i40e_params *params );
ARGUMENTS vsi the VSI with the message
params client param struct
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_client... |
i40e_client_release_qvlist(9) | NAME i40e_client_release_qvlist - release MSI-X vector mapping for client
SYNOPSIS void i40e_client_release_qvlist (struct i40e_info *ldev );
ARGUMENTS ldev pointer to L2 context.
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_client.c i40e_client_get_params(9), i40e_notify_client_of_vf_m... |
i40e_client_request_reset(9) | NAME i40e_client_request_reset -
SYNOPSIS void i40e_client_request_reset (struct i40e_info *ldev , struct i40e_client *client , u32 reset_level );
ARGUMENTS ldev pointer to L2 context.
client Client pointer.
reset_level reset level
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i... |
i40e_client_setup_qvlist(9) | NAME i40e_client_setup_qvlist -
SYNOPSIS int i40e_client_setup_qvlist (struct i40e_info *ldev , struct i40e_client *client , struct i40e_qvlist_info *qvlist_info );
ARGUMENTS ldev pointer to L2 context.
client Client pointer.
qvlist_info queue and vector list
DESCRIPTION Return 0 on succe... |
i40e_client_subtask(9) | NAME i40e_client_subtask - client maintenance work
SYNOPSIS void i40e_client_subtask (struct i40e_pf *pf );
ARGUMENTS pf board private structure
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_client.c i40e_client_get_params(9), i40e_notify_client_of_vf_msg(9), i40e_notify_client_of_l2_param_ch... |
i40e_client_update_vsi_ctxt(9) | NAME i40e_client_update_vsi_ctxt -
SYNOPSIS int i40e_client_update_vsi_ctxt (struct i40e_info *ldev , struct i40e_client *client , bool is_vf , u32 vf_id , u32 flag , u32 valid_flag );
ARGUMENTS ldev pointer to L2 context.
client Client pointer.
is_vf if this for the VF
vf_id... |
i40e_client_virtchnl_send(9) | NAME i40e_client_virtchnl_send - TBD
SYNOPSIS int i40e_client_virtchnl_send (struct i40e_info *ldev , struct i40e_client *client , u32 vf_id , u8 *msg , u16 len );
ARGUMENTS ldev pointer to L2 context
client Client pointer
vf_id absolute VF identifier
msg message buff... |
i40e_close(9) | NAME i40e_close - Disables a network interface
SYNOPSIS int i40e_close (struct net_device *netdev );
ARGUMENTS netdev network interface device structure
DESCRIPTION The close entry point is called when an interface is de-activated by the OS. The hardware is still under the driver's control, but this netdev int... |
i40e_cloud_filter_exit(9) | NAME i40e_cloud_filter_exit - Cleans up the cloud filters
SYNOPSIS void i40e_cloud_filter_exit (struct i40e_pf *pf );
ARGUMENTS pf Pointer to PF
DESCRIPTION This function destroys the hlist where all the cloud filters were saved.
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_... |
i40e_compute_pci_to_hw_id(9) | NAME i40e_compute_pci_to_hw_id - compute index form PCI function.
SYNOPSIS u32 i40e_compute_pci_to_hw_id (struct i40e_vsi *vsi , struct i40e_hw *hw );
ARGUMENTS vsi ptr to the VSI to read from.
hw ptr to the hardware info.
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.... |
i40e_config_arq_regs(9) | NAME i40e_config_arq_regs - ARQ register configuration
SYNOPSIS int i40e_config_arq_regs (struct i40e_hw *hw );
ARGUMENTS hw pointer to the hardware structure
DESCRIPTION Configure base address and length registers for the receive (event queue)
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_... |
i40e_config_asq_regs(9) | NAME i40e_config_asq_regs - configure ASQ registers
SYNOPSIS int i40e_config_asq_regs (struct i40e_hw *hw );
ARGUMENTS hw pointer to the hardware structure
DESCRIPTION Configure base address and length registers for the transmit queue
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_adminq.c i... |
i40e_config_bridge_mode(9) | NAME i40e_config_bridge_mode - Configure the HW bridge mode
SYNOPSIS void i40e_config_bridge_mode (struct i40e_veb *veb );
ARGUMENTS veb pointer to the bridge instance
DESCRIPTION Configure the loop back mode for the LAN VSI that is downlink to the specified HW bridge instance. It is expected this function i... |
i40e_config_irq_link_list(9) | NAME i40e_config_irq_link_list -
SYNOPSIS void i40e_config_irq_link_list (struct i40e_vf *vf , u16 vsi_id , struct virtchnl_vector_map *vecmap );
ARGUMENTS vf pointer to the VF info
vsi_id id of VSI as given by the FW
vecmap irq map info
DESCRIPTION configure irq link list from the... |
i40e_config_netdev(9) | NAME i40e_config_netdev - Setup the netdev flags
SYNOPSIS int i40e_config_netdev (struct i40e_vsi *vsi );
ARGUMENTS vsi the VSI being configured
DESCRIPTION Returns 0 on success, negative value on failure
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_alloca... |
i40e_config_rdma_qvlist(9) | NAME i40e_config_rdma_qvlist -
SYNOPSIS int i40e_config_rdma_qvlist (struct i40e_vf *vf , struct virtchnl_rdma_qvlist_info *qvlist_info );
ARGUMENTS vf pointer to the VF info
qvlist_info queue and vector list
DESCRIPTION Return 0 on success or < 0 on error
SEE ALSO Kernel file ./drivers/net/ether... |
i40e_config_rss(9) | NAME i40e_config_rss - Configure RSS keys and lut
SYNOPSIS int i40e_config_rss (struct i40e_vsi *vsi , u8 *seed , u8 *lut , u16 lut_size );
ARGUMENTS vsi Pointer to VSI structure
seed RSS hash seed
lut Lookup table
lut_size Lookup table size
DESCRIPTION Returns 0 on ... |
i40e_config_rss_aq(9) | NAME i40e_config_rss_aq - Prepare for RSS using AQ commands
SYNOPSIS int i40e_config_rss_aq (struct i40e_vsi *vsi , const u8 *seed , u8 *lut , u16 lut_size );
ARGUMENTS vsi vsi structure
seed RSS hash seed
lut pointer to lookup table of lut_size
lut_size size of the l... |
i40e_config_rss_reg(9) | NAME i40e_config_rss_reg - Configure RSS keys and lut by writing registers
SYNOPSIS int i40e_config_rss_reg (struct i40e_vsi *vsi , const u8 *seed , const u8 *lut , u16 lut_size );
ARGUMENTS vsi Pointer to vsi structure
seed RSS hash seed
lut Lookup table
lut_size Loo... |
i40e_config_vf_promiscuous_mode(9) | NAME i40e_config_vf_promiscuous_mode -
SYNOPSIS int i40e_config_vf_promiscuous_mode (struct i40e_vf *vf , u16 vsi_id , bool allmulti , bool alluni );
ARGUMENTS vf pointer to the VF info
vsi_id VSI id
allmulti set MAC L2 layer multicast promiscuous enable/disable
alluni se... |
i40e_config_vsi_rx_queue(9) | NAME i40e_config_vsi_rx_queue -
SYNOPSIS int i40e_config_vsi_rx_queue (struct i40e_vf *vf , u16 vsi_id , u16 vsi_queue_id , struct virtchnl_rxq_info *info );
ARGUMENTS vf pointer to the VF info
vsi_id id of VSI as provided by the FW
vsi_queue_id
vsi relative queue ind... |
i40e_config_vsi_tx_queue(9) | NAME i40e_config_vsi_tx_queue -
SYNOPSIS int i40e_config_vsi_tx_queue (struct i40e_vf *vf , u16 vsi_id , u16 vsi_queue_id , struct virtchnl_txq_info *info );
ARGUMENTS vf pointer to the VF info
vsi_id id of VSI as provided by the FW
vsi_queue_id
vsi relative queue inde... |
i40e_config_xps_tx_ring(9) | NAME i40e_config_xps_tx_ring - Configure XPS for a Tx ring
SYNOPSIS void i40e_config_xps_tx_ring (struct i40e_ring *ring );
ARGUMENTS ring The Tx ring to configure
DESCRIPTION This enables/disables XPS for a given Tx descriptor ring based on the TCs enabled for the VSI that ring belongs to.
SEE ALSO Kernel ... |
i40e_configure_clsflower(9) | NAME i40e_configure_clsflower - Configure tc flower filters
SYNOPSIS int i40e_configure_clsflower (struct i40e_vsi *vsi , struct flow_cls_offload *cls_flower );
ARGUMENTS vsi Pointer to VSI
cls_flower Pointer to struct flow_cls_offload
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_... |
i40e_configure_lan_hmc(9) | NAME i40e_configure_lan_hmc - prepare the HMC backing store
SYNOPSIS int i40e_configure_lan_hmc (struct i40e_hw *hw , enum i40e_hmc_model model );
ARGUMENTS hw pointer to the hw structure
model the model for the layout of the SD/PD tables
DESCRIPTION - This function will be called once per phy... |
i40e_configure_msi_and_legacy(9) | NAME i40e_configure_msi_and_legacy - Legacy mode interrupt config in the HW
SYNOPSIS void i40e_configure_msi_and_legacy (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_f... |
i40e_configure_queue_channels(9) | NAME i40e_configure_queue_channels - Add queue channel for the given TCs
SYNOPSIS int i40e_configure_queue_channels (struct i40e_vsi *vsi );
ARGUMENTS vsi VSI to be configured
DESCRIPTION Configures queue channel mapping to the given TCs
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c... |
i40e_configure_rx_ring(9) | NAME i40e_configure_rx_ring - Configure a receive ring context
SYNOPSIS int i40e_configure_rx_ring (struct i40e_ring *ring );
ARGUMENTS ring The Rx ring to configure
DESCRIPTION Configure the Rx descriptor ring in the HMC context.
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_h... |
i40e_configure_tx_ring(9) | NAME i40e_configure_tx_ring - Configure a transmit ring context and rest
SYNOPSIS int i40e_configure_tx_ring (struct i40e_ring *ring );
ARGUMENTS ring The Tx ring to configure
DESCRIPTION Configure the Tx descriptor ring in the HMC context.
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main... |
i40e_construct_skb(9) | NAME i40e_construct_skb - Allocate skb and populate it
SYNOPSIS struct sk_buff * i40e_construct_skb (struct i40e_ring *rx_ring , struct xdp_buff *xdp );
ARGUMENTS rx_ring rx descriptor ring to transact packets on
xdp xdp_buff pointing to the data
DESCRIPTION This function allocates an skb. It th... |
i40e_construct_skb_zc(9) | NAME i40e_construct_skb_zc - Create skbuff from zero-copy Rx buffer
SYNOPSIS struct sk_buff * i40e_construct_skb_zc (struct i40e_ring *rx_ring , struct xdp_buff *xdp );
ARGUMENTS rx_ring Rx ring
xdp xdp_buff
DESCRIPTION This functions allocates a new skb from a zero-copy Rx buffer. Returns the s... |
i40e_consume_xdp_buff(9) | NAME i40e_consume_xdp_buff - Consume all the buffers of the packet and update ntc
SYNOPSIS void i40e_consume_xdp_buff (struct i40e_ring *rx_ring , struct xdp_buff *xdp , struct i40e_rx_buffer *rx_buffer );
ARGUMENTS rx_ring rx descriptor ring to transact packets on
xdp xdp_buff pointing to the dat... |
i40e_control_rx_q(9) | NAME i40e_control_rx_q - Start or stop a particular Rx queue
SYNOPSIS void i40e_control_rx_q (struct i40e_pf *pf , int pf_q , bool enable );
ARGUMENTS pf the PF structure
pf_q the PF queue to configure
enable start or stop the queue
DESCRIPTION This function enables or disables a... |
i40e_control_tx_q(9) | NAME i40e_control_tx_q - Start or stop a particular Tx queue
SYNOPSIS void i40e_control_tx_q (struct i40e_pf *pf , int pf_q , bool enable );
ARGUMENTS pf the PF structure
pf_q the PF queue to configure
enable start or stop the queue
DESCRIPTION This function enables or disables a... |
i40e_control_wait_rx_q(9) | NAME i40e_control_wait_rx_q -
SYNOPSIS int i40e_control_wait_rx_q (struct i40e_pf *pf , int pf_q , bool enable );
ARGUMENTS pf the PF structure
pf_q queue being configured
enable start or stop the rings
DESCRIPTION This function enables or disables a single queue along with waiti... |
i40e_control_wait_tx_q(9) | NAME i40e_control_wait_tx_q - Start/stop Tx queue and wait for completion
SYNOPSIS int i40e_control_wait_tx_q (int seid , struct i40e_pf *pf , int pf_q , bool is_xdp , bool enable );
ARGUMENTS seid VSI SEID
pf the PF structure
pf_q the PF queue to configure
is_xdp t... |
i40e_correct_mac_vlan_filters(9) | NAME i40e_correct_mac_vlan_filters - Correct non-VLAN filters if necessary
SYNOPSIS int i40e_correct_mac_vlan_filters (struct i40e_vsi *vsi , struct hlist_head *tmp_add_list , struct hlist_head *tmp_del_list , int vlan_filters );
ARGUMENTS vsi the VSI to configure
tmp_add_list
list ... |
i40e_correct_vf_mac_vlan_filters(9) | NAME i40e_correct_vf_mac_vlan_filters - Correct non-VLAN VF filters if necessary
SYNOPSIS int i40e_correct_vf_mac_vlan_filters (struct i40e_vsi *vsi , struct hlist_head *tmp_add_list , struct hlist_head *tmp_del_list , int vlan_filters , bool trusted );
ARGUMENTS vsi the vsi to configure
tmp_add_list
... |
i40e_count_active_filters(9) | NAME i40e_count_active_filters - counts VSI MAC filters
SYNOPSIS int i40e_count_active_filters (struct i40e_vsi *vsi );
ARGUMENTS vsi the VSI to be searched
RETURN count of active MAC filters.
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_mem(9... |
i40e_count_all_filters(9) | NAME i40e_count_all_filters - counts VSI MAC filters
SYNOPSIS int i40e_count_all_filters (struct i40e_vsi *vsi );
ARGUMENTS vsi the VSI to be searched
RETURN count of MAC filters in any state.
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_mem(9... |
i40e_create_dummy_packet(9) | NAME i40e_create_dummy_packet - Constructs dummy packet for HW
SYNOPSIS char * i40e_create_dummy_packet (u8 *dummy_packet , bool ipv4 , u8 l4proto , struct i40e_fdir_filter *data );
ARGUMENTS dummy_packet preallocated space for dummy packet
ipv4 is layer 3 packet of version 4 or 6
l4proto n... |
i40e_create_dummy_sctp_packet(9) | NAME i40e_create_dummy_sctp_packet - helper function to create SCTP packet
SYNOPSIS void i40e_create_dummy_sctp_packet (u8 *raw_packet , bool ipv4 , u8 l4proto , struct i40e_fdir_filter *data );
ARGUMENTS raw_packet preallocated space for dummy packet
ipv4 is layer 3 packet of version 4 or 6
l... |
i40e_create_dummy_tcp_packet(9) | NAME i40e_create_dummy_tcp_packet - helper function to create TCP packet
SYNOPSIS void i40e_create_dummy_tcp_packet (u8 *raw_packet , bool ipv4 , u8 l4proto , struct i40e_fdir_filter *data );
ARGUMENTS raw_packet preallocated space for dummy packet
ipv4 is layer 3 packet of version 4 or 6
l4pr... |
i40e_create_dummy_udp_packet(9) | NAME i40e_create_dummy_udp_packet - helper function to create UDP packet
SYNOPSIS void i40e_create_dummy_udp_packet (u8 *raw_packet , bool ipv4 , u8 l4proto , struct i40e_fdir_filter *data );
ARGUMENTS raw_packet preallocated space for dummy packet
ipv4 is layer 3 packet of version 4 or 6
l4pr... |
i40e_create_lan_hmc_object(9) | NAME i40e_create_lan_hmc_object - allocate backing store for hmc objects
SYNOPSIS int i40e_create_lan_hmc_object (struct i40e_hw *hw , struct i40e_hmc_lan_create_obj_info *info );
ARGUMENTS hw pointer to the HW structure
info pointer to i40e_hmc_create_obj_info struct
DESCRIPTION This will al... |
i40e_create_queue_channel(9) | NAME i40e_create_queue_channel - function to create channel
SYNOPSIS int i40e_create_queue_channel (struct i40e_vsi *vsi , struct i40e_channel *ch );
ARGUMENTS vsi VSI to be configured
ch ptr to channel (it contains channel specific params)
DESCRIPTION This function creates channel (VSI) usi... |
i40e_create_tx_ctx(9) | NAME i40e_create_tx_ctx - Build the Tx context descriptor
SYNOPSIS void i40e_create_tx_ctx (struct i40e_ring *tx_ring , const u64 cd_type_cmd_tso_mss , const u32 cd_tunneling , const u32 cd_l2tag2 );
ARGUMENTS tx_ring ring to create the descriptor on
cd_type_cmd_tso_mss
Quad Word 1
... |
i40e_ctrl_vf_rx_rings(9) | NAME i40e_ctrl_vf_rx_rings -
SYNOPSIS int i40e_ctrl_vf_rx_rings (struct i40e_vsi *vsi , unsigned long q_map , bool enable );
ARGUMENTS vsi the SRIOV VSI being configured
q_map bit map of the queues to be enabled
enable start or stop the queue
SEE ALSO Kernel file ./drivers/net/et... |
i40e_ctrl_vf_tx_rings(9) | NAME i40e_ctrl_vf_tx_rings -
SYNOPSIS int i40e_ctrl_vf_tx_rings (struct i40e_vsi *vsi , unsigned long q_map , bool enable );
ARGUMENTS vsi the SRIOV VSI being configured
q_map bit map of the queues to be enabled
enable start or stop the queue
SEE ALSO Kernel file ./drivers/net/et... |
i40e_dbg_command_write(9) | NAME i40e_dbg_command_write - write into command datum
SYNOPSIS ssize_t i40e_dbg_command_write (struct file *filp , const char __user *buffer , size_t count , loff_t *ppos );
ARGUMENTS filp the opened file
buffer where to find the user's data
count the length of the user's data
... |
i40e_dbg_dump_aq_desc(9) | NAME i40e_dbg_dump_aq_desc - handles dump aq_desc write into command datum
SYNOPSIS void i40e_dbg_dump_aq_desc (struct i40e_pf *pf );
ARGUMENTS pf the i40e_pf created in command write
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_debugfs.c i40e_dbg_find_vsi(9), i40e_dbg_dump_vsi_seid(9), i... |
i40e_dbg_dump_desc(9) | NAME i40e_dbg_dump_desc - handles dump desc write into command datum
SYNOPSIS void i40e_dbg_dump_desc (int cnt , int vsi_seid , int ring_id , int desc_n , struct i40e_pf *pf , enum ring_type type );
ARGUMENTS cnt number of arguments that the user supplied
vsi_seid vsi id entered by user
rin... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.