id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
i40e_vc_del_mac_addr_msg(9) | NAME i40e_vc_del_mac_addr_msg -
SYNOPSIS int i40e_vc_del_mac_addr_msg (struct i40e_vf *vf , u8 *msg );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer
DESCRIPTION remove guest mac address filter
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i4... |
i40e_vc_del_qch_msg(9) | NAME i40e_vc_del_qch_msg -
SYNOPSIS int i40e_vc_del_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_link_speed2mbps(9), i40e... |
i40e_vc_disable_queues_msg(9) | NAME i40e_vc_disable_queues_msg -
SYNOPSIS int i40e_vc_disable_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 disable all or specific queue(s)
SEE ALSO Kernel file ./drivers/net/ethernet/intel... |
i40e_vc_disable_vlan_stripping(9) | NAME i40e_vc_disable_vlan_stripping -
SYNOPSIS int i40e_vc_disable_vlan_stripping (struct i40e_vf *vf , u8 *msg );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer
DESCRIPTION Disable vlan header stripping for the VF
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/... |
i40e_vc_enable_queues_msg(9) | NAME i40e_vc_enable_queues_msg -
SYNOPSIS int i40e_vc_enable_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 enable all or specific queue(s)
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i4... |
i40e_vc_enable_vlan_stripping(9) | NAME i40e_vc_enable_vlan_stripping -
SYNOPSIS int i40e_vc_enable_vlan_stripping (struct i40e_vf *vf , u8 *msg );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer
DESCRIPTION Enable vlan header stripping for the VF
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40... |
i40e_vc_ether_addr_type(9) | NAME i40e_vc_ether_addr_type - get type of virtchnl_ether_addr
SYNOPSIS u8 i40e_vc_ether_addr_type (struct virtchnl_ether_addr *vc_ether_addr );
ARGUMENTS vc_ether_addr used to extract the type
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e_vc_vf_broadcast(9), i40e_vc_link_speed2mbp... |
i40e_vc_get_max_frame_size(9) | NAME i40e_vc_get_max_frame_size -
SYNOPSIS u16 i40e_vc_get_max_frame_size (struct i40e_vf *vf );
ARGUMENTS vf pointer to the VF
DESCRIPTION Max frame size is determined based on the current port's max frame size and whether a port VLAN is configured on this VF. The VF is not aware whether it's in a port ... |
i40e_vc_get_pf_queue_id(9) | NAME i40e_vc_get_pf_queue_id -
SYNOPSIS u16 i40e_vc_get_pf_queue_id (struct i40e_vf *vf , u16 vsi_id , u8 vsi_queue_id );
ARGUMENTS vf pointer to the VF info
vsi_id id of VSI as provided by the FW
vsi_queue_id
vsi relative queue id
DESCRIPTION return PF relative queue... |
i40e_vc_get_rss_hashcfg(9) | NAME i40e_vc_get_rss_hashcfg -
SYNOPSIS int i40e_vc_get_rss_hashcfg (struct i40e_vf *vf , u8 *msg );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer
DESCRIPTION Return the RSS Hash configuration bits allowed by the hardware
SEE ALSO Kernel file ./drivers/net/ethernet/int... |
i40e_vc_get_stats_msg(9) | NAME i40e_vc_get_stats_msg -
SYNOPSIS int i40e_vc_get_stats_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 get vsi stats
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e... |
i40e_vc_get_version_msg(9) | NAME i40e_vc_get_version_msg -
SYNOPSIS int i40e_vc_get_version_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 request the API version used by the PF
SEE ALSO Kernel file ./drivers/net/ethernet/intel... |
i40e_vc_get_vf_resources_msg(9) | NAME i40e_vc_get_vf_resources_msg -
SYNOPSIS int i40e_vc_get_vf_resources_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 request its resources
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i... |
i40e_vc_isvalid_queue_id(9) | NAME i40e_vc_isvalid_queue_id -
SYNOPSIS bool i40e_vc_isvalid_queue_id (struct i40e_vf *vf , u16 vsi_id , u16 qid );
ARGUMENTS vf pointer to the VF info
vsi_id vsi id
qid vsi relative queue id
DESCRIPTION check for the valid queue id
SEE ALSO Kernel file ./drivers/net/etherne... |
i40e_vc_isvalid_vector_id(9) | NAME i40e_vc_isvalid_vector_id -
SYNOPSIS bool i40e_vc_isvalid_vector_id (struct i40e_vf *vf , u32 vector_id );
ARGUMENTS vf pointer to the VF info
vector_id VF relative vector id
DESCRIPTION check for the valid vector id
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c... |
i40e_vc_isvalid_vsi_id(9) | NAME i40e_vc_isvalid_vsi_id -
SYNOPSIS bool i40e_vc_isvalid_vsi_id (struct i40e_vf *vf , u16 vsi_id );
ARGUMENTS vf pointer to the VF info
vsi_id VF relative VSI id
DESCRIPTION check for the valid VSI id
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e_vc_vf_bro... |
i40e_vc_link_speed2mbps(9) | NAME i40e_vc_link_speed2mbps -
SYNOPSIS u32 i40e_vc_link_speed2mbps (enum i40e_aq_link_speed link_speed );
ARGUMENTS link_speed the speed to convert
DESCRIPTION converts i40e_aq_link_speed to integer value of Mbps return the speed as direct value of Mbps.
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i4... |
i40e_vc_notify_link_state(9) | NAME i40e_vc_notify_link_state -
SYNOPSIS void i40e_vc_notify_link_state (struct i40e_pf *pf );
ARGUMENTS pf pointer to the PF structure
DESCRIPTION send a link status message to all VFs on a given PF
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e_vc_vf_broadcast(9), i40... |
i40e_vc_notify_reset(9) | NAME i40e_vc_notify_reset -
SYNOPSIS void i40e_vc_notify_reset (struct i40e_pf *pf );
ARGUMENTS pf pointer to the PF structure
DESCRIPTION indicate a pending reset to all VFs on a given PF
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e_vc_vf_broadcast(9), i40e_vc_link_spee... |
i40e_vc_notify_vf_link_state(9) | NAME i40e_vc_notify_vf_link_state -
SYNOPSIS void i40e_vc_notify_vf_link_state (struct i40e_vf *vf );
ARGUMENTS vf pointer to the VF structure
DESCRIPTION send a link status message to a single VF
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e_vc_vf_broadcast(9), i40e_vc_lin... |
i40e_vc_notify_vf_reset(9) | NAME i40e_vc_notify_vf_reset -
SYNOPSIS void i40e_vc_notify_vf_reset (struct i40e_vf *vf );
ARGUMENTS vf pointer to the VF structure
DESCRIPTION indicate a pending reset to the given VF
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e_vc_vf_broadcast(9), i40e_vc_link_speed2m... |
i40e_vc_process_vf_msg(9) | NAME i40e_vc_process_vf_msg -
SYNOPSIS int i40e_vc_process_vf_msg (struct i40e_pf *pf , s16 vf_id , u32 v_opcode , u32 v_retval , u8 *msg , u16 msglen );
ARGUMENTS pf pointer to the PF structure
vf_id source VF id
v_opcode operation code
v_retval unused return value code
... |
i40e_vc_process_vflr_event(9) | NAME i40e_vc_process_vflr_event -
SYNOPSIS int i40e_vc_process_vflr_event (struct i40e_pf *pf );
ARGUMENTS pf pointer to the PF structure
DESCRIPTION called from the vlfr irq handler to free up VF resources and state variables
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e... |
i40e_vc_rdma_msg(9) | NAME i40e_vc_rdma_msg -
SYNOPSIS int i40e_vc_rdma_msg (struct i40e_vf *vf , u8 *msg , u16 msglen );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer
msglen msg length
DESCRIPTION called from the VF for the iwarp msgs
SEE ALSO Kernel file ./drivers/net/etherne... |
i40e_vc_rdma_qvmap_msg(9) | NAME i40e_vc_rdma_qvmap_msg -
SYNOPSIS int i40e_vc_rdma_qvmap_msg (struct i40e_vf *vf , u8 *msg , bool config );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer
config config qvmap or release it
DESCRIPTION called from the VF for the iwarp msgs
SEE ALSO Kernel... |
i40e_vc_remove_vlan_msg(9) | NAME i40e_vc_remove_vlan_msg -
SYNOPSIS int i40e_vc_remove_vlan_msg (struct i40e_vf *vf , u8 *msg );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer
DESCRIPTION remove programmed guest vlan id
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e... |
i40e_vc_request_queues_msg(9) | NAME i40e_vc_request_queues_msg -
SYNOPSIS int i40e_vc_request_queues_msg (struct i40e_vf *vf , u8 *msg );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer
DESCRIPTION VFs get a default number of queues but can use this message to request a different number. If the request ... |
i40e_vc_reset_vf(9) | NAME i40e_vc_reset_vf -
SYNOPSIS void i40e_vc_reset_vf (struct i40e_vf *vf , bool notify_vf );
ARGUMENTS vf pointer to the VF info
notify_vf notify vf about reset or not Reset VF handler.
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c i40e_vc_vf_broadcast(9), i40e_vc_l... |
i40e_vc_send_msg_to_vf(9) | NAME i40e_vc_send_msg_to_vf -
SYNOPSIS int i40e_vc_send_msg_to_vf (struct i40e_vf *vf , u32 v_opcode , u32 v_retval , u8 *msg , u16 msglen );
ARGUMENTS vf pointer to the VF info
v_opcode virtual channel opcode
v_retval virtual channel return value
msg pointer to the msg ... |
i40e_vc_send_resp_to_vf(9) | NAME i40e_vc_send_resp_to_vf -
SYNOPSIS int i40e_vc_send_resp_to_vf (struct i40e_vf *vf , enum virtchnl_ops opcode , int retval );
ARGUMENTS vf pointer to the VF info
opcode operation code
retval return value
DESCRIPTION send resp msg to VF
SEE ALSO Kernel file ./drivers/net/eth... |
i40e_vc_set_rss_hashcfg(9) | NAME i40e_vc_set_rss_hashcfg -
SYNOPSIS int i40e_vc_set_rss_hashcfg (struct i40e_vf *vf , u8 *msg );
ARGUMENTS vf pointer to the VF info
msg pointer to the msg buffer
DESCRIPTION Set the RSS Hash configuration bits for the VF
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_vir... |
i40e_vc_validate_vqs_bitmaps(9) | NAME i40e_vc_validate_vqs_bitmaps - validate Rx/Tx queue bitmaps from VIRTHCHNL
SYNOPSIS bool i40e_vc_validate_vqs_bitmaps (struct virtchnl_queue_select *vqs );
ARGUMENTS vqs virtchnl_queue_select structure containing bitmaps to validate
DESCRIPTION Returns true if validation was successful, else false.
SEE... |
i40e_vc_vf_broadcast(9) | NAME i40e_vc_vf_broadcast -
SYNOPSIS void i40e_vc_vf_broadcast (struct i40e_pf *pf , enum virtchnl_ops v_opcode , int v_retval , u8 *msg , u16 msglen );
ARGUMENTS pf pointer to the PF structure
v_opcode operation code
v_retval return value
msg pointer to the msg buffer
... |
i40e_veb_clear(9) | NAME i40e_veb_clear - remove veb struct
SYNOPSIS void i40e_veb_clear (struct i40e_veb *veb );
ARGUMENTS veb the veb to remove
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_free_vir... |
i40e_veb_config_tc(9) | NAME i40e_veb_config_tc - Configure TCs for given VEB
SYNOPSIS int i40e_veb_config_tc (struct i40e_veb *veb , u8 enabled_tc );
ARGUMENTS veb given VEB
enabled_tc TC bitmap
DESCRIPTION Configures given TC bitmap for VEB (switching) element
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i... |
i40e_veb_get_bw_info(9) | NAME i40e_veb_get_bw_info - Query VEB BW information
SYNOPSIS int i40e_veb_get_bw_info (struct i40e_veb *veb );
ARGUMENTS veb the veb to query
DESCRIPTION Query the Tx scheduler BW configuration data for given VEB
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i4... |
i40e_veb_link_event(9) | NAME i40e_veb_link_event - notify elements on the veb of a link event
SYNOPSIS void i40e_veb_link_event (struct i40e_veb *veb , bool link_up );
ARGUMENTS veb veb to be notified
link_up link up or down
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e... |
i40e_veb_mem_alloc(9) | NAME i40e_veb_mem_alloc - Allocates the next available struct veb in the PF
SYNOPSIS int i40e_veb_mem_alloc (struct i40e_pf *pf );
ARGUMENTS pf board private structure
DESCRIPTION On error: returns error code (negative) On success: returns vsi index in PF (positive)
SEE ALSO Kernel file ./drivers/net/e... |
i40e_veb_release(9) | NAME i40e_veb_release - Delete a VEB and free its resources
SYNOPSIS void i40e_veb_release (struct i40e_veb *veb );
ARGUMENTS veb the VEB being removed
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_v... |
i40e_veb_setup(9) | NAME i40e_veb_setup - Set up a VEB
SYNOPSIS struct i40e_veb * i40e_veb_setup (struct i40e_pf *pf , u16 uplink_seid , u16 vsi_seid , u8 enabled_tc );
ARGUMENTS pf board private structure
uplink_seid the switch element to link to
vsi_seid the initial VSI seid
enabled_tc Enabled TC b... |
i40e_verify_eeprom(9) | NAME i40e_verify_eeprom - make sure eeprom is good to use
SYNOPSIS void i40e_verify_eeprom (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_allocate_v... |
i40e_vf_client_capable(9) | NAME i40e_vf_client_capable - ask the client if it likes the specified VF
SYNOPSIS int i40e_vf_client_capable (struct i40e_pf *pf , u32 vf_id );
ARGUMENTS pf PF device pointer
vf_id the VF in question
DESCRIPTION If there is a client of the specified type attached to this PF, call its vf_capab... |
i40e_virtchnl_link_speed(9) | NAME i40e_virtchnl_link_speed - Convert AdminQ link_speed to virtchnl definition
SYNOPSIS enum virtchnl_link_speed i40e_virtchnl_link_speed (enum i40e_aq_link_speed link_speed );
ARGUMENTS link_speed the speed to convert
DESCRIPTION Returns the link_speed in terms of the virtchnl interface, for use in converting... |
i40e_vlan_rx_add_vid(9) | NAME i40e_vlan_rx_add_vid - Add a vlan id filter to HW offload
SYNOPSIS int i40e_vlan_rx_add_vid (struct net_device *netdev , __be16 proto , u16 vid );
ARGUMENTS netdev network interface to be adjusted
proto unused protocol value
vid vlan id to be added
DESCRIPTION net_device_ops i... |
i40e_vlan_rx_add_vid_up(9) | NAME i40e_vlan_rx_add_vid_up - Add a vlan id filter to HW offload in UP path
SYNOPSIS void i40e_vlan_rx_add_vid_up (struct net_device *netdev , __be16 proto , u16 vid );
ARGUMENTS netdev network interface to be adjusted
proto unused protocol value
vid vlan id to be added
SEE ALSO K... |
i40e_vlan_rx_kill_vid(9) | NAME i40e_vlan_rx_kill_vid - Remove a vlan id filter from HW offload
SYNOPSIS int i40e_vlan_rx_kill_vid (struct net_device *netdev , __be16 proto , u16 vid );
ARGUMENTS netdev network interface to be adjusted
proto unused protocol value
vid vlan id to be removed
DESCRIPTION net_dev... |
i40e_vlan_stripping_disable(9) | NAME i40e_vlan_stripping_disable - Turn off vlan stripping for the VSI
SYNOPSIS void i40e_vlan_stripping_disable (struct i40e_vsi *vsi );
ARGUMENTS vsi the vsi being adjusted
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_m... |
i40e_vlan_stripping_enable(9) | NAME i40e_vlan_stripping_enable - Turn on vlan stripping for the VSI
SYNOPSIS void i40e_vlan_stripping_enable (struct i40e_vsi *vsi );
ARGUMENTS vsi the vsi being adjusted
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_vsi_add_pvid(9) | NAME i40e_vsi_add_pvid - Add pvid for the VSI
SYNOPSIS int i40e_vsi_add_pvid (struct i40e_vsi *vsi , u16 vid );
ARGUMENTS vsi the vsi being adjusted
vid the vlan id to set as a PVID
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_m... |
i40e_vsi_add_vlan(9) | NAME i40e_vsi_add_vlan - Add VSI membership for given VLAN
SYNOPSIS int i40e_vsi_add_vlan (struct i40e_vsi *vsi , u16 vid );
ARGUMENTS vsi the VSI being configured
vid VLAN id to be added
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate... |
i40e_vsi_alloc_arrays(9) | NAME i40e_vsi_alloc_arrays - Allocate queue and vector pointer arrays for the vsi
SYNOPSIS int i40e_vsi_alloc_arrays (struct i40e_vsi *vsi , bool alloc_qvectors );
ARGUMENTS vsi VSI pointer
alloc_qvectors
a bool to specify if q_vectors need to be allocated.
DESCRIPTION On error: re... |
i40e_vsi_alloc_q_vector(9) | NAME i40e_vsi_alloc_q_vector - Allocate memory for a single interrupt vector
SYNOPSIS int i40e_vsi_alloc_q_vector (struct i40e_vsi *vsi , int v_idx );
ARGUMENTS vsi the VSI being configured
v_idx index of the vector in the vsi struct
DESCRIPTION We allocate one q_vector. If allocation fails we... |
i40e_vsi_alloc_q_vectors(9) | NAME i40e_vsi_alloc_q_vectors - Allocate memory for interrupt vectors
SYNOPSIS int i40e_vsi_alloc_q_vectors (struct i40e_vsi *vsi );
ARGUMENTS vsi the VSI being configured
DESCRIPTION We allocate one q_vector per queue interrupt. If allocation fails we return -ENOMEM.
SEE ALSO Kernel file ./drivers/net... |
i40e_vsi_clear(9) | NAME i40e_vsi_clear - Deallocate the VSI provided
SYNOPSIS int i40e_vsi_clear (struct i40e_vsi *vsi );
ARGUMENTS vsi the VSI being un-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_mem... |
i40e_vsi_clear_rings(9) | NAME i40e_vsi_clear_rings - Deallocates the Rx and Tx rings for the provided VSI
SYNOPSIS void i40e_vsi_clear_rings (struct i40e_vsi *vsi );
ARGUMENTS vsi the VSI being cleaned
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_vsi_close(9) | NAME i40e_vsi_close - Shut down a VSI
SYNOPSIS void i40e_vsi_close (struct i40e_vsi *vsi );
ARGUMENTS vsi the vsi to be quelled
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_free_v... |
i40e_vsi_config_dcb_rings(9) | NAME i40e_vsi_config_dcb_rings - Update rings to reflect DCB TC
SYNOPSIS void i40e_vsi_config_dcb_rings (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_allo... |
i40e_vsi_config_netdev_tc(9) | NAME i40e_vsi_config_netdev_tc - Setup the netdev TC configuration
SYNOPSIS void i40e_vsi_config_netdev_tc (struct i40e_vsi *vsi , u8 enabled_tc );
ARGUMENTS vsi the VSI being configured
enabled_tc TC map to be enabled
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_t... |
i40e_vsi_config_rss(9) | NAME i40e_vsi_config_rss - Prepare for VSI(VMDq) RSS if used
SYNOPSIS int i40e_vsi_config_rss (struct i40e_vsi *vsi );
ARGUMENTS vsi VSI 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_m... |
i40e_vsi_config_tc(9) | NAME i40e_vsi_config_tc - Configure VSI Tx Scheduler for given TC map
SYNOPSIS int i40e_vsi_config_tc (struct i40e_vsi *vsi , u8 enabled_tc );
ARGUMENTS vsi VSI to be configured
enabled_tc TC bitmap
DESCRIPTION This configures a particular VSI for TCs that are mapped to the given TC bitmap. It uses ... |
i40e_vsi_configure(9) | NAME i40e_vsi_configure - Set up the VSI for action
SYNOPSIS int i40e_vsi_configure (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_... |
i40e_vsi_configure_bw_alloc(9) | NAME i40e_vsi_configure_bw_alloc - Configure VSI BW allocation per TC
SYNOPSIS int i40e_vsi_configure_bw_alloc (struct i40e_vsi *vsi , u8 enabled_tc , u8 *bw_share );
ARGUMENTS vsi the VSI being configured
enabled_tc TC bitmap
bw_share BW shared credits per TC
DESCRIPTION Returns 0 on suc... |
i40e_vsi_configure_msix(9) | NAME i40e_vsi_configure_msix - MSIX mode Interrupt Config in the HW
SYNOPSIS void i40e_vsi_configure_msix (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_vsi_configure_rx(9) | NAME i40e_vsi_configure_rx - Configure the VSI for Rx
SYNOPSIS int i40e_vsi_configure_rx (struct i40e_vsi *vsi );
ARGUMENTS vsi the VSI being configured
DESCRIPTION Configure the Rx VSI for operation.
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_d... |
i40e_vsi_configure_tx(9) | NAME i40e_vsi_configure_tx - Configure the VSI for Tx
SYNOPSIS int i40e_vsi_configure_tx (struct i40e_vsi *vsi );
ARGUMENTS vsi VSI structure describing this set of rings and resources
DESCRIPTION Configure the Tx VSI for operation.
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40... |
i40e_vsi_delete(9) | NAME i40e_vsi_delete - Delete a VSI from the switch
SYNOPSIS void i40e_vsi_delete (struct i40e_vsi *vsi );
ARGUMENTS vsi the VSI being removed
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_allocate... |
i40e_vsi_disable_irq(9) | NAME i40e_vsi_disable_irq - Mask off queue interrupt generation on the VSI
SYNOPSIS void i40e_vsi_disable_irq (struct i40e_vsi *vsi );
ARGUMENTS vsi the VSI being un-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_vsi_enable_irq(9) | NAME i40e_vsi_enable_irq - Enable IRQ for the given VSI
SYNOPSIS int i40e_vsi_enable_irq (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_vsi_enable_rx(9) | NAME i40e_vsi_enable_rx - Start a VSI's rings
SYNOPSIS int i40e_vsi_enable_rx (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_mem(9)... |
i40e_vsi_enable_tx(9) | NAME i40e_vsi_enable_tx - Start a VSI's rings
SYNOPSIS int i40e_vsi_enable_tx (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_mem(9)... |
i40e_vsi_free_arrays(9) | NAME i40e_vsi_free_arrays - Free queue and vector pointer arrays for the VSI
SYNOPSIS void i40e_vsi_free_arrays (struct i40e_vsi *vsi , bool free_qvectors );
ARGUMENTS vsi VSI pointer
free_qvectors
a bool to specify if q_vectors need to be freed.
DESCRIPTION On error: returns error... |
i40e_vsi_free_irq(9) | NAME i40e_vsi_free_irq - Free the irq association with the OS
SYNOPSIS void i40e_vsi_free_irq (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_allo... |
i40e_vsi_free_q_vectors(9) | NAME i40e_vsi_free_q_vectors - Free memory allocated for interrupt vectors
SYNOPSIS void i40e_vsi_free_q_vectors (struct i40e_vsi *vsi );
ARGUMENTS vsi the VSI being un-configured
DESCRIPTION This frees the memory allocated to the q_vectors and deletes references to the NAPI struct.
SEE ALSO Kernel file ... |
i40e_vsi_free_rx_resources(9) | NAME i40e_vsi_free_rx_resources - Free Rx Resources for VSI queues
SYNOPSIS void i40e_vsi_free_rx_resources (struct i40e_vsi *vsi );
ARGUMENTS vsi ptr to the VSI
DESCRIPTION Free all receive software resources
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_a... |
i40e_vsi_free_tx_resources(9) | NAME i40e_vsi_free_tx_resources - Free Tx resources for VSI queues
SYNOPSIS void i40e_vsi_free_tx_resources (struct i40e_vsi *vsi );
ARGUMENTS vsi ptr to the VSI
DESCRIPTION Free VSI's transmit software resources
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40... |
i40e_vsi_get_bw_info(9) | NAME i40e_vsi_get_bw_info - Query VSI BW Information
SYNOPSIS int i40e_vsi_get_bw_info (struct i40e_vsi *vsi );
ARGUMENTS vsi the VSI being queried
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_all... |
i40e_vsi_kill_vlan(9) | NAME i40e_vsi_kill_vlan - Remove VSI membership for given VLAN
SYNOPSIS void i40e_vsi_kill_vlan (struct i40e_vsi *vsi , u16 vid );
ARGUMENTS vsi the VSI being configured
vid VLAN id to be removed
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_... |
i40e_vsi_link_event(9) | NAME i40e_vsi_link_event - notify VSI of a link event
SYNOPSIS void i40e_vsi_link_event (struct i40e_vsi *vsi , bool link_up );
ARGUMENTS vsi vsi to be notified
link_up link up or down
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_me... |
i40e_vsi_map_rings_to_vectors(9) | NAME i40e_vsi_map_rings_to_vectors - Maps descriptor rings to vectors
SYNOPSIS void i40e_vsi_map_rings_to_vectors (struct i40e_vsi *vsi );
ARGUMENTS vsi the VSI being configured
DESCRIPTION This function maps descriptor rings to the queue-specific vectors we were allotted through the MSI-X enabling code.... |
i40e_vsi_mem_alloc(9) | NAME i40e_vsi_mem_alloc - Allocates the next available struct vsi in the PF
SYNOPSIS int i40e_vsi_mem_alloc (struct i40e_pf *pf , enum i40e_vsi_type type );
ARGUMENTS pf board private structure
type type of VSI
DESCRIPTION On error: returns error code (negative) On success: returns vsi index ... |
i40e_vsi_open(9) | NAME i40e_vsi_open -
SYNOPSIS int i40e_vsi_open (struct i40e_vsi *vsi );
ARGUMENTS vsi the VSI to open
DESCRIPTION Finish initialization of the VSI. Returns 0 on success, negative value on failure
NOTE expects to be called while under rtnl_lock
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i4... |
i40e_vsi_reconfig_rss(9) | NAME i40e_vsi_reconfig_rss - reconfig RSS based on specified rss_size
SYNOPSIS int i40e_vsi_reconfig_rss (struct i40e_vsi *vsi , u16 rss_size );
ARGUMENTS vsi the VSI being setup
rss_size size of RSS, accordingly LUT gets reprogrammed
DESCRIPTION This function reconfigures RSS by reprogramming LUT... |
i40e_vsi_reconfig_tc(9) | NAME i40e_vsi_reconfig_tc - Reconfigure VSI Tx Scheduler for stored TC map
SYNOPSIS int i40e_vsi_reconfig_tc (struct i40e_vsi *vsi );
ARGUMENTS vsi VSI to be reconfigured
DESCRIPTION This reconfigures a particular VSI for TCs that are mapped to the TC bitmap stored previously for the VSI.
CONTEXT It is expe... |
i40e_vsi_reinit_locked(9) | NAME i40e_vsi_reinit_locked - Reset the VSI
SYNOPSIS void i40e_vsi_reinit_locked (struct i40e_vsi *vsi );
ARGUMENTS vsi the VSI being configured
DESCRIPTION Rebuild the ring structs after some configuration has changed, e.g. MTU size.
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i... |
i40e_vsi_reinit_setup(9) | NAME i40e_vsi_reinit_setup - return and reallocate resources for a VSI
SYNOPSIS struct i40e_vsi * i40e_vsi_reinit_setup (struct i40e_vsi *vsi );
ARGUMENTS vsi pointer to the vsi.
DESCRIPTION This re-allocates a vsi's queue resources. Returns pointer to the successfully allocated and configured VSI sw struct... |
i40e_vsi_release(9) | NAME i40e_vsi_release - Delete a VSI and free its resources
SYNOPSIS int i40e_vsi_release (struct i40e_vsi *vsi );
ARGUMENTS vsi the VSI being removed
DESCRIPTION Returns 0 on success or < 0 on error
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dm... |
i40e_vsi_remove_pvid(9) | NAME i40e_vsi_remove_pvid - Remove the pvid from the VSI
SYNOPSIS void i40e_vsi_remove_pvid (struct i40e_vsi *vsi );
ARGUMENTS vsi the vsi being adjusted
DESCRIPTION Just use the vlan_rx_register service to put it back to normal
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw... |
i40e_vsi_request_irq(9) | NAME i40e_vsi_request_irq - Request IRQ from the OS
SYNOPSIS int i40e_vsi_request_irq (struct i40e_vsi *vsi , char *basename );
ARGUMENTS vsi the VSI being configured
basename name for the vector
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_alloc... |
i40e_vsi_request_irq_msix(9) | NAME i40e_vsi_request_irq_msix - Initialize MSI-X interrupts
SYNOPSIS int i40e_vsi_request_irq_msix (struct i40e_vsi *vsi , char *basename );
ARGUMENTS vsi the VSI being configured
basename name for the vector
DESCRIPTION Allocates MSI-X vectors and requests interrupts from the kernel.
SEE ALSO K... |
i40e_vsi_reset_stats(9) | NAME i40e_vsi_reset_stats - Resets all stats of the given vsi
SYNOPSIS void i40e_vsi_reset_stats (struct i40e_vsi *vsi );
ARGUMENTS vsi the VSI to have its stats reset
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_vsi_set_default_tc_config(9) | NAME i40e_vsi_set_default_tc_config - set default values for tc configuration
SYNOPSIS void i40e_vsi_set_default_tc_config (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), i40... |
i40e_vsi_setup(9) | NAME i40e_vsi_setup - Set up a VSI by a given type
SYNOPSIS struct i40e_vsi * i40e_vsi_setup (struct i40e_pf *pf , u8 type , u16 uplink_seid , u32 param1 );
ARGUMENTS pf board private structure
type VSI type
uplink_seid the switch element to link to
param1 usage depends up... |
i40e_vsi_setup_queue_map(9) | NAME i40e_vsi_setup_queue_map - Setup a VSI queue map based on enabled_tc
SYNOPSIS void i40e_vsi_setup_queue_map (struct i40e_vsi *vsi , struct i40e_vsi_context *ctxt , u8 enabled_tc , bool is_add );
ARGUMENTS vsi the VSI being setup
ctxt VSI context structure
enabled_tc Enabled TCs bi... |
i40e_vsi_setup_queue_map_mqprio(9) | NAME i40e_vsi_setup_queue_map_mqprio - Prepares mqprio based tc_config
SYNOPSIS int i40e_vsi_setup_queue_map_mqprio (struct i40e_vsi *vsi , struct i40e_vsi_context *ctxt , u8 enabled_tc );
ARGUMENTS vsi the VSI being configured,
ctxt VSI context structure
enabled_tc number of traffic c... |
i40e_vsi_setup_rx_resources(9) | NAME i40e_vsi_setup_rx_resources - Allocate VSI queues Rx resources
SYNOPSIS int i40e_vsi_setup_rx_resources (struct i40e_vsi *vsi );
ARGUMENTS vsi ptr to the VSI
DESCRIPTION If this function returns with an error, then it's possible one or more of the rings is populated (while the rest are not). It is the ... |
i40e_vsi_setup_tx_resources(9) | NAME i40e_vsi_setup_tx_resources - Allocate VSI Tx queue resources
SYNOPSIS int i40e_vsi_setup_tx_resources (struct i40e_vsi *vsi );
ARGUMENTS vsi ptr to the VSI
DESCRIPTION If this function returns with an error, then it's possible one or more of the rings is populated (while the rest are not). It is the c... |
i40e_vsi_setup_vectors(9) | NAME i40e_vsi_setup_vectors - Set up the q_vectors for the given VSI
SYNOPSIS int i40e_vsi_setup_vectors (struct i40e_vsi *vsi );
ARGUMENTS vsi ptr to the VSI
DESCRIPTION This should only be called after i40e_vsi_mem_alloc which allocates the corresponding SW VSI structure and initializes num_queue_pairs for... |
i40e_vsi_start_rings(9) | NAME i40e_vsi_start_rings - Start a VSI's rings
SYNOPSIS int i40e_vsi_start_rings (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_vsi_stop_rings(9) | NAME i40e_vsi_stop_rings - Stop a VSI's rings
SYNOPSIS void i40e_vsi_stop_rings (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_mem(... |
i40e_vsi_stop_rings_no_wait(9) | NAME i40e_vsi_stop_rings_no_wait - Stop a VSI's rings and do not delay
SYNOPSIS void i40e_vsi_stop_rings_no_wait (struct i40e_vsi *vsi );
ARGUMENTS vsi the VSI being shutdown
DESCRIPTION This function stops all the rings for a VSI but does not delay to verify that rings have been disabled. It is expected th... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.