id
stringlengths
4
63
text
stringlengths
153
8.81M
ice_vsi_ctrl_all_rx_rings(9)
NAME ice_vsi_ctrl_all_rx_rings - Start or stop a VSI's Rx rings SYNOPSIS int ice_vsi_ctrl_all_rx_rings (struct ice_vsi *vsi , bool ena ); ARGUMENTS vsi the VSI being configured ena start or stop the Rx rings DESCRIPTION First enable/disable all of the Rx rings, flush any remaining writes, and...
ice_vsi_ctrl_one_rx_ring(9)
NAME ice_vsi_ctrl_one_rx_ring - start/stop VSI's Rx ring with no busy wait SYNOPSIS int ice_vsi_ctrl_one_rx_ring (struct ice_vsi *vsi , bool ena , u16 rxq_idx , bool wait ); ARGUMENTS vsi the VSI being configured ena start or stop the Rx ring rxq_idx 0-based Rx queue index for the ...
ice_vsi_ctx_clear_antispoof(9)
NAME ice_vsi_ctx_clear_antispoof - clear antispoof function in VSI ctx SYNOPSIS void ice_vsi_ctx_clear_antispoof (struct ice_vsi_ctx *ctx ); ARGUMENTS ctx pointer to VSI ctx structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_type_str(9), ice_vsi_ctrl_all_rx_rings(9)...
ice_vsi_ctx_set_antispoof(9)
NAME ice_vsi_ctx_set_antispoof - set antispoof function in VSI ctx SYNOPSIS void ice_vsi_ctx_set_antispoof (struct ice_vsi_ctx *ctx ); ARGUMENTS ctx pointer to VSI ctx structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_type_str(9), ice_vsi_ctrl_all_rx_rings(9), i...
ice_vsi_decfg(9)
NAME ice_vsi_decfg - remove all VSI configuration SYNOPSIS void ice_vsi_decfg (struct ice_vsi *vsi ); ARGUMENTS vsi pointer to VSI SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_type_str(9), ice_vsi_ctrl_all_rx_rings(9), ice_vsi_alloc_arrays(9), ice_vsi_set_num_desc(9), ice_vs...
ice_vsi_del_vlan(9)
NAME ice_vsi_del_vlan - default del VLAN implementation for all VSI types SYNOPSIS int ice_vsi_del_vlan (struct ice_vsi *vsi , struct ice_vlan *vlan ); ARGUMENTS vsi VSI being configured vlan VLAN filter to delete SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_vsi_vlan_lib.c ...
ice_vsi_del_vlan_zero(9)
NAME ice_vsi_del_vlan_zero - delete VLAN 0 filter(s) for this VSI SYNOPSIS int ice_vsi_del_vlan_zero (struct ice_vsi *vsi ); ARGUMENTS vsi VSI used to add VLAN filters DESCRIPTION Delete the VLAN 0 filters in the same manner that they were added in ice_vsi_add_vlan_zero. SEE ALSO Kernel file ./drivers...
ice_vsi_delete_from_hw(9)
NAME ice_vsi_delete_from_hw - delete a VSI from the switch SYNOPSIS void ice_vsi_delete_from_hw (struct ice_vsi *vsi ); ARGUMENTS vsi pointer to VSI being removed SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_type_str(9), ice_vsi_ctrl_all_rx_rings(9), ice_vsi_alloc_arrays(9), ic...
ice_vsi_determine_xdp_res(9)
NAME ice_vsi_determine_xdp_res - figure out how many Tx qs can XDP have SYNOPSIS int ice_vsi_determine_xdp_res (struct ice_vsi *vsi ); ARGUMENTS vsi VSI to determine the count of XDP Tx qs DESCRIPTION returns 0 if Tx qs count is higher than at least half of CPU count, -ENOMEM otherwise SEE ALSO Kernel fil...
ice_vsi_dis_irq(9)
NAME ice_vsi_dis_irq - Mask off queue interrupt generation on the VSI SYNOPSIS void ice_vsi_dis_irq (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI being un-configured SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_dev(9), ice_get_tx_pending(9), ice_check_for_hang_subtask(9), ice_...
ice_vsi_dis_outer_insertion(9)
NAME ice_vsi_dis_outer_insertion - disable outer VLAN insertion SYNOPSIS int ice_vsi_dis_outer_insertion (struct ice_vsi *vsi ); ARGUMENTS vsi VSI to configure DESCRIPTION Disable outer VLAN insertion via VSI context. This function should only be used if DVM is supported. Also, this function should never be...
ice_vsi_dis_outer_stripping(9)
NAME ice_vsi_dis_outer_stripping - disable outer VLAN stripping SYNOPSIS int ice_vsi_dis_outer_stripping (struct ice_vsi *vsi ); ARGUMENTS vsi VSI to configure DESCRIPTION Disable outer VLAN stripping via VSI context. This function should only be used if DVM is supported. Also, this function should never be...
ice_vsi_dis_spoofchk(9)
NAME ice_vsi_dis_spoofchk - disable Tx spoof checking for this VSI SYNOPSIS int ice_vsi_dis_spoofchk (struct ice_vsi *vsi ); ARGUMENTS vsi VSI to disable Tx spoof checking for SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_vf_lib.c ice_get_vf_by_id(9), ice_release_vf(9), ice_put_vf(9), ice_h...
ice_vsi_ena_irq(9)
NAME ice_vsi_ena_irq - Enable IRQ for the given VSI SYNOPSIS int ice_vsi_ena_irq (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI being configured SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_dev(9), ice_get_tx_pending(9), ice_check_for_hang_subtask(9), ice_init_mac_fltr(...
ice_vsi_ena_outer_insertion(9)
NAME ice_vsi_ena_outer_insertion - enable outer VLAN insertion SYNOPSIS int ice_vsi_ena_outer_insertion (struct ice_vsi *vsi , u16 tpid ); ARGUMENTS vsi VSI to configure tpid TPID to enable outer VLAN insertion for DESCRIPTION Enable outer VLAN insertion via VSI context. This function should...
ice_vsi_ena_outer_stripping(9)
NAME ice_vsi_ena_outer_stripping - enable outer VLAN stripping SYNOPSIS int ice_vsi_ena_outer_stripping (struct ice_vsi *vsi , u16 tpid ); ARGUMENTS vsi VSI to configure tpid TPID to enable outer VLAN stripping for DESCRIPTION Enable outer VLAN stripping via VSI context. This function should...
ice_vsi_ena_spoofchk(9)
NAME ice_vsi_ena_spoofchk - enable Tx spoof checking for this VSI SYNOPSIS int ice_vsi_ena_spoofchk (struct ice_vsi *vsi ); ARGUMENTS vsi VSI to enable Tx spoof checking for SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_vf_lib.c ice_get_vf_by_id(9), ice_release_vf(9), ice_put_vf(9), ice_has...
ice_vsi_fltr_changed(9)
NAME ice_vsi_fltr_changed - check if filter state changed SYNOPSIS bool ice_vsi_fltr_changed (struct ice_vsi *vsi ); ARGUMENTS vsi VSI to be checked DESCRIPTION returns true if filter state has changed, false otherwise. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_dev(9),...
ice_vsi_free(9)
NAME ice_vsi_free - clean up and deallocate the provided VSI SYNOPSIS void ice_vsi_free (struct ice_vsi *vsi ); ARGUMENTS vsi pointer to VSI being cleared DESCRIPTION This deallocates the VSI's queue resources, removes it from the PF's VSI array if necessary, and deallocates the VSI SEE ALSO Kernel file ...
ice_vsi_free_arrays(9)
NAME ice_vsi_free_arrays - De-allocate queue and vector pointer arrays for the VSI SYNOPSIS void ice_vsi_free_arrays (struct ice_vsi *vsi ); ARGUMENTS vsi pointer to VSI being cleared SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_type_str(9), ice_vsi_ctrl_all_rx_rings(9)...
ice_vsi_free_irq(9)
NAME ice_vsi_free_irq - Free the IRQ association with the OS SYNOPSIS void ice_vsi_free_irq (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI being configured SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_type_str(9), ice_vsi_ctrl_all_rx_rings(9), ice_vsi_alloc_arrays(9),...
ice_vsi_free_q_vectors(9)
NAME ice_vsi_free_q_vectors - Free memory allocated for interrupt vectors SYNOPSIS void ice_vsi_free_q_vectors (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI having memory freed SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_base.c __ice_vsi_get_qs_contig(9), __ice_vsi_get_qs_sc(9), ice_pf_rxq_wait...
ice_vsi_free_rx_rings(9)
NAME ice_vsi_free_rx_rings - Free Rx resources for VSI queues SYNOPSIS void ice_vsi_free_rx_rings (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI having resources freed SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_type_str(9), ice_vsi_ctrl_all_rx_rings(9), ice_vsi_allo...
ice_vsi_free_stats(9)
NAME ice_vsi_free_stats - Free the ring statistics structures SYNOPSIS void ice_vsi_free_stats (struct ice_vsi *vsi ); ARGUMENTS vsi VSI pointer SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_type_str(9), ice_vsi_ctrl_all_rx_rings(9), ice_vsi_alloc_arrays(9), ice_vsi...
ice_vsi_free_tx_rings(9)
NAME ice_vsi_free_tx_rings - Free Tx resources for VSI queues SYNOPSIS void ice_vsi_free_tx_rings (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI having resources freed SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_type_str(9), ice_vsi_ctrl_all_rx_rings(9), ice_vsi_allo...
ice_vsi_get_qs(9)
NAME ice_vsi_get_qs - Assign queues from PF to VSI SYNOPSIS int ice_vsi_get_qs (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI to assign queues to DESCRIPTION Returns 0 on success and a negative value on error SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_type_str(9), ice...
ice_vsi_has_non_zero_vlans(9)
NAME ice_vsi_has_non_zero_vlans - check if VSI has any non-zero VLANs SYNOPSIS bool ice_vsi_has_non_zero_vlans (struct ice_vsi *vsi ); ARGUMENTS vsi VSI used to determine if any non-zero VLANs have been added SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_type_str(9), ice...
ice_vsi_init(9)
NAME ice_vsi_init - Create and initialize a VSI SYNOPSIS int ice_vsi_init (struct ice_vsi *vsi , u32 vsi_flags ); ARGUMENTS vsi the VSI being configured vsi_flags VSI configuration flags DESCRIPTION Set ICE_FLAG_VSI_INIT to initialize a new VSI context, clear it to reconfigure an existing conte...
ice_vsi_init_unsupported_vlan_ops(9)
NAME ice_vsi_init_unsupported_vlan_ops - init all VSI VLAN ops to unsupported SYNOPSIS void ice_vsi_init_unsupported_vlan_ops (struct ice_vsi *vsi ); ARGUMENTS vsi VSI to initialize VSI VLAN ops to unsupported for DESCRIPTION By default all inner and outer VSI VLAN ops return -EOPNOTSUPP. This was done as ...
ice_vsi_init_vlan_ops(9)
NAME ice_vsi_init_vlan_ops - initialize type specific VSI VLAN ops SYNOPSIS void ice_vsi_init_vlan_ops (struct ice_vsi *vsi ); ARGUMENTS vsi VSI to initialize ops for DESCRIPTION If any VSI types are added and/or require different ops than the PF or VF VSI then they will have to add a case here to handle ...
ice_vsi_is_rx_queue_active(9)
NAME ice_vsi_is_rx_queue_active - SYNOPSIS bool ice_vsi_is_rx_queue_active (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI being configured DESCRIPTION Return true if at least one queue is active. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_type_str(9), ice_vsi_ctrl_all...
ice_vsi_is_rxq_crc_strip_dis(9)
NAME ice_vsi_is_rxq_crc_strip_dis - check if Rx queue CRC strip is disabled or not SYNOPSIS bool ice_vsi_is_rxq_crc_strip_dis (struct ice_vsi *vsi ); ARGUMENTS vsi pointer to the VF VSI info SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/virtchnl.c ice_vc_vf_broadcast(9), ice_set_pfe_...
ice_vsi_is_vlan_pruning_ena(9)
NAME ice_vsi_is_vlan_pruning_ena - check if VLAN pruning is enabled or not SYNOPSIS bool ice_vsi_is_vlan_pruning_ena (struct ice_vsi *vsi ); ARGUMENTS vsi VSI to check whether or not VLAN pruning is enabled. DESCRIPTION returns true if Rx VLAN pruning is enabled and false otherwise. SEE ALSO Kernel file ...
ice_vsi_link_event(9)
NAME ice_vsi_link_event - update the VSI's netdev SYNOPSIS void ice_vsi_link_event (struct ice_vsi *vsi , bool link_up ); ARGUMENTS vsi the VSI on which the link event occurred link_up whether or not the VSI needs to be set up or down SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_...
ice_vsi_manage_fdir(9)
NAME ice_vsi_manage_fdir - turn on/off flow director SYNOPSIS void ice_vsi_manage_fdir (struct ice_vsi *vsi , bool ena ); ARGUMENTS vsi the VSI being changed ena boolean value indicating if this is an enable or disable request SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ethtoo...
ice_vsi_manage_rss_lut(9)
NAME ice_vsi_manage_rss_lut - disable/enable RSS SYNOPSIS void ice_vsi_manage_rss_lut (struct ice_vsi *vsi , bool ena ); ARGUMENTS vsi the VSI being changed ena boolean value indicating if this is an enable or disable request DESCRIPTION In the event of disable request for RSS, this function ...
ice_vsi_manage_vlan_insertion(9)
NAME ice_vsi_manage_vlan_insertion - Manage VLAN insertion for the VSI for Tx SYNOPSIS int ice_vsi_manage_vlan_insertion (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI being changed SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_vsi_vlan_lib.c validate_vlan(9), ice_vsi_add_vlan(9), ice_vsi_del...
ice_vsi_manage_vlan_stripping(9)
NAME ice_vsi_manage_vlan_stripping - Manage VLAN stripping for the VSI for Rx SYNOPSIS int ice_vsi_manage_vlan_stripping (struct ice_vsi *vsi , bool ena ); ARGUMENTS vsi the VSI being changed ena boolean value indicating if this is a enable or disable request SEE ALSO Kernel file ./drivers/...
ice_vsi_map_rings_to_vectors(9)
NAME ice_vsi_map_rings_to_vectors - Map VSI rings to interrupt vectors SYNOPSIS void ice_vsi_map_rings_to_vectors (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI being configured DESCRIPTION This function maps descriptor rings to the queue-specific vectors allotted through the MSI-X enabling code. On a constra...
ice_vsi_num_non_zero_vlans(9)
NAME ice_vsi_num_non_zero_vlans - get the number of non-zero VLANs for this VSI SYNOPSIS u16 ice_vsi_num_non_zero_vlans (struct ice_vsi *vsi ); ARGUMENTS vsi VSI used to get the number of non-zero VLANs added SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_type_str(9), ice...
ice_vsi_num_zero_vlans(9)
NAME ice_vsi_num_zero_vlans - get number of VLAN 0 filters based on VLAN mode SYNOPSIS u16 ice_vsi_num_zero_vlans (struct ice_vsi *vsi ); ARGUMENTS vsi VSI used to get the VLAN mode DESCRIPTION If DVM is enabled then 2 VLAN 0 filters are added, else if SVM is enabled then 1 VLAN 0 filter is added. See ice_vs...
ice_vsi_open(9)
NAME ice_vsi_open - Called when a network interface is made active SYNOPSIS int ice_vsi_open (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI to open DESCRIPTION Initialization of the VSI Returns 0 on success, negative value on error SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw...
ice_vsi_open_ctrl(9)
NAME ice_vsi_open_ctrl - open control VSI for use SYNOPSIS int ice_vsi_open_ctrl (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI to open DESCRIPTION Initialization of the Control VSI Returns 0 on success, negative value on error SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_...
ice_vsi_put_qs(9)
NAME ice_vsi_put_qs - Release queues from VSI to PF SYNOPSIS void ice_vsi_put_qs (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI that is going to release queues SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_type_str(9), ice_vsi_ctrl_all_rx_rings(9), ice_vsi_alloc_arrays...
ice_vsi_realloc_stat_arrays(9)
NAME ice_vsi_realloc_stat_arrays - Frees unused stat structures or alloc new ones SYNOPSIS int ice_vsi_realloc_stat_arrays (struct ice_vsi *vsi ); ARGUMENTS vsi VSI pointer SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_type_str(9), ice_vsi_ctrl_all_rx_rings(9), ice_vs...
ice_vsi_rebuild(9)
NAME ice_vsi_rebuild - Rebuild VSI after reset SYNOPSIS int ice_vsi_rebuild (struct ice_vsi *vsi , u32 vsi_flags ); ARGUMENTS vsi VSI to be rebuild vsi_flags flags used for VSI rebuild flow DESCRIPTION Set vsi_flags to ICE_VSI_FLAG_INIT to initialize a new VSI, or ICE_VSI_FLAG_NO_INIT to rebuild an...
ice_vsi_rebuild_by_type(9)
NAME ice_vsi_rebuild_by_type - Rebuild VSI of a given type SYNOPSIS int ice_vsi_rebuild_by_type (struct ice_pf *pf , enum ice_vsi_type type ); ARGUMENTS pf pointer to the PF instance type VSI type to rebuild DESCRIPTION Iterates through the pf->vsi array and rebuilds VSIs of the requested typ...
ice_vsi_rebuild_get_coalesce(9)
NAME ice_vsi_rebuild_get_coalesce - get coalesce from all q_vectors SYNOPSIS int ice_vsi_rebuild_get_coalesce (struct ice_vsi *vsi , struct ice_coalesce_stored *coalesce ); ARGUMENTS vsi VSI connected with q_vectors coalesce array of struct with stored coalesce DESCRIPTION Returns array size. SEE...
ice_vsi_rebuild_set_coalesce(9)
NAME ice_vsi_rebuild_set_coalesce - set coalesce from earlier saved arrays SYNOPSIS void ice_vsi_rebuild_set_coalesce (struct ice_vsi *vsi , struct ice_coalesce_stored *coalesce , int size ); ARGUMENTS vsi VSI connected with q_vectors coalesce pointer to array of struct with stored coalesce ...
ice_vsi_recfg_qs(9)
NAME ice_vsi_recfg_qs - Change the number of queues on a VSI SYNOPSIS int ice_vsi_recfg_qs (struct ice_vsi *vsi , int new_rx , int new_tx , bool locked ); ARGUMENTS vsi VSI being changed new_rx new number of Rx queues new_tx new number of Tx queues locked is adev device_...
ice_vsi_release(9)
NAME ice_vsi_release - Delete a VSI and free its resources SYNOPSIS int ice_vsi_release (struct ice_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/ice/ice_lib.c ice_vsi_type_str(9), ice_vsi_ctrl_a...
ice_vsi_release_all(9)
NAME ice_vsi_release_all - Delete all VSIs SYNOPSIS void ice_vsi_release_all (struct ice_pf *pf ); ARGUMENTS pf PF from which all VSIs are being removed SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_dev(9), ice_get_tx_pending(9), ice_check_for_hang_subtask(9), ice_init...
ice_vsi_release_msix(9)
NAME ice_vsi_release_msix - Clear the queue to Interrupt mapping in HW SYNOPSIS void ice_vsi_release_msix (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI being cleaned up SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_type_str(9), ice_vsi_ctrl_all_rx_rings(9), ice_vsi_alloc_arrays...
ice_vsi_req_irq_msix(9)
NAME ice_vsi_req_irq_msix - get MSI-X vectors from the OS for the VSI SYNOPSIS int ice_vsi_req_irq_msix (struct ice_vsi *vsi , char *basename ); ARGUMENTS vsi the VSI being configured basename name for the vector SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_dev(...
ice_vsi_rx_napi_schedule(9)
NAME ice_vsi_rx_napi_schedule - Schedule napi on RX queues from VSI SYNOPSIS void ice_vsi_rx_napi_schedule (struct ice_vsi *vsi ); ARGUMENTS vsi VSI to schedule napi on SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_dev(9), ice_get_tx_pending(9), ice_check_for_hang_subtas...
ice_vsi_set_dcb_tc_cfg(9)
NAME ice_vsi_set_dcb_tc_cfg - Set VSI's TC based on DCB configuration SYNOPSIS void ice_vsi_set_dcb_tc_cfg (struct ice_vsi *vsi ); ARGUMENTS vsi pointer to the VSI instance SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_dcb_lib.c ice_dcb_get_ena_tc(9), ice_is_pfc_causing_hung_q(9), ...
ice_vsi_set_dflt_rss_lut(9)
NAME ice_vsi_set_dflt_rss_lut - set default RSS LUT with requested RSS size SYNOPSIS int ice_vsi_set_dflt_rss_lut (struct ice_vsi *vsi , int req_rss_size ); ARGUMENTS vsi VSI to reconfigure RSS LUT on req_rss_size requested range of queue numbers for hashing DESCRIPTION Set the VSI...
ice_vsi_set_napi_queues(9)
NAME ice_vsi_set_napi_queues - associate netdev queues with napi SYNOPSIS void ice_vsi_set_napi_queues (struct ice_vsi *vsi ); ARGUMENTS vsi VSI pointer DESCRIPTION Associate queue[s] with napi for all vectors. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_type_str(9), ...
ice_vsi_set_num_desc(9)
NAME ice_vsi_set_num_desc - Set number of descriptors for queues on this VSI SYNOPSIS void ice_vsi_set_num_desc (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI being configured SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_type_str(9), ice_vsi_ctrl_all_rx_rings(9), ice_vsi_alloc_arr...
ice_vsi_set_num_qs(9)
NAME ice_vsi_set_num_qs - Set number of queues, descriptors and vectors for a VSI SYNOPSIS void ice_vsi_set_num_qs (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI being configured DESCRIPTION Return 0 on success and a negative value on error SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ice_...
ice_vsi_set_outer_port_vlan(9)
NAME ice_vsi_set_outer_port_vlan - public version of __ice_vsi_set_outer_port_vlan SYNOPSIS int ice_vsi_set_outer_port_vlan (struct ice_vsi *vsi , struct ice_vlan *vlan ); ARGUMENTS vsi VSI to configure vlan ice_vlan structure used to set the port VLAN DESCRIPTION Set the outer port VLAN ...
ice_vsi_set_rss_flow_fld(9)
NAME ice_vsi_set_rss_flow_fld - Sets RSS input set for different flows SYNOPSIS void ice_vsi_set_rss_flow_fld (struct ice_vsi *vsi ); ARGUMENTS vsi VSI to be configured DESCRIPTION This function will only be called after successful download package call during initialization of PF. Since the downloaded packa...
ice_vsi_set_rss_params(9)
NAME ice_vsi_set_rss_params - Setup RSS capabilities per VSI type SYNOPSIS void ice_vsi_set_rss_params (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI being configured SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_type_str(9), ice_vsi_ctrl_all_rx_rings(9), ice_vsi_alloc...
ice_vsi_set_vf_rss_flow_fld(9)
NAME ice_vsi_set_vf_rss_flow_fld - Sets VF VSI RSS input set for different flows SYNOPSIS void ice_vsi_set_vf_rss_flow_fld (struct ice_vsi *vsi ); ARGUMENTS vsi VSI to be configured DESCRIPTION This function will only be called during the VF VSI setup. Upon successful completion of package download, this fun...
ice_vsi_setup(9)
NAME ice_vsi_setup - Set up a VSI by a given type SYNOPSIS struct ice_vsi * ice_vsi_setup (struct ice_pf *pf , struct ice_vsi_cfg_params *params ); ARGUMENTS pf board private structure params parameters to use when creating the VSI DESCRIPTION This allocates the sw VSI structure and its queue r...
ice_vsi_setup_q_map(9)
NAME ice_vsi_setup_q_map - Setup a VSI queue map SYNOPSIS int ice_vsi_setup_q_map (struct ice_vsi *vsi , struct ice_vsi_ctx *ctxt ); ARGUMENTS vsi the VSI being configured ctxt VSI context structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_type_str(9), ...
ice_vsi_setup_q_map_mqprio(9)
NAME ice_vsi_setup_q_map_mqprio - Prepares mqprio based tc_config SYNOPSIS int ice_vsi_setup_q_map_mqprio (struct ice_vsi *vsi , struct ice_vsi_ctx *ctxt , u8 ena_tc ); ARGUMENTS vsi the VSI being configured, ctxt VSI context structure ena_tc number of traffic classes to enable DE...
ice_vsi_setup_rx_rings(9)
NAME ice_vsi_setup_rx_rings - Allocate VSI Rx queue resources SYNOPSIS int ice_vsi_setup_rx_rings (struct ice_vsi *vsi ); ARGUMENTS vsi VSI having resources allocated DESCRIPTION Return 0 on success, negative on failure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_dev(9),...
ice_vsi_setup_tx_rings(9)
NAME ice_vsi_setup_tx_rings - Allocate VSI Tx queue resources SYNOPSIS int ice_vsi_setup_tx_rings (struct ice_vsi *vsi ); ARGUMENTS vsi VSI having resources allocated DESCRIPTION Return 0 on success, negative on failure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_dev(9),...
ice_vsi_start_all_rx_rings(9)
NAME ice_vsi_start_all_rx_rings - start/enable all of a VSI's Rx rings SYNOPSIS int ice_vsi_start_all_rx_rings (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI whose rings are to be enabled DESCRIPTION Returns 0 on success and a negative value on error SEE ALSO Kernel file ./drivers/net/ethernet/intel/ic...
ice_vsi_stop_all_rx_rings(9)
NAME ice_vsi_stop_all_rx_rings - stop/disable all of a VSI's Rx rings SYNOPSIS int ice_vsi_stop_all_rx_rings (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI whose rings are to be disabled DESCRIPTION Returns 0 on success and a negative value on error SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice...
ice_vsi_stop_lan_tx_rings(9)
NAME ice_vsi_stop_lan_tx_rings - Disable LAN Tx rings SYNOPSIS int ice_vsi_stop_lan_tx_rings (struct ice_vsi *vsi , enum ice_disq_rst_src rst_src , u16 rel_vmvf_num ); ARGUMENTS vsi the VSI being configured rst_src reset source rel_vmvf_num Relative ID of VF/VM SEE ALSO...
ice_vsi_stop_tx_ring(9)
NAME ice_vsi_stop_tx_ring - Disable single Tx ring SYNOPSIS int ice_vsi_stop_tx_ring (struct ice_vsi *vsi , enum ice_disq_rst_src rst_src , u16 rel_vmvf_num , struct ice_tx_ring *ring , struct ice_txq_meta *txq_meta ); ARGUMENTS vsi the VSI being configured rst_src reset source rel_vmvf_nu...
ice_vsi_stop_tx_rings(9)
NAME ice_vsi_stop_tx_rings - Disable Tx rings SYNOPSIS int ice_vsi_stop_tx_rings (struct ice_vsi *vsi , enum ice_disq_rst_src rst_src , u16 rel_vmvf_num , struct ice_tx_ring **rings , u16 count ); ARGUMENTS vsi the VSI being configured rst_src reset source rel_vmvf_num R...
ice_vsi_stop_xdp_tx_rings(9)
NAME ice_vsi_stop_xdp_tx_rings - Disable XDP Tx rings SYNOPSIS int ice_vsi_stop_xdp_tx_rings (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI being configured SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_type_str(9), ice_vsi_ctrl_all_rx_rings(9), ice_vsi_alloc_arrays(9)...
ice_vsi_sync_fltr(9)
NAME ice_vsi_sync_fltr - Update the VSI filter list to the HW SYNOPSIS int ice_vsi_sync_fltr (struct ice_vsi *vsi ); ARGUMENTS vsi ptr to the VSI DESCRIPTION Push any outstanding VSI filter changes through the AdminQ. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_dev(9), ...
ice_vsi_type_str(9)
NAME ice_vsi_type_str - maps VSI type enum to string equivalents SYNOPSIS const char * ice_vsi_type_str (enum ice_vsi_type vsi_type ); ARGUMENTS vsi_type VSI type enum SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_ctrl_all_rx_rings(9), ice_vsi_alloc_arrays(9), ice_vsi_set_num_d...
ice_vsi_update_bridge_mode(9)
NAME ice_vsi_update_bridge_mode - Update VSI for switching bridge mode (VEB/VEPA) SYNOPSIS int ice_vsi_update_bridge_mode (struct ice_vsi *vsi , u16 bmode ); ARGUMENTS vsi Pointer to VSI structure bmode Hardware bridge mode (VEB/VEPA) DESCRIPTION Returns 0 on success, negative on failure SEE A...
ice_vsi_update_l2tsel(9)
NAME ice_vsi_update_l2tsel - update l2tsel field for all Rx rings on this VSI SYNOPSIS void ice_vsi_update_l2tsel (struct ice_vsi *vsi , enum ice_l2tsel l2tsel ); ARGUMENTS vsi VSI used to update l2tsel on l2tsel l2tsel setting requested DESCRIPTION Use the l2tsel setting to update all of the Rx...
ice_vsi_update_local_lb(9)
NAME ice_vsi_update_local_lb - update sw block in VSI with local loopback bit SYNOPSIS int ice_vsi_update_local_lb (struct ice_vsi *vsi , bool set ); ARGUMENTS vsi pointer to VSI structure set set or unset the bit SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ice_vs...
ice_vsi_update_q_map(9)
NAME ice_vsi_update_q_map - update our copy of the VSI info with new queue map SYNOPSIS void ice_vsi_update_q_map (struct ice_vsi *vsi , struct ice_vsi_ctx *ctx ); ARGUMENTS vsi VSI being configured ctx the context buffer returned from AQ VSI update command SEE ALSO Kernel file ./driver...
ice_vsi_update_security(9)
NAME ice_vsi_update_security - update security block in VSI SYNOPSIS int ice_vsi_update_security (struct ice_vsi *vsi , void (*fill)(struct ice_vsi_ctx *) ); ARGUMENTS vsi pointer to VSI structure fill function pointer to fill ctx SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice...
ice_vsi_uses_fltr(9)
NAME ice_vsi_uses_fltr - Determine if given VSI uses specified filter SYNOPSIS bool ice_vsi_uses_fltr (struct ice_fltr_mgmt_list_entry *fm_entry , u16 vsi_handle ); ARGUMENTS fm_entry filter entry to inspect vsi_handle VSI handle to compare with filter info SEE ALSO Kernel file ./drivers/net/ethernet/i...
ice_vsi_vlan_setup(9)
NAME ice_vsi_vlan_setup - Setup VLAN offload properties on a PF VSI SYNOPSIS int ice_vsi_vlan_setup (struct ice_vsi *vsi ); ARGUMENTS vsi VSI to setup VLAN properties for SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_dev(9), ice_get_tx_pending(9), ice_check_for_hang_subt...
ice_vsi_wait_one_rx_ring(9)
NAME ice_vsi_wait_one_rx_ring - wait for a VSI's Rx ring to be stopped/started SYNOPSIS int ice_vsi_wait_one_rx_ring (struct ice_vsi *vsi , bool ena , u16 rxq_idx ); ARGUMENTS vsi the VSI being configured ena true/false to verify Rx ring has been enabled/disabled respectively rxq_idx ...
ice_vsig_add_mv_vsi(9)
NAME ice_vsig_add_mv_vsi - add or move a VSI to a VSI group SYNOPSIS int ice_vsig_add_mv_vsi (struct ice_hw *hw , enum ice_block blk , u16 vsi , u16 vsig ); ARGUMENTS hw pointer to the hardware structure blk HW block vsi VSI to move vsig destination VSI group D...
ice_vsig_alloc(9)
NAME ice_vsig_alloc - Finds a free entry and allocates a new VSIG SYNOPSIS u16 ice_vsig_alloc (struct ice_hw *hw , enum ice_block blk ); ARGUMENTS hw pointer to the hardware structure blk HW block DESCRIPTION This function will iterate through the VSIG list and mark the first unused entry fo...
ice_vsig_alloc_val(9)
NAME ice_vsig_alloc_val - allocate a new VSIG by value SYNOPSIS u16 ice_vsig_alloc_val (struct ice_hw *hw , enum ice_block blk , u16 vsig ); ARGUMENTS hw pointer to the hardware structure blk HW block vsig the VSIG to allocate DESCRIPTION This function will allocate a given VS...
ice_vsig_find_vsi(9)
NAME ice_vsig_find_vsi - find a VSIG that contains a specified VSI SYNOPSIS int ice_vsig_find_vsi (struct ice_hw *hw , enum ice_block blk , u16 vsi , u16 *vsig ); ARGUMENTS hw pointer to the hardware structure blk HW block vsi VSI of interest vsig pointer to rec...
ice_vsig_free(9)
NAME ice_vsig_free - free VSI group SYNOPSIS int ice_vsig_free (struct ice_hw *hw , enum ice_block blk , u16 vsig ); ARGUMENTS hw pointer to the hardware structure blk HW block vsig VSIG to remove DESCRIPTION The function will remove all VSIs associated with the input VSIG and...
ice_vsig_get_ref(9)
NAME ice_vsig_get_ref - returns number of VSIs belong to a VSIG SYNOPSIS int ice_vsig_get_ref (struct ice_hw *hw , enum ice_block blk , u16 vsig , u16 *refs ); ARGUMENTS hw pointer to the hardware structure blk HW block vsig VSIG to query refs pointer to variable...
ice_vsig_prof_id_count(9)
NAME ice_vsig_prof_id_count - count profiles in a VSIG SYNOPSIS u16 ice_vsig_prof_id_count (struct ice_hw *hw , enum ice_block blk , u16 vsig ); ARGUMENTS hw pointer to the HW struct blk hardware block vsig VSIG to remove the profile from SEE ALSO Kernel file ./drivers/net/...
ice_vsig_remove_vsi(9)
NAME ice_vsig_remove_vsi - remove VSI from VSIG SYNOPSIS int ice_vsig_remove_vsi (struct ice_hw *hw , enum ice_block blk , u16 vsi , u16 vsig ); ARGUMENTS hw pointer to the hardware structure blk HW block vsi VSI to remove vsig VSI group to remove from DESCRIPT...
ice_wait_for_reset(9)
NAME ice_wait_for_reset - Wait for driver to finish reset and rebuild SYNOPSIS int ice_wait_for_reset (struct ice_pf *pf , unsigned long timeout ); ARGUMENTS pf pointer to the PF structure timeout length of time to wait, in jiffies DESCRIPTION Wait (sleep) for a short time until the driver finis...
ice_wait_fw_load(9)
NAME ice_wait_fw_load - wait for PHY firmware loading to complete SYNOPSIS int ice_wait_fw_load (struct ice_hw *hw , u32 timeout ); ARGUMENTS hw pointer to the hardware structure timeout milliseconds that can elapse before timing out, 0 to bypass waiting RETURN * 0 on success * negative on timeo...
ice_wait_on_vf_reset(9)
NAME ice_wait_on_vf_reset - poll to make sure a given VF is ready after reset SYNOPSIS void ice_wait_on_vf_reset (struct ice_vf *vf ); ARGUMENTS vf The VF being resseting DESCRIPTION The max poll time is about ~800ms, which is about the maximum time it takes for a VF to be reset and/or a VF driver to be rem...
ice_watchdog_subtask(9)
NAME ice_watchdog_subtask - periodic tasks not using event driven scheduling SYNOPSIS void ice_watchdog_subtask (struct ice_pf *pf ); ARGUMENTS pf board private structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_dev(9), ice_get_tx_pending(9), ice_check_for_hang_sub...
ice_write_40b_phy_reg_e82x(9)
NAME ice_write_40b_phy_reg_e82x - Write a 40b value to the PHY SYNOPSIS int ice_write_40b_phy_reg_e82x (struct ice_hw *hw , u8 port , u16 low_addr , u64 val ); ARGUMENTS hw pointer to the HW struct port port to write to low_addr offset of the low register val 40b val...
ice_write_40b_phy_reg_eth56g(9)
NAME ice_write_40b_phy_reg_eth56g - Write a 40b value to the PHY SYNOPSIS int ice_write_40b_phy_reg_eth56g (struct ice_hw *hw , u8 port , u16 low_addr , u64 val , enum eth56g_res_type res_type ); ARGUMENTS hw pointer to the HW struct port port to write to low_addr offset of the low ...
ice_write_40b_ptp_reg_eth56g(9)
NAME ice_write_40b_ptp_reg_eth56g - Write a 40b value to the PHY SYNOPSIS int ice_write_40b_ptp_reg_eth56g (struct ice_hw *hw , u8 port , u16 low_addr , u64 val ); ARGUMENTS hw pointer to the HW struct port port to write to low_addr offset of the low register val 40b...