id
stringlengths
4
63
text
stringlengths
153
8.81M
ice_vc_validate_vlan_tpid(9)
NAME ice_vc_validate_vlan_tpid - validate VLAN TPID SYNOPSIS bool ice_vc_validate_vlan_tpid (u16 filtering_caps , u16 tpid ); ARGUMENTS filtering_caps negotiated/supported VLAN filtering capabilities tpid VLAN TPID used for validation DESCRIPTION Convert the VLAN TPID to a VIRTCHNL_VLAN_ETHERTYPE_* an...
ice_vc_validate_vqs_bitmaps(9)
NAME ice_vc_validate_vqs_bitmaps - validate Rx/Tx queue bitmaps from VIRTCHNL SYNOPSIS bool ice_vc_validate_vqs_bitmaps (struct virtchnl_queue_select *vqs ); ARGUMENTS vqs virtchnl_queue_select structure containing bitmaps to validate DESCRIPTION Return true on successful validation, else false SEE ALSO Ker...
ice_vc_vf_broadcast(9)
NAME ice_vc_vf_broadcast - Broadcast a message to all VFs on PF SYNOPSIS void ice_vc_vf_broadcast (struct ice_pf *pf , enum virtchnl_ops v_opcode , enum virtchnl_status_code v_retval , u8 *msg , u16 msglen ); ARGUMENTS pf pointer to the PF structure v_opcode operation code v_retval retu...
ice_vc_vlan_action(9)
NAME ice_vc_vlan_action - action to perform on the virthcnl_vlan SYNOPSIS int ice_vc_vlan_action (struct ice_vsi *vsi , int (*vlan_action)(struct ice_vsi *, struct ice_vlan *) , struct ice_vlan *vlan ); ARGUMENTS vsi VF's VSI used to perform the action vlan_action function to perform the action with (...
ice_vector_ch_enabled(9)
NAME ice_vector_ch_enabled - SYNOPSIS bool ice_vector_ch_enabled (struct ice_q_vector *qv ); ARGUMENTS qv pointer to q_vector, can be NULL DESCRIPTION This function returns true if vector is channel enabled otherwise false SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice.h ice_ptp_pf_handles_tx_...
ice_verify_cacheline_size(9)
NAME ice_verify_cacheline_size - verify driver's assumption of 64 Byte cache lines SYNOPSIS void ice_verify_cacheline_size (struct ice_pf *pf ); ARGUMENTS pf pointer to the PF structure DESCRIPTION There is no error returned here because the driver should be able to handle 128 Byte cache lines, so we only p...
ice_verify_pin(9)
NAME ice_verify_pin - verify if pin supports requested pin function SYNOPSIS int ice_verify_pin (struct ptp_clock_info *info , unsigned int pin , enum ptp_pin_function func , unsigned int chan ); ARGUMENTS info the driver's PTP info structure pin Pin index func Assigned function ...
ice_verify_pkg(9)
NAME ice_verify_pkg - verify package SYNOPSIS enum ice_ddp_state ice_verify_pkg (const struct ice_pkg_hdr *pkg , u32 len ); ARGUMENTS pkg pointer to the package buffer len size of the package buffer DESCRIPTION Verifies various attributes of the package file, including length, format version,...
ice_vf_adv_rss_offload_ena(9)
NAME ice_vf_adv_rss_offload_ena - determine if capabilities support advanced RSS offloads SYNOPSIS bool ice_vf_adv_rss_offload_ena (u32 caps ); ARGUMENTS caps VF driver negotiated capabilities DESCRIPTION Return true if VIRTCHNL_VF_OFFLOAD_ADV_RSS_PF capability is set, else return false SEE ALSO Kernel file...
ice_vf_cfg_q_quanta_profile(9)
NAME ice_vf_cfg_q_quanta_profile - Configure quanta profile SYNOPSIS int ice_vf_cfg_q_quanta_profile (struct ice_vf *vf , u16 quanta_size , u16 *quanta_prof_idx ); ARGUMENTS vf pointer to the VF info quanta_size quanta size to be set quanta_prof_idx pointer to the quanta pr...
ice_vf_cfg_qs_bw(9)
NAME ice_vf_cfg_qs_bw - Configure per queue bandwidth SYNOPSIS int ice_vf_cfg_qs_bw (struct ice_vf *vf , u16 num_queues ); ARGUMENTS vf pointer to the VF info num_queues number of queues to be configured DESCRIPTION Configure per queue bandwidth. RETURN 0 on success or negative error value. SEE A...
ice_vf_clear_all_promisc_modes(9)
NAME ice_vf_clear_all_promisc_modes - Clear promisc/allmulticast on VF VSI SYNOPSIS int ice_vf_clear_all_promisc_modes (struct ice_vf *vf , struct ice_vsi *vsi ); ARGUMENTS vf the VF pointer vsi the VSI to configure DESCRIPTION Clear all promiscuous/allmulticast filters for a VF SEE ALSO Ke...
ice_vf_clear_vsi_promisc(9)
NAME ice_vf_clear_vsi_promisc - Disable promiscuous mode for a VF VSI SYNOPSIS int ice_vf_clear_vsi_promisc (struct ice_vf *vf , struct ice_vsi *vsi , u8 promisc_m ); ARGUMENTS vf the VF to configure vsi the VF's VSI promisc_m the promiscuous mode to disable SEE ALSO Kernel file ...
ice_vf_ctrl_invalidate_vsi(9)
NAME ice_vf_ctrl_invalidate_vsi - invalidate ctrl_vsi_idx to remove VSI access SYNOPSIS void ice_vf_ctrl_invalidate_vsi (struct ice_vf *vf ); ARGUMENTS vf VF that control VSI is being invalidated on SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_vf_lib.c ice_get_vf_by_id(9), ice_release_vf(9)...
ice_vf_ctrl_vsi_release(9)
NAME ice_vf_ctrl_vsi_release - invalidate the VF's control VSI after freeing it SYNOPSIS void ice_vf_ctrl_vsi_release (struct ice_vf *vf ); ARGUMENTS vf VF that control VSI is being released on SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_vf_lib.c ice_get_vf_by_id(9), ice_release_vf(9), ic...
ice_vf_ctrl_vsi_setup(9)
NAME ice_vf_ctrl_vsi_setup - Set up a VF control VSI SYNOPSIS struct ice_vsi * ice_vf_ctrl_vsi_setup (struct ice_vf *vf ); ARGUMENTS vf VF to setup control VSI for DESCRIPTION Returns pointer to the successfully allocated VSI struct on success, otherwise returns NULL on failure. SEE ALSO Kernel file ./dr...
ice_vf_dis_vlan_promisc(9)
NAME ice_vf_dis_vlan_promisc - Disable Tx/Rx VLAN promiscuous for the VLAN SYNOPSIS int ice_vf_dis_vlan_promisc (struct ice_vsi *vsi , struct ice_vlan *vlan ); ARGUMENTS vsi VF's VSI used to disable VLAN promiscuous mode for vlan VLAN used to disable VLAN promiscuous DESCRIPTION This function ...
ice_vf_ena_rxq_interrupt(9)
NAME ice_vf_ena_rxq_interrupt - enable Tx queue interrupt via QINT_RQCTL SYNOPSIS void ice_vf_ena_rxq_interrupt (struct ice_vsi *vsi , u32 q_idx ); ARGUMENTS vsi VSI of the VF to configure q_idx VF queue index used to determine the queue in the PF's space SEE ALSO Kernel file ./drivers/net/...
ice_vf_ena_txq_interrupt(9)
NAME ice_vf_ena_txq_interrupt - enable Tx queue interrupt via QINT_TQCTL SYNOPSIS void ice_vf_ena_txq_interrupt (struct ice_vsi *vsi , u32 q_idx ); ARGUMENTS vsi VSI of the VF to configure q_idx VF queue index used to determine the queue in the PF's space SEE ALSO Kernel file ./drivers/net/...
ice_vf_ena_vlan_promisc(9)
NAME ice_vf_ena_vlan_promisc - Enable Tx/Rx VLAN promiscuous for the VLAN SYNOPSIS int ice_vf_ena_vlan_promisc (struct ice_vf *vf , struct ice_vsi *vsi , struct ice_vlan *vlan ); ARGUMENTS vf VF to enable VLAN promisc on vsi VF's VSI used to enable VLAN promiscuous mode vlan VL...
ice_vf_fdir_dump_info(9)
NAME ice_vf_fdir_dump_info - dump FDIR information for diagnosis SYNOPSIS void ice_vf_fdir_dump_info (struct ice_vf *vf ); ARGUMENTS vf pointer to the VF info SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/fdir.c ice_vc_fdir_param_check(9), ice_vf_start_ctrl_vsi(9), ice_vc_fd...
ice_vf_fdir_exit(9)
NAME ice_vf_fdir_exit - destroy FDIR resource for VF SYNOPSIS void ice_vf_fdir_exit (struct ice_vf *vf ); ARGUMENTS vf pointer to the VF info SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/fdir.c ice_vc_fdir_param_check(9), ice_vf_start_ctrl_vsi(9), ice_vc_fdir_alloc_prof(9),...
ice_vf_fdir_init(9)
NAME ice_vf_fdir_init - init FDIR resource for VF SYNOPSIS void ice_vf_fdir_init (struct ice_vf *vf ); ARGUMENTS vf pointer to the VF info SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/fdir.c ice_vc_fdir_param_check(9), ice_vf_start_ctrl_vsi(9), ice_vc_fdir_alloc_prof(9), ...
ice_vf_fdir_timer(9)
NAME ice_vf_fdir_timer - FDIR program waiting timer interrupt handler SYNOPSIS void ice_vf_fdir_timer (struct timer_list *t ); ARGUMENTS t pointer to timer_list SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/fdir.c ice_vc_fdir_param_check(9), ice_vf_start_ctrl_vsi(9), ice_vc...
ice_vf_get_port_info(9)
NAME ice_vf_get_port_info - Get the VF's port info structure SYNOPSIS struct ice_port_info * ice_vf_get_port_info (struct ice_vf *vf ); ARGUMENTS vf VF used to get the port info structure 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_...
ice_vf_get_promisc_masks(9)
NAME ice_vf_get_promisc_masks - Calculate masks for promiscuous modes SYNOPSIS void ice_vf_get_promisc_masks (struct ice_vf *vf , struct ice_vsi *vsi , u8 *ucast_m , u8 *mcast_m ); ARGUMENTS vf the VF pointer vsi the VSI to configure ucast_m promiscuous mask to apply to unicast ...
ice_vf_has_max_vlans(9)
NAME ice_vf_has_max_vlans - check if VF already has the max allowed VLAN filters SYNOPSIS bool ice_vf_has_max_vlans (struct ice_vf *vf , struct ice_vsi *vsi ); ARGUMENTS vf VF to check against vsi VF's VSI DESCRIPTION If the VF is trusted then the VF is allowed to add as many VLANs as it wan...
ice_vf_has_no_qs_ena(9)
NAME ice_vf_has_no_qs_ena - check if the VF has any Rx or Tx queues enabled SYNOPSIS bool ice_vf_has_no_qs_ena (struct ice_vf *vf ); ARGUMENTS vf the VF to check DESCRIPTION Returns true if the VF has no Rx and no Tx queues enabled and returns false otherwise SEE ALSO Kernel file ./drivers/net/ethernet/i...
ice_vf_init_host_cfg(9)
NAME ice_vf_init_host_cfg - Initialize host admin configuration SYNOPSIS int ice_vf_init_host_cfg (struct ice_vf *vf , struct ice_vsi *vsi ); ARGUMENTS vf VF to initialize vsi the VSI created at initialization DESCRIPTION Initialize the VF host configuration. Called during VF creation to set...
ice_vf_init_vlan_stripping(9)
NAME ice_vf_init_vlan_stripping - enable/disable VLAN stripping on initialization SYNOPSIS int ice_vf_init_vlan_stripping (struct ice_vf *vf ); ARGUMENTS vf VF to enable/disable VLAN stripping for on initialization DESCRIPTION Set the default for VLAN stripping based on whether a port VLAN is configured and...
ice_vf_invalidate_vsi(9)
NAME ice_vf_invalidate_vsi - invalidate vsi_idx to remove VSI access SYNOPSIS void ice_vf_invalidate_vsi (struct ice_vf *vf ); ARGUMENTS vf VF to remove access to VSI 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_v...
ice_vf_lan_overflow_event(9)
NAME ice_vf_lan_overflow_event - handle LAN overflow event for a VF SYNOPSIS void ice_vf_lan_overflow_event (struct ice_pf *pf , struct ice_rq_event_info *event ); ARGUMENTS pf PF that the LAN overflow event happened on event structure holding the event information for the LAN overflow event D...
ice_vf_outer_vlan_not_allowed(9)
NAME ice_vf_outer_vlan_not_allowed - check if outer VLAN can be used SYNOPSIS bool ice_vf_outer_vlan_not_allowed (struct ice_vf *vf ); ARGUMENTS vf VF that being checked for DESCRIPTION When the device is in double VLAN mode, check whether or not the outer VLAN is allowed. SEE ALSO Kernel file ./driv...
ice_vf_post_vsi_rebuild(9)
NAME ice_vf_post_vsi_rebuild - Reset tasks that occur after VSI rebuild SYNOPSIS void ice_vf_post_vsi_rebuild (struct ice_vf *vf ); ARGUMENTS vf the VF being reset DESCRIPTION Perform reset tasks which must occur after the VSI has been re-created or rebuilt during a VF reset. SEE ALSO Kernel file ./drive...
ice_vf_pre_vsi_rebuild(9)
NAME ice_vf_pre_vsi_rebuild - tasks to be done prior to VSI rebuild SYNOPSIS void ice_vf_pre_vsi_rebuild (struct ice_vf *vf ); ARGUMENTS vf VF to perform pre VSI rebuild tasks DESCRIPTION These tasks are items that don't need to be amortized since they are most likely called in a for loop with all VF(s) in ...
ice_vf_rebuild_aggregator_node_cfg(9)
NAME ice_vf_rebuild_aggregator_node_cfg - rebuild aggregator node config SYNOPSIS void ice_vf_rebuild_aggregator_node_cfg (struct ice_vsi *vsi ); ARGUMENTS vsi Pointer to VSI DESCRIPTION This function moves VSI into corresponding scheduler aggregator node based on cached value of "aggregator node info" per V...
ice_vf_rebuild_host_cfg(9)
NAME ice_vf_rebuild_host_cfg - host admin configuration is persistent across reset SYNOPSIS void ice_vf_rebuild_host_cfg (struct ice_vf *vf ); ARGUMENTS vf VF to rebuild host configuration on SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_vf_lib.c ice_get_vf_by_id(9), ice_release_vf(9), ice_...
ice_vf_rebuild_host_mac_cfg(9)
NAME ice_vf_rebuild_host_mac_cfg - add broadcast and the VF's perm_addr/LAA SYNOPSIS int ice_vf_rebuild_host_mac_cfg (struct ice_vf *vf ); ARGUMENTS vf VF to add MAC filters for DESCRIPTION Called after a VF VSI has been re-added/rebuilt during reset. The PF driver always re-adds a broadcast filter and the ...
ice_vf_rebuild_host_tx_rate_cfg(9)
NAME ice_vf_rebuild_host_tx_rate_cfg - re-apply the Tx rate limiting configuration SYNOPSIS int ice_vf_rebuild_host_tx_rate_cfg (struct ice_vf *vf ); ARGUMENTS vf VF to re-apply the configuration for DESCRIPTION Called after a VF VSI has been re-added/rebuild during reset. The PF driver needs to re-apply th...
ice_vf_rebuild_host_vlan_cfg(9)
NAME ice_vf_rebuild_host_vlan_cfg - add VLAN 0 filter or rebuild the Port VLAN SYNOPSIS int ice_vf_rebuild_host_vlan_cfg (struct ice_vf *vf , struct ice_vsi *vsi ); ARGUMENTS vf VF to add MAC filters for vsi Pointer to VSI DESCRIPTION Called after a VF VSI has been re-added/rebuilt during re...
ice_vf_rebuild_vsi(9)
NAME ice_vf_rebuild_vsi - rebuild the VF's VSI SYNOPSIS int ice_vf_rebuild_vsi (struct ice_vf *vf ); ARGUMENTS vf VF to rebuild the VSI for DESCRIPTION This is only called when all VF(s) are being reset (i.e. PCIe Reset on the host, PFR, CORER, etc.). It reprograms the VSI configuration back into hardware....
ice_vf_reconfig_vsi(9)
NAME ice_vf_reconfig_vsi - Reconfigure a VF VSI with the device SYNOPSIS int ice_vf_reconfig_vsi (struct ice_vf *vf ); ARGUMENTS vf VF to reconfigure the VSI for DESCRIPTION This is called when a single VF is being reset (i.e. VVF, VFLR, host VF configuration change, etc). It brings the VSI down and then r...
ice_vf_set_host_trust_cfg(9)
NAME ice_vf_set_host_trust_cfg - set trust setting based on pre-reset value SYNOPSIS void ice_vf_set_host_trust_cfg (struct ice_vf *vf ); ARGUMENTS vf VF to configure trust setting 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(...
ice_vf_set_initialized(9)
NAME ice_vf_set_initialized - VF is ready for VIRTCHNL communication SYNOPSIS void ice_vf_set_initialized (struct ice_vf *vf ); ARGUMENTS vf VF to set in initialized state DESCRIPTION After this function the VF will be ready to receive/handle the VIRTCHNL_OP_GET_VF_RESOURCES message SEE ALSO Kernel file ...
ice_vf_set_vsi_promisc(9)
NAME ice_vf_set_vsi_promisc - Enable promiscuous mode for a VF VSI SYNOPSIS int ice_vf_set_vsi_promisc (struct ice_vf *vf , struct ice_vsi *vsi , u8 promisc_m ); ARGUMENTS vf the VF to configure vsi the VF's VSI promisc_m the promiscuous mode to enable SEE ALSO Kernel file ./driv...
ice_vf_start_ctrl_vsi(9)
NAME ice_vf_start_ctrl_vsi - SYNOPSIS int ice_vf_start_ctrl_vsi (struct ice_vf *vf ); ARGUMENTS vf pointer to the VF structure DESCRIPTION Allocate ctrl_vsi for the first time and open the ctrl_vsi port for VF RETURN 0 on success, and other on error. SEE ALSO Kernel file ./drivers/net/ethernet/int...
ice_vf_update_mac_lldp_num(9)
NAME ice_vf_update_mac_lldp_num - update the VF's number of LLDP addresses SYNOPSIS void ice_vf_update_mac_lldp_num (struct ice_vf *vf , struct ice_vsi *vsi , bool incr ); ARGUMENTS vf a VF to add the address to vsi the corresponding VSI incr is the rule added or removed SEE A...
ice_vf_verify_rx_desc(9)
NAME ice_vf_verify_rx_desc - verify received FDIR programming status descriptor SYNOPSIS int ice_vf_verify_rx_desc (struct ice_vf *vf , struct ice_vf_fdir_ctx *ctx , enum virtchnl_fdir_prgm_status *status ); ARGUMENTS vf pointer to the VF info ctx FDIR context info for post processing ...
ice_vf_vlan_offload_ena(9)
NAME ice_vf_vlan_offload_ena - determine if capabilities support VLAN offloads SYNOPSIS bool ice_vf_vlan_offload_ena (u32 caps ); ARGUMENTS caps VF driver negotiated capabilities DESCRIPTION Return true if VIRTCHNL_VF_OFFLOAD_VLAN capability is set, else return false SEE ALSO Kernel file ./drivers/net/ethe...
ice_vf_vsi_cfg_dvm_legacy_vlan_mode(9)
NAME ice_vf_vsi_cfg_dvm_legacy_vlan_mode - Config VLAN mode for old VFs in DVM SYNOPSIS void ice_vf_vsi_cfg_dvm_legacy_vlan_mode (struct ice_vsi *vsi ); ARGUMENTS vsi VF's VSI being configured DESCRIPTION This should only be called when Double VLAN Mode (DVM) is enabled, there is not a port VLAN en...
ice_vf_vsi_cfg_svm_legacy_vlan_mode(9)
NAME ice_vf_vsi_cfg_svm_legacy_vlan_mode - Config VLAN mode for old VFs in SVM SYNOPSIS void ice_vf_vsi_cfg_svm_legacy_vlan_mode (struct ice_vsi *vsi ); ARGUMENTS vsi VF's VSI being configured DESCRIPTION This should only be called when Single VLAN Mode (SVM) is enabled, there is not a port VLAN enabled on ...
ice_vf_vsi_dis_single_txq(9)
NAME ice_vf_vsi_dis_single_txq - disable a single Tx queue SYNOPSIS int ice_vf_vsi_dis_single_txq (struct ice_vf *vf , struct ice_vsi *vsi , u16 q_id ); ARGUMENTS vf VF to disable queue for vsi VSI for the VF q_id VF relative (0-based) queue ID DESCRIPTION Attempt to disable t...
ice_vf_vsi_disable_port_vlan(9)
NAME ice_vf_vsi_disable_port_vlan - Clear VSI support for creating port VLAN SYNOPSIS void ice_vf_vsi_disable_port_vlan (struct ice_vsi *vsi ); ARGUMENTS vsi VF's VSI being configured DESCRIPTION The function should be called after removing port VLAN on VSI (using VLAN ops) SEE ALSO Kernel file ./drivers/ne...
ice_vf_vsi_enable_port_vlan(9)
NAME ice_vf_vsi_enable_port_vlan - Set VSI VLAN ops to support port VLAN SYNOPSIS void ice_vf_vsi_enable_port_vlan (struct ice_vsi *vsi ); ARGUMENTS vsi VF's VSI being configured DESCRIPTION The function won't create port VLAN, it only allows to create port VLAN using VLAN ops on the VF VSI. SEE ALSO Kernel...
ice_vf_vsi_init_vlan_ops(9)
NAME ice_vf_vsi_init_vlan_ops - Initialize default VSI VLAN ops for VF VSI SYNOPSIS void ice_vf_vsi_init_vlan_ops (struct ice_vsi *vsi ); ARGUMENTS vsi VF's VSI being configured DESCRIPTION If Double VLAN Mode (DVM) is enabled, assume that the VF supports the new VIRTCHNL_VF_VLAN_OFFLOAD_V2 capability and s...
ice_vf_vsi_release(9)
NAME ice_vf_vsi_release - Release the VF VSI and invalidate indexes SYNOPSIS void ice_vf_vsi_release (struct ice_vf *vf ); ARGUMENTS vf pointer to the VF structure DESCRIPTION Release the VF associated with this VSI and then invalidate the VSI indexes. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ic...
ice_vf_vsi_setup(9)
NAME ice_vf_vsi_setup - Set up a VF VSI SYNOPSIS struct ice_vsi * ice_vf_vsi_setup (struct ice_vf *vf ); ARGUMENTS vf VF to setup VSI for DESCRIPTION Returns pointer to the successfully allocated VSI struct on success, otherwise returns NULL on failure. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ic...
ice_vfhw_mac_add(9)
NAME ice_vfhw_mac_add - update the VF's cached hardware MAC if allowed SYNOPSIS void ice_vfhw_mac_add (struct ice_vf *vf , struct virtchnl_ether_addr *vc_ether_addr ); ARGUMENTS vf VF to update vc_ether_addr structure from VIRTCHNL with MAC to add SEE ALSO Kernel file ./drivers/...
ice_vfhw_mac_del(9)
NAME ice_vfhw_mac_del - update the VF's cached hardware MAC if allowed SYNOPSIS void ice_vfhw_mac_del (struct ice_vf *vf , struct virtchnl_ether_addr *vc_ether_addr ); ARGUMENTS vf VF to update vc_ether_addr structure from VIRTCHNL with MAC to delete SEE ALSO Kernel file ./drive...
ice_virt_free_irqs(9)
NAME ice_virt_free_irqs - free irqs used by the VF SYNOPSIS void ice_virt_free_irqs (struct ice_pf *pf , u32 index , u32 irqs ); ARGUMENTS pf pointer to PF structure index first index to be free irqs number of irqs to free SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/...
ice_virt_get_irqs(9)
NAME ice_virt_get_irqs - get irqs for SR-IOV usacase SYNOPSIS int ice_virt_get_irqs (struct ice_pf *pf , u32 needed ); ARGUMENTS pf pointer to PF structure needed number of irqs to get DESCRIPTION This returns the first MSI-X vector index in PF space that is used by this VF. This index is used...
ice_virtchnl_set_dflt_ops(9)
NAME ice_virtchnl_set_dflt_ops - Switch to default virtchnl ops SYNOPSIS void ice_virtchnl_set_dflt_ops (struct ice_vf *vf ); ARGUMENTS vf the VF to switch ops SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/virtchnl.c ice_vc_vf_broadcast(9), ice_set_pfe_link(9), ice_vc_notify_vf_link_state(...
ice_virtchnl_set_repr_ops(9)
NAME ice_virtchnl_set_repr_ops - Switch to representor virtchnl ops SYNOPSIS void ice_virtchnl_set_repr_ops (struct ice_vf *vf ); ARGUMENTS vf the VF to switch ops SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/virtchnl.c ice_vc_vf_broadcast(9), ice_set_pfe_link(9), ice_vc_notify_vf_link_st...
ice_vlan_fltr_exist(9)
NAME ice_vlan_fltr_exist - does this VLAN filter exist for given VSI SYNOPSIS bool ice_vlan_fltr_exist (struct ice_hw *hw , u16 vlan_id , u16 vsi_handle ); ARGUMENTS hw pointer to the hardware structure vlan_id VLAN ID vsi_handle check MAC filter for this VSI SEE ALSO Kernel file ./...
ice_vlan_rx_add_vid(9)
NAME ice_vlan_rx_add_vid - Add a VLAN ID filter to HW offload SYNOPSIS int ice_vlan_rx_add_vid (struct net_device *netdev , __be16 proto , u16 vid ); ARGUMENTS netdev network interface to be adjusted proto VLAN TPID vid VLAN ID to be added DESCRIPTION net_device_ops implementation ...
ice_vlan_rx_kill_vid(9)
NAME ice_vlan_rx_kill_vid - Remove a VLAN ID filter from HW offload SYNOPSIS int ice_vlan_rx_kill_vid (struct net_device *netdev , __be16 proto , u16 vid ); ARGUMENTS netdev network interface to be adjusted proto VLAN TPID vid VLAN ID to be removed DESCRIPTION net_device_ops implem...
ice_vsi_add_vlan(9)
NAME ice_vsi_add_vlan - default add VLAN implementation for all VSI types SYNOPSIS int ice_vsi_add_vlan (struct ice_vsi *vsi , struct ice_vlan *vlan ); ARGUMENTS vsi VSI being configured vlan VLAN filter to add SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_vsi_vlan_lib.c validat...
ice_vsi_add_vlan_zero(9)
NAME ice_vsi_add_vlan_zero - add VLAN 0 filter(s) for this VSI SYNOPSIS int ice_vsi_add_vlan_zero (struct ice_vsi *vsi ); ARGUMENTS vsi VSI used to add VLAN filters DESCRIPTION In Single VLAN Mode (SVM), single VLAN filters via ICE_SW_LKUP_VLAN are based on the inner VLAN ID, so the VLAN TPID (i.e. 0x...
ice_vsi_alloc(9)
NAME ice_vsi_alloc - Allocates the next available struct VSI in the PF SYNOPSIS struct ice_vsi * ice_vsi_alloc (struct ice_pf *pf ); ARGUMENTS pf board private structure DESCRIPTION Reserves a VSI index from the PF and allocates an empty VSI structure without a type. The VSI structure must later be initiali...
ice_vsi_alloc_arrays(9)
NAME ice_vsi_alloc_arrays - Allocate queue and vector pointer arrays for the VSI SYNOPSIS int ice_vsi_alloc_arrays (struct ice_vsi *vsi ); ARGUMENTS vsi VSI pointer DESCRIPTION On error: returns error code (negative) On success: returns 0 SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c i...
ice_vsi_alloc_def(9)
NAME ice_vsi_alloc_def - set default values for already allocated VSI SYNOPSIS int ice_vsi_alloc_def (struct ice_vsi *vsi , struct ice_channel *ch ); ARGUMENTS vsi ptr to VSI ch ptr to channel SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_type_str(9), ic...
ice_vsi_alloc_q_vector(9)
NAME ice_vsi_alloc_q_vector - Allocate memory for a single interrupt vector SYNOPSIS int ice_vsi_alloc_q_vector (struct ice_vsi *vsi , u16 v_idx ); ARGUMENTS vsi the VSI being configured v_idx index of the vector in the VSI struct DESCRIPTION We allocate one q_vector and set default value for I...
ice_vsi_alloc_q_vectors(9)
NAME ice_vsi_alloc_q_vectors - Allocate memory for interrupt vectors SYNOPSIS int ice_vsi_alloc_q_vectors (struct ice_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/etherne...
ice_vsi_alloc_ring_stats(9)
NAME ice_vsi_alloc_ring_stats - Allocates Tx and Rx ring stats for the VSI SYNOPSIS int ice_vsi_alloc_ring_stats (struct ice_vsi *vsi ); ARGUMENTS vsi VSI which is having stats allocated SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_type_str(9), ice_vsi_ctrl_all_rx_rings...
ice_vsi_alloc_rings(9)
NAME ice_vsi_alloc_rings - Allocates Tx and Rx rings for the VSI SYNOPSIS int ice_vsi_alloc_rings (struct ice_vsi *vsi ); ARGUMENTS vsi VSI which is having rings allocated 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...
ice_vsi_alloc_stat_arrays(9)
NAME ice_vsi_alloc_stat_arrays - Allocate statistics arrays SYNOPSIS int ice_vsi_alloc_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_vsi_alloc_arrays(9), ice_vsi_set_nu...
ice_vsi_apply_spoofchk(9)
NAME ice_vsi_apply_spoofchk - Apply Tx spoof checking setting to a VSI SYNOPSIS int ice_vsi_apply_spoofchk (struct ice_vsi *vsi , bool enable ); ARGUMENTS vsi VSI associated to the VF enable whether to enable or disable the spoof checking SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/i...
ice_vsi_assign_bpf_prog(9)
NAME ice_vsi_assign_bpf_prog - set or clear bpf prog pointer on VSI SYNOPSIS void ice_vsi_assign_bpf_prog (struct ice_vsi *vsi , struct bpf_prog *prog ); ARGUMENTS vsi VSI to set the bpf prog on prog the bpf prog pointer SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ic...
ice_vsi_cfg(9)
NAME ice_vsi_cfg - configure a previously allocated VSI SYNOPSIS int ice_vsi_cfg (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_de...
ice_vsi_cfg_crc_strip(9)
NAME ice_vsi_cfg_crc_strip - Configure CRC stripping for a VSI SYNOPSIS void ice_vsi_cfg_crc_strip (struct ice_vsi *vsi , bool disable ); ARGUMENTS vsi VSI to be configured disable set to true to have FCS / CRC in the frame data SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib....
ice_vsi_cfg_dcb_rings(9)
NAME ice_vsi_cfg_dcb_rings - Update rings to reflect DCB TC SYNOPSIS void ice_vsi_cfg_dcb_rings (struct ice_vsi *vsi ); ARGUMENTS vsi VSI owner of rings being updated 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_dcb_get...
ice_vsi_cfg_def(9)
NAME ice_vsi_cfg_def - configure default VSI based on the type SYNOPSIS int ice_vsi_cfg_def (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...
ice_vsi_cfg_frame_size(9)
NAME ice_vsi_cfg_frame_size - setup max frame size and Rx buffer length SYNOPSIS void ice_vsi_cfg_frame_size (struct ice_vsi *vsi , struct ice_rx_ring *ring ); ARGUMENTS vsi VSI ring Rx ring to configure DESCRIPTION Determine the maximum frame size and Rx buffer length to use for a PF VSI. Se...
ice_vsi_cfg_lan(9)
NAME ice_vsi_cfg_lan - Setup the VSI lan related config SYNOPSIS int ice_vsi_cfg_lan (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI being configured DESCRIPTION Return 0 on success and negative value on error SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_dev(9), ice_get_t...
ice_vsi_cfg_lan_txqs(9)
NAME ice_vsi_cfg_lan_txqs - Configure the VSI for Tx SYNOPSIS int ice_vsi_cfg_lan_txqs (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI being configured DESCRIPTION Return 0 on success and a negative value on error Configure the Tx VSI for operation. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ba...
ice_vsi_cfg_msix(9)
NAME ice_vsi_cfg_msix - MSIX mode Interrupt Config in the HW SYNOPSIS void ice_vsi_cfg_msix (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI being configured DESCRIPTION This configures MSIX mode interrupts for the PF VSI, and should not be used for the VF VSI. SEE ALSO Kernel file ./drivers/net/ethernet...
ice_vsi_cfg_netdev_tc(9)
NAME ice_vsi_cfg_netdev_tc - Setup the netdev TC configuration SYNOPSIS void ice_vsi_cfg_netdev_tc (struct ice_vsi *vsi , u8 ena_tc ); ARGUMENTS vsi the VSI being configured ena_tc TC map to be enabled SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_type_str(9), ...
ice_vsi_cfg_rss_lut_key(9)
NAME ice_vsi_cfg_rss_lut_key - Configure RSS params for a VSI SYNOPSIS int ice_vsi_cfg_rss_lut_key (struct ice_vsi *vsi ); ARGUMENTS vsi VSI to be 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(...
ice_vsi_cfg_rxq(9)
NAME ice_vsi_cfg_rxq - Configure an Rx queue SYNOPSIS int ice_vsi_cfg_rxq (struct ice_rx_ring *ring ); ARGUMENTS ring the ring being configured DESCRIPTION Return 0 on success and a negative value on error. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_base.c __ice_vsi_get_qs_contig(9), __ice_vsi...
ice_vsi_cfg_rxqs(9)
NAME ice_vsi_cfg_rxqs - Configure the VSI for Rx SYNOPSIS int ice_vsi_cfg_rxqs (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI being configured DESCRIPTION Return 0 on success and a negative value on error Configure the Rx VSI for operation. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_base.c __i...
ice_vsi_cfg_sw_lldp(9)
NAME ice_vsi_cfg_sw_lldp - Config switch rules for LLDP packet handling SYNOPSIS void ice_vsi_cfg_sw_lldp (struct ice_vsi *vsi , bool tx , bool create ); ARGUMENTS vsi the VSI being configured tx bool to determine Tx or Rx rule create bool to determine create or remove Rule DESC...
ice_vsi_cfg_tc(9)
NAME ice_vsi_cfg_tc - Configure VSI Tx Sched for given TC map SYNOPSIS int ice_vsi_cfg_tc (struct ice_vsi *vsi , u8 ena_tc ); ARGUMENTS vsi VSI to be configured ena_tc TC bitmap DESCRIPTION VSI queues expected to be quiesced before calling this function SEE ALSO Kernel file ./drivers/net/...
ice_vsi_cfg_txq(9)
NAME ice_vsi_cfg_txq - Configure single Tx queue SYNOPSIS int ice_vsi_cfg_txq (const struct ice_vsi *vsi , struct ice_tx_ring *ring , struct ice_aqc_add_tx_qgrp *qg_buf ); ARGUMENTS vsi the VSI that queue belongs to ring Tx ring to be configured qg_buf queue group buffer RETURN 0 ...
ice_vsi_cfg_txqs(9)
NAME ice_vsi_cfg_txqs - Configure the VSI for Tx SYNOPSIS int ice_vsi_cfg_txqs (struct ice_vsi *vsi , struct ice_tx_ring **rings , u16 count ); ARGUMENTS vsi the VSI being configured rings Tx ring array to be configured count number of Tx ring array elements DESCRIPTION Return 0 o...
ice_vsi_cfg_xdp_txqs(9)
NAME ice_vsi_cfg_xdp_txqs - Configure Tx queues dedicated for XDP in given VSI SYNOPSIS int ice_vsi_cfg_xdp_txqs (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI being configured DESCRIPTION Return 0 on success and a negative value on error Configure the Tx queues dedicated for XDP in given VSI for operation. ...
ice_vsi_clean_rss_flow_fld(9)
NAME ice_vsi_clean_rss_flow_fld - Delete RSS configuration SYNOPSIS void ice_vsi_clean_rss_flow_fld (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI being cleaned up DESCRIPTION This function deletes RSS input set for all flows that were configured for this VSI SEE ALSO Kernel file ./drivers/net/ethernet...
ice_vsi_clear_napi_queues(9)
NAME ice_vsi_clear_napi_queues - dissociate netdev queues from napi SYNOPSIS void ice_vsi_clear_napi_queues (struct ice_vsi *vsi ); ARGUMENTS vsi VSI pointer DESCRIPTION Clear the association between all VSI queues queue[s] and napi. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi...
ice_vsi_clear_outer_port_vlan(9)
NAME ice_vsi_clear_outer_port_vlan - clear outer port vlan SYNOPSIS int ice_vsi_clear_outer_port_vlan (struct ice_vsi *vsi ); ARGUMENTS vsi VSI to configure DESCRIPTION The function is restoring previously set vlan config (saved in vsi->vlan_info). Setting happens in port vlan configuration. SEE ALSO Kernel...
ice_vsi_clear_rings(9)
NAME ice_vsi_clear_rings - Deallocates the Tx and Rx rings for VSI SYNOPSIS void ice_vsi_clear_rings (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI having rings deallocated 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...
ice_vsi_close(9)
NAME ice_vsi_close - Shut down a VSI SYNOPSIS void ice_vsi_close (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI being shut down 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), ...