id
stringlengths
4
63
text
stringlengths
153
8.81M
ice_set_per_vf_res(9)
NAME ice_set_per_vf_res - check if vectors and queues are available SYNOPSIS int ice_set_per_vf_res (struct ice_pf *pf , u16 num_vfs ); ARGUMENTS pf pointer to the PF structure num_vfs the number of SR-IOV VFs being configured DESCRIPTION First, determine HW interrupts from common pool. If w...
ice_set_pf_caps(9)
NAME ice_set_pf_caps - set PFs capability flags SYNOPSIS void ice_set_pf_caps (struct ice_pf *pf ); ARGUMENTS pf pointer to the PF instance 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(9),...
ice_set_pfe_link(9)
NAME ice_set_pfe_link - Set the link speed/status of the virtchnl_pf_event SYNOPSIS void ice_set_pfe_link (struct ice_vf *vf , struct virtchnl_pf_event *pfe , int ice_link_speed , bool link_up ); ARGUMENTS vf pointer to the VF structure pfe pointer to the virtchnl_pf_event to set link speed/s...
ice_set_phy_type_from_speed(9)
NAME ice_set_phy_type_from_speed - set phy_types based on speeds and advertised modes SYNOPSIS void ice_set_phy_type_from_speed (const struct ethtool_link_ksettings *ks , u64 *phy_type_low , u64 *phy_type_high , u16 adv_link_speed ); ARGUMENTS ks ethtool link ksettings struct phy_type_low ...
ice_set_priv_flags(9)
NAME ice_set_priv_flags - set private flags SYNOPSIS int ice_set_priv_flags (struct net_device *netdev , u32 flags ); ARGUMENTS netdev network interface device structure flags bit flags to be set SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ethtool.c ice_ethtool_get_maxspeed(9),...
ice_set_promisc(9)
NAME ice_set_promisc - Enable promiscuous mode for a given PF SYNOPSIS int ice_set_promisc (struct ice_vsi *vsi , u8 promisc_m ); ARGUMENTS vsi the VSI being configured promisc_m mask of promiscuous config bits SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_dev(9),...
ice_set_q_coalesce(9)
NAME ice_set_q_coalesce - set a queue's ITR/INTRL (coalesce) settings SYNOPSIS int ice_set_q_coalesce (struct ice_vsi *vsi , struct ethtool_coalesce *ec , int q_num ); ARGUMENTS vsi VSI associated to the queue that need updating ec coalesce settings to program the device with q_num ...
ice_set_q_vector_intrl(9)
NAME ice_set_q_vector_intrl - set up interrupt rate limiting SYNOPSIS void ice_set_q_vector_intrl (struct ice_q_vector *q_vector ); ARGUMENTS q_vector the vector to be configured DESCRIPTION Interrupt rate limiting is local to the vector, not per-queue so we must detect if either ring container has dynamic moder...
ice_set_rc_coalesce(9)
NAME ice_set_rc_coalesce - set ITR values for specific ring container SYNOPSIS int ice_set_rc_coalesce (struct ethtool_coalesce *ec , struct ice_ring_container *rc , struct ice_vsi *vsi ); ARGUMENTS ec ethtool structure from user to update ITR settings rc ring container that the ITR values w...
ice_set_rdma_cap(9)
NAME ice_set_rdma_cap - enable RDMA support SYNOPSIS void ice_set_rdma_cap (struct ice_pf *pf ); ARGUMENTS pf PF struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice.h ice_vector_ch_enabled(9), ice_ptp_pf_handles_tx_interrupt(9), ice_irq_dynamic_ena(9), ice_netdev_to_pf(9), ice...
ice_set_rs_bit(9)
NAME ice_set_rs_bit - set RS bit on last produced descriptor (one behind current NTU) SYNOPSIS u32 ice_set_rs_bit (const struct ice_tx_ring *xdp_ring ); ARGUMENTS xdp_ring XDP ring to produce the HW Tx descriptors on DESCRIPTION returns index of descriptor that had RS bit produced on SEE ALSO Kernel file ./drive...
ice_set_rss_cfg_symm(9)
NAME ice_set_rss_cfg_symm - set symmtery for all VSI's RSS configurations SYNOPSIS int ice_set_rss_cfg_symm (struct ice_hw *hw , struct ice_vsi *vsi , bool symm ); ARGUMENTS hw pointer to the hardware structure vsi VSI to set/unset Symmetric RSS symm TRUE to set Symmetric RSS h...
ice_set_rss_hfunc(9)
NAME ice_set_rss_hfunc - Set RSS HASH function SYNOPSIS int ice_set_rss_hfunc (struct ice_vsi *vsi , u8 hfunc ); ARGUMENTS vsi Pointer to VSI structure hfunc hash function (ICE_AQ_VSI_Q_OPT_RSS_*) DESCRIPTION Returns 0 on success, negative on failure SEE ALSO Kernel file ./drivers/net/ethe...
ice_set_rss_key(9)
NAME ice_set_rss_key - Set RSS key SYNOPSIS int ice_set_rss_key (struct ice_vsi *vsi , u8 *seed ); ARGUMENTS vsi Pointer to the VSI structure seed RSS hash seed DESCRIPTION Returns 0 on success, negative on failure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_d...
ice_set_rss_lut(9)
NAME ice_set_rss_lut - Set RSS LUT SYNOPSIS int ice_set_rss_lut (struct ice_vsi *vsi , u8 *lut , u16 lut_size ); ARGUMENTS vsi Pointer to VSI structure lut Lookup table lut_size Lookup table size DESCRIPTION Returns 0 on success, negative on failure SEE ALSO Kernel file ./driv...
ice_set_rss_vsi_ctx(9)
NAME ice_set_rss_vsi_ctx - Set RSS VSI context before adding a VSI SYNOPSIS void ice_set_rss_vsi_ctx (struct ice_vsi_ctx *ctxt , struct ice_vsi *vsi ); ARGUMENTS ctxt the VSI context being set vsi the VSI being configured SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ...
ice_set_rx_mode(9)
NAME ice_set_rx_mode - NDO callback to set the netdev filters SYNOPSIS void ice_set_rx_mode (struct net_device *netdev ); ARGUMENTS netdev network interface device 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_subt...
ice_set_rx_rings_vlan_proto(9)
NAME ice_set_rx_rings_vlan_proto - update rings with new stripped VLAN proto SYNOPSIS void ice_set_rx_rings_vlan_proto (struct ice_vsi *vsi , __be16 vlan_ethertype ); ARGUMENTS vsi PF's VSI vlan_ethertype VLAN ethertype (802.1Q or 802.1ad) in network byte order DESCRIPTION Store cu...
ice_set_rx_tstamp(9)
NAME ice_set_rx_tstamp - Enable or disable Rx timestamping SYNOPSIS void ice_set_rx_tstamp (struct ice_pf *pf , bool on ); ARGUMENTS pf The PF pointer to search in on bool value for whether timestamps are enabled or disabled SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ptp.c ...
ice_set_rxfh(9)
NAME ice_set_rxfh - set the Rx flow hash indirection table SYNOPSIS int ice_set_rxfh (struct net_device *netdev , struct ethtool_rxfh_param *rxfh , struct netlink_ext_ack *extack ); ARGUMENTS netdev network interface device structure rxfh pointer to param struct (indir, key, hfunc) extack ...
ice_set_rxnfc(9)
NAME ice_set_rxnfc - command to set Rx flow rules. SYNOPSIS int ice_set_rxnfc (struct net_device *netdev , struct ethtool_rxnfc *cmd ); ARGUMENTS netdev network interface device structure cmd ethtool rxnfc command DESCRIPTION Returns 0 for success and negative values for errors SEE ALSO Kernel ...
ice_set_safe_mode_caps(9)
NAME ice_set_safe_mode_caps - Override dev/func capabilities when in safe mode SYNOPSIS void ice_set_safe_mode_caps (struct ice_hw *hw ); ARGUMENTS hw pointer to the hardware structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_common.c ice_dump_phy_type(9), ice_set_mac_type(9), ice_is_generi...
ice_set_safe_mode_vlan_cfg(9)
NAME ice_set_safe_mode_vlan_cfg - configure PF VSI to allow all VLANs in safe mode SYNOPSIS void ice_set_safe_mode_vlan_cfg (struct ice_pf *pf ); ARGUMENTS pf PF to configure DESCRIPTION No VLAN offloads/filtering are advertised in safe mode so make sure the PF VSI can still Tx/Rx VLAN tagged packets. SEE ...
ice_set_svm(9)
NAME ice_set_svm - set single VLAN mode SYNOPSIS int ice_set_svm (struct ice_hw *hw ); ARGUMENTS hw pointer to the HW structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_vlan_mode.c ice_pkg_get_supported_vlan_mode(9), ice_aq_get_vlan_mode(9), ice_aq_is_dvm_ena(9), ice_is_dvm_ena(9), ...
ice_set_tcam_flags(9)
NAME ice_set_tcam_flags - set TCAM flag don't care mask SYNOPSIS void ice_set_tcam_flags (u16 mask , u8 dc_mask[ICE_TCAM_KEY_VAL_SZ] ); ARGUMENTS mask mask for flags dc_mask pointer to the don't care mask SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_flex_pipe.c ice_sect_id(9), ic...
ice_set_tx_maxrate(9)
NAME ice_set_tx_maxrate - NDO callback to set the maximum per-queue bitrate SYNOPSIS int ice_set_tx_maxrate (struct net_device *netdev , int queue_index , u32 maxrate ); ARGUMENTS netdev network interface device structure queue_index Queue ID maxrate maximum bandwidth in Mbps SEE ALSO Kernel...
ice_set_txq_ctx_vmvf(9)
NAME ice_set_txq_ctx_vmvf - set queue context VM/VF type and number by VSI type SYNOPSIS int ice_set_txq_ctx_vmvf (struct ice_tx_ring *ring , u8 *vmvf_type , u16 *vmvf_num ); ARGUMENTS ring the Tx ring to configure vmvf_type VM/VF type vmvf_num VM/VF number RETURN 0 on success and a negat...
ice_set_vf_bw(9)
NAME ice_set_vf_bw - set min/max VF bandwidth SYNOPSIS int ice_set_vf_bw (struct net_device *netdev , int vf_id , int min_tx_rate , int max_tx_rate ); ARGUMENTS netdev network interface device structure vf_id VF identifier min_tx_rate Minimum Tx rate in Mbps max_tx_rate Maximum Tx r...
ice_set_vf_link_state(9)
NAME ice_set_vf_link_state - SYNOPSIS int ice_set_vf_link_state (struct net_device *netdev , int vf_id , int link_state ); ARGUMENTS netdev network interface device structure vf_id VF identifier link_state required link state DESCRIPTION Set VF's link state, irrespective of physical link ...
ice_set_vf_mac(9)
NAME ice_set_vf_mac - .ndo_set_vf_mac handler SYNOPSIS int ice_set_vf_mac (struct net_device *netdev , int vf_id , u8 *mac ); ARGUMENTS netdev network interface device structure vf_id VF identifier mac MAC address DESCRIPTION program VF MAC address RETURN zero on success or an err...
ice_set_vf_port_vlan(9)
NAME ice_set_vf_port_vlan - SYNOPSIS int ice_set_vf_port_vlan (struct net_device *netdev , int vf_id , u16 vlan_id , u8 qos , __be16 vlan_proto ); ARGUMENTS netdev network interface device structure vf_id VF identifier vlan_id VLAN ID being set qos priority setting ...
ice_set_vf_spoofchk(9)
NAME ice_set_vf_spoofchk - SYNOPSIS int ice_set_vf_spoofchk (struct net_device *netdev , int vf_id , bool ena ); ARGUMENTS netdev network interface device structure vf_id VF identifier ena flag to enable or disable feature DESCRIPTION Enable or disable VF spoof checking SEE ALSO K...
ice_set_vf_state_dis(9)
NAME ice_set_vf_state_dis - Set VF state to disabled SYNOPSIS void ice_set_vf_state_dis (struct ice_vf *vf ); ARGUMENTS vf pointer to the VF structure 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_vfs(9), ice_get_num_v...
ice_set_vf_state_qs_dis(9)
NAME ice_set_vf_state_qs_dis - Set VF queues state to disabled SYNOPSIS void ice_set_vf_state_qs_dis (struct ice_vf *vf ); ARGUMENTS vf pointer to the VF structure 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_vfs(9), ...
ice_set_vf_trust(9)
NAME ice_set_vf_trust - SYNOPSIS int ice_set_vf_trust (struct net_device *netdev , int vf_id , bool trusted ); ARGUMENTS netdev network interface device structure vf_id VF identifier trusted Boolean value to enable/disable trusted VF DESCRIPTION Enable or disable a given VF as trusted ...
ice_set_vlan_features(9)
NAME ice_set_vlan_features - set VLAN settings based on suggested feature set SYNOPSIS int ice_set_vlan_features (struct net_device *netdev , netdev_features_t features ); ARGUMENTS netdev ptr to the netdev being adjusted features the feature set that the stack is suggesting DESCRIPTION Only update V...
ice_set_vlan_filtering_features(9)
NAME ice_set_vlan_filtering_features - set VLAN filtering features for the PF VSI SYNOPSIS int ice_set_vlan_filtering_features (struct ice_vsi *vsi , netdev_features_t features ); ARGUMENTS vsi PF's VSI features features used to determine VLAN filtering settings DESCRIPTION Enable or disable Rx VL...
ice_set_vlan_mode(9)
NAME ice_set_vlan_mode - SYNOPSIS int ice_set_vlan_mode (struct ice_hw *hw ); ARGUMENTS hw pointer to the HW structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_vlan_mode.c ice_pkg_get_supported_vlan_mode(9), ice_aq_get_vlan_mode(9), ice_aq_is_dvm_ena(9), ice_is_dvm_ena(9), ice_cach...
ice_set_vlan_offload_features(9)
NAME ice_set_vlan_offload_features - set VLAN offload features for the PF VSI SYNOPSIS int ice_set_vlan_offload_features (struct ice_vsi *vsi , netdev_features_t features ); ARGUMENTS vsi PF's VSI features features used to determine VLAN offload settings DESCRIPTION First, determine the vlan_ether...
ice_set_vlan_vsi_promisc(9)
NAME ice_set_vlan_vsi_promisc - SYNOPSIS int ice_set_vlan_vsi_promisc (struct ice_hw *hw , u16 vsi_handle , u8 promisc_mask , bool rm_vlan_promisc ); ARGUMENTS hw pointer to the hardware structure vsi_handle VSI handle to configure promisc_mask mask of promiscuous config b...
ice_set_vsi_promisc(9)
NAME ice_set_vsi_promisc - set given VSI to given promiscuous mode(s) SYNOPSIS int ice_set_vsi_promisc (struct ice_hw *hw , u16 vsi_handle , u8 promisc_mask , u16 vid ); ARGUMENTS hw pointer to the hardware structure vsi_handle VSI handle to configure promisc_mask mask of ...
ice_set_wake(9)
NAME ice_set_wake - enable or disable Wake on LAN SYNOPSIS void ice_set_wake (struct ice_pf *pf ); ARGUMENTS pf pointer to the PF struct DESCRIPTION Simple helper for WoL control 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...
ice_set_wb_on_itr(9)
NAME ice_set_wb_on_itr - set WB_ON_ITR for this q_vector SYNOPSIS void ice_set_wb_on_itr (struct ice_q_vector *q_vector ); ARGUMENTS q_vector q_vector to set WB_ON_ITR on DESCRIPTION We need to tell hardware to write-back completed descriptors even when interrupts are disabled. Descriptors will be written bac...
ice_set_wol(9)
NAME ice_set_wol - set Wake on LAN on supported device SYNOPSIS int ice_set_wol (struct net_device *netdev , struct ethtool_wolinfo *wol ); ARGUMENTS netdev network interface device structure wol Ethtool structure to set WoL SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ethtool.c...
ice_setup_autoneg(9)
NAME ice_setup_autoneg - SYNOPSIS int ice_setup_autoneg (struct ice_port_info *p , struct ethtool_link_ksettings *ks , struct ice_aqc_set_phy_cfg_data *config , u8 autoneg_enabled , u8 *autoneg_changed , struct net_device *netdev ); ARGUMENTS p port info ks ethtool_link_ksettings co...
ice_setup_channel(9)
NAME ice_setup_channel - setup new channel using uplink element SYNOPSIS bool ice_setup_channel (struct ice_pf *pf , struct ice_vsi *vsi , struct ice_channel *ch ); ARGUMENTS pf ptr to PF device vsi the VSI being setup ch ptr to channel structure DESCRIPTION Setup new channe...
ice_setup_dcb_qos_info(9)
NAME ice_setup_dcb_qos_info - Setup DCB QoS information SYNOPSIS void ice_setup_dcb_qos_info (struct ice_pf *pf , struct iidc_rdma_qos_params *qos_info ); ARGUMENTS pf ptr to ice_pf qos_info QoS param instance SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_dcb_lib.c ice_dcb_get_e...
ice_setup_hw_channel(9)
NAME ice_setup_hw_channel - setup new channel SYNOPSIS int ice_setup_hw_channel (struct ice_pf *pf , struct ice_vsi *vsi , struct ice_channel *ch , u16 sw_id , u8 type ); ARGUMENTS pf ptr to PF device vsi the VSI being setup ch ptr to channel structure sw_id und...
ice_setup_mc_magic_wake(9)
NAME ice_setup_mc_magic_wake - setup device to wake on multicast magic packet SYNOPSIS void ice_setup_mc_magic_wake (struct ice_pf *pf ); ARGUMENTS pf pointer to the PF struct DESCRIPTION Issue firmware command to enable multicast magic wake, making sure that any locally administered address (LAA) is used f...
ice_setup_rx_ctx(9)
NAME ice_setup_rx_ctx - Configure a receive ring context SYNOPSIS int ice_setup_rx_ctx (struct ice_rx_ring *ring ); ARGUMENTS ring The Rx ring to configure DESCRIPTION Configure the Rx descriptor ring in RLAN context. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_base.c __ice_vsi_get_qs_contig(9)...
ice_setup_rx_ring(9)
NAME ice_setup_rx_ring - Allocate the Rx descriptors SYNOPSIS int ice_setup_rx_ring (struct ice_rx_ring *rx_ring ); ARGUMENTS rx_ring the Rx ring to set up DESCRIPTION Return 0 on success, negative on error SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_txrx.c ice_prgm_fdir_fltr(9), ice_unmap...
ice_setup_tc_block_cb_egress(9)
NAME ice_setup_tc_block_cb_egress - callback handler for egress TC block SYNOPSIS int ice_setup_tc_block_cb_egress (enum tc_setup_type type , void *type_data , void *cb_priv ); ARGUMENTS type TC SETUP type type_data TC flower offload data that contains user input cb_priv netdev private da...
ice_setup_tc_block_cb_ingress(9)
NAME ice_setup_tc_block_cb_ingress - callback handler for ingress TC block SYNOPSIS int ice_setup_tc_block_cb_ingress (enum tc_setup_type type , void *type_data , void *cb_priv ); ARGUMENTS type TC SETUP type type_data TC flower offload data that contains user input cb_priv netdev private...
ice_setup_tc_cls_flower(9)
NAME ice_setup_tc_cls_flower - flower classifier offloads SYNOPSIS int ice_setup_tc_cls_flower (struct ice_netdev_priv *np , struct net_device *filter_dev , struct flow_cls_offload *cls_flower , bool ingress ); ARGUMENTS np net device to configure filter_dev device on which filter is added c...
ice_setup_tc_mqprio_qdisc(9)
NAME ice_setup_tc_mqprio_qdisc - configure multiple traffic classes SYNOPSIS int ice_setup_tc_mqprio_qdisc (struct net_device *netdev , void *type_data ); ARGUMENTS netdev net device to configure type_data TC offload data SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to...
ice_setup_tstamp_ring(9)
NAME ice_setup_tstamp_ring - allocate the Time Stamp ring SYNOPSIS int ice_setup_tstamp_ring (struct ice_tx_ring *tx_ring ); ARGUMENTS tx_ring Tx ring to set up the Time Stamp ring for RETURN 0 on success, negative on error SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_txrx.c ice_prgm_fdir_flt...
ice_setup_tx_ctx(9)
NAME ice_setup_tx_ctx - setup a struct ice_tlan_ctx instance SYNOPSIS int ice_setup_tx_ctx (struct ice_tx_ring *ring , struct ice_tlan_ctx *tlan_ctx , u16 pf_q ); ARGUMENTS ring the Tx ring to configure tlan_ctx pointer to the Tx LAN queue context structure to be initialized pf_q queu...
ice_setup_tx_ring(9)
NAME ice_setup_tx_ring - Allocate the Tx descriptors SYNOPSIS int ice_setup_tx_ring (struct ice_tx_ring *tx_ring ); ARGUMENTS tx_ring the Tx ring to set up DESCRIPTION Return 0 on success, negative on error SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_txrx.c ice_prgm_fdir_fltr(9), ice_unmap...
ice_setup_txtime_ctx(9)
NAME ice_setup_txtime_ctx - setup a struct ice_txtime_ctx instance SYNOPSIS int ice_setup_txtime_ctx (const struct ice_tstamp_ring *ring , struct ice_txtime_ctx *txtime_ctx ); ARGUMENTS ring the tstamp ring to configure txtime_ctx pointer to the Tx time queue context structure to be initialized RETUR...
ice_sf_cfg_netdev(9)
NAME ice_sf_cfg_netdev - Allocate, configure and register a netdev SYNOPSIS int ice_sf_cfg_netdev (struct ice_dynamic_port *dyn_port , struct devlink_port *devlink_port ); ARGUMENTS dyn_port subfunction associated with configured netdev devlink_port subfunction devlink port to be linked ...
ice_sf_dev_probe(9)
NAME ice_sf_dev_probe - subfunction driver probe function SYNOPSIS int ice_sf_dev_probe (struct auxiliary_device *adev , const struct auxiliary_device_id *id ); ARGUMENTS adev pointer to the auxiliary device id pointer to the auxiliary_device id DESCRIPTION Configure VSI and netdev resources ...
ice_sf_dev_release(9)
NAME ice_sf_dev_release - Release device associated with auxiliary device SYNOPSIS void ice_sf_dev_release (struct device *device ); ARGUMENTS device pointer to the device DESCRIPTION Since most of the code for subfunction deactivation is handled in the remove handler, here just free tracking resources. SEE AL...
ice_sf_dev_remove(9)
NAME ice_sf_dev_remove - subfunction driver remove function SYNOPSIS void ice_sf_dev_remove (struct auxiliary_device *adev ); ARGUMENTS adev pointer to the auxiliary device DESCRIPTION Deinitalize VSI and netdev resources for the subfunction device. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_...
ice_sf_driver_register(9)
NAME ice_sf_driver_register - Register new auxiliary subfunction driver SYNOPSIS int ice_sf_driver_register (void ); ARGUMENTS void no arguments RETURN zero on success or an error code on failure. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_sf_eth.c ice_sf_cfg_netdev(9), ice_sf_dev_probe(9)...
ice_sf_driver_unregister(9)
NAME ice_sf_driver_unregister - Unregister new auxiliary subfunction driver SYNOPSIS void ice_sf_driver_unregister (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_sf_eth.c ice_sf_cfg_netdev(9), ice_sf_dev_probe(9), ice_sf_dev_remove(9), ice_sf_driver_register(9),...
ice_sf_eth_activate(9)
NAME ice_sf_eth_activate - Activate Ethernet subfunction port SYNOPSIS int ice_sf_eth_activate (struct ice_dynamic_port *dyn_port , struct netlink_ext_ack *extack ); ARGUMENTS dyn_port the dynamic port instance for this subfunction extack extack for reporting error messages DESCRIPTION Activate the d...
ice_sf_eth_deactivate(9)
NAME ice_sf_eth_deactivate - Deactivate Ethernet subfunction port SYNOPSIS void ice_sf_eth_deactivate (struct ice_dynamic_port *dyn_port ); ARGUMENTS dyn_port the dynamic port instance for this subfunction DESCRIPTION Deactivate the Ethernet subfunction, removing its auxiliary device and the associated resources....
ice_share_res(9)
NAME ice_share_res - set a resource as shared or dedicated SYNOPSIS int ice_share_res (struct ice_hw *hw , u16 type , u8 shared , u16 res_id ); ARGUMENTS hw hw struct of original owner of resource type resource type shared is the resource being set to shared res_id re...
ice_should_retry_sq_send_cmd(9)
NAME ice_should_retry_sq_send_cmd - SYNOPSIS bool ice_should_retry_sq_send_cmd (u16 opcode ); ARGUMENTS opcode AQ opcode DESCRIPTION Decide if we should retry the send command routine for the ATQ, depending on the opcode. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_common.c ice_dump_phy_type(9), ...
ice_shutdown(9)
NAME ice_shutdown - PCI callback for shutting down device SYNOPSIS void ice_shutdown (struct pci_dev *pdev ); ARGUMENTS pdev PCI device information struct 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_shutdown_all_ctrlq(9)
NAME ice_shutdown_all_ctrlq - shutdown routine for all control queues SYNOPSIS void ice_shutdown_all_ctrlq (struct ice_hw *hw , bool unloading ); ARGUMENTS hw pointer to the hardware structure unloading is the driver unloading itself NOTE this function does not destroy the control queue locks. The...
ice_shutdown_all_prof_masks(9)
NAME ice_shutdown_all_prof_masks - releases all locks for masking SYNOPSIS void ice_shutdown_all_prof_masks (struct ice_hw *hw ); ARGUMENTS hw pointer to the HW struct DESCRIPTION This should be called before unloading the driver SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_flex_pipe.c ice...
ice_shutdown_ctrlq(9)
NAME ice_shutdown_ctrlq - shutdown routine for any control queue SYNOPSIS void ice_shutdown_ctrlq (struct ice_hw *hw , enum ice_ctl_q q_type , bool unloading ); ARGUMENTS hw pointer to the hardware structure q_type specific Control queue type unloading is the driver unloading itself N...
ice_shutdown_prof_masks(9)
NAME ice_shutdown_prof_masks - releases lock for masking SYNOPSIS void ice_shutdown_prof_masks (struct ice_hw *hw , enum ice_block blk ); ARGUMENTS hw pointer to the HW struct blk hardware block DESCRIPTION This should be called before unloading the driver SEE ALSO Kernel file ./drivers/...
ice_shutdown_rq(9)
NAME ice_shutdown_rq - shutdown Control ARQ SYNOPSIS int ice_shutdown_rq (struct ice_hw *hw , struct ice_ctl_q_info *cq ); ARGUMENTS hw pointer to the hardware structure cq pointer to the specific Control queue DESCRIPTION The main shutdown routine for the Control Receive Queue SEE ALSO Ke...
ice_shutdown_sq(9)
NAME ice_shutdown_sq - shutdown the transmit side of a control queue SYNOPSIS int ice_shutdown_sq (struct ice_hw *hw , struct ice_ctl_q_info *cq ); ARGUMENTS hw pointer to the hardware structure cq pointer to the specific Control queue DESCRIPTION The main shutdown routine for the Control T...
ice_speed_to_aq_link(9)
NAME ice_speed_to_aq_link - Get AQ link speed by Ethtool forced speed SYNOPSIS u16 ice_speed_to_aq_link (int speed ); ARGUMENTS speed ethtool forced speed SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ethtool.c ice_ethtool_get_maxspeed(9), ice_is_serdes_muxed(9), ice_get_port_topology(9), ice_g...
ice_sq_done(9)
NAME ice_sq_done - poll until the last send on a control queue has completed SYNOPSIS bool ice_sq_done (struct ice_hw *hw , struct ice_ctl_q_info *cq ); ARGUMENTS hw pointer to the HW struct cq pointer to the specific Control queue DESCRIPTION Use read_poll_timeout to poll the control queue...
ice_sq_send_cmd(9)
NAME ice_sq_send_cmd - send command to a control queue SYNOPSIS int ice_sq_send_cmd (struct ice_hw *hw , struct ice_ctl_q_info *cq , struct libie_aq_desc *desc , void *buf , u16 buf_size , struct ice_sq_cd *cd ); ARGUMENTS hw pointer to the HW struct cq pointer to the specific Control queue ...
ice_sq_send_cmd_retry(9)
NAME ice_sq_send_cmd_retry - send command to Control Queue (ATQ) SYNOPSIS int ice_sq_send_cmd_retry (struct ice_hw *hw , struct ice_ctl_q_info *cq , struct libie_aq_desc *desc , void *buf , u16 buf_size , struct ice_sq_cd *cd ); ARGUMENTS hw pointer to the HW struct cq pointer to the specifi...
ice_sriov_clear_mbx_register(9)
NAME ice_sriov_clear_mbx_register - clears SRIOV VF's mailbox registers SYNOPSIS void ice_sriov_clear_mbx_register (struct ice_vf *vf ); ARGUMENTS vf the vf to configure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_sriov.c ice_free_vf_entries(9), ice_free_vf_res(9), ice_dis_vf_mappings(9), ...
ice_sriov_clear_reset_state(9)
NAME ice_sriov_clear_reset_state - clears VF Reset status register SYNOPSIS void ice_sriov_clear_reset_state (struct ice_vf *vf ); ARGUMENTS vf the vf to configure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_sriov.c ice_free_vf_entries(9), ice_free_vf_res(9), ice_dis_vf_mappings(9), ice_fr...
ice_sriov_clear_reset_trigger(9)
NAME ice_sriov_clear_reset_trigger - enable VF to access hardware SYNOPSIS void ice_sriov_clear_reset_trigger (struct ice_vf *vf ); ARGUMENTS vf VF to enabled hardware access for SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_sriov.c ice_free_vf_entries(9), ice_free_vf_res(9), ice_dis_vf_mappi...
ice_sriov_configure(9)
NAME ice_sriov_configure - Enable or change number of VFs via sysfs SYNOPSIS int ice_sriov_configure (struct pci_dev *pdev , int num_vfs ); ARGUMENTS pdev pointer to a pci_dev structure num_vfs number of VFs to allocate or 0 to free VFs DESCRIPTION This function is called when the user updates the...
ice_sriov_free_vf(9)
NAME ice_sriov_free_vf - Free VF memory after all references are dropped SYNOPSIS void ice_sriov_free_vf (struct ice_vf *vf ); ARGUMENTS vf pointer to VF to free DESCRIPTION Called by ice_put_vf through ice_release_vf once the last reference to a VF structure has been dropped. SEE ALSO Kernel file ./driv...
ice_sriov_get_vf_total_msix(9)
NAME ice_sriov_get_vf_total_msix - return number of MSI-X used by VFs SYNOPSIS u32 ice_sriov_get_vf_total_msix (struct pci_dev *pdev ); ARGUMENTS pdev pointer to pci_dev struct DESCRIPTION The function is called via sysfs ops SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_sriov.c ice_free_vf_en...
ice_sriov_poll_reset_status(9)
NAME ice_sriov_poll_reset_status - poll SRIOV VF reset status SYNOPSIS bool ice_sriov_poll_reset_status (struct ice_vf *vf ); ARGUMENTS vf pointer to VF structure DESCRIPTION Returns true when reset is successful, else returns false SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_sriov.c ice_f...
ice_sriov_post_vsi_rebuild(9)
NAME ice_sriov_post_vsi_rebuild - tasks to do after the VF's VSI have been rebuilt SYNOPSIS void ice_sriov_post_vsi_rebuild (struct ice_vf *vf ); ARGUMENTS vf VF to perform tasks on SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_sriov.c ice_free_vf_entries(9), ice_free_vf_res(9), ice_dis_vf_m...
ice_sriov_set_msix_vec_count(9)
NAME ice_sriov_set_msix_vec_count - SYNOPSIS int ice_sriov_set_msix_vec_count (struct pci_dev *vf_dev , int msix_vec_count ); ARGUMENTS vf_dev pointer to pci_dev struct of VF device msix_vec_count new value for MSI-X amount on this VF DESCRIPTION Set requested MSI-X, queues and r...
ice_sriov_trigger_reset_register(9)
NAME ice_sriov_trigger_reset_register - trigger VF reset for SRIOV VF SYNOPSIS void ice_sriov_trigger_reset_register (struct ice_vf *vf , bool is_vflr ); ARGUMENTS vf pointer to VF structure is_vflr true if reset occurred due to VFLR DESCRIPTION Trigger and cleanup after a VF reset for a SR-IOV ...
ice_start_phy_timer_e82x(9)
NAME ice_start_phy_timer_e82x - Start the PHY clock timer SYNOPSIS int ice_start_phy_timer_e82x (struct ice_hw *hw , u8 port ); ARGUMENTS hw pointer to the HW struct port the PHY port to start DESCRIPTION Start the clock of a PHY port. This must be done as part of the flow to re-calibrate T...
ice_start_phy_timer_eth56g(9)
NAME ice_start_phy_timer_eth56g - Start the PHY clock timer SYNOPSIS int ice_start_phy_timer_eth56g (struct ice_hw *hw , u8 port ); ARGUMENTS hw pointer to the HW struct port the PHY port to start DESCRIPTION Start the clock of a PHY port. This must be done as part of the flow to re-calibrate...
ice_start_vfs(9)
NAME ice_start_vfs - start VFs so they are ready to be used by SR-IOV SYNOPSIS int ice_start_vfs (struct ice_pf *pf ); ARGUMENTS pf PF the VFs are associated with SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_sriov.c ice_free_vf_entries(9), ice_free_vf_res(9), ice_dis_vf_mappings(9), ice_free...
ice_start_xmit(9)
NAME ice_start_xmit - Selects the correct VSI and Tx queue to send buffer SYNOPSIS netdev_tx_t ice_start_xmit (struct sk_buff *skb , struct net_device *netdev ); ARGUMENTS skb send buffer netdev network interface device structure DESCRIPTION Returns NETDEV_TX_OK if sent, else an error code SEE ...
ice_stat_update32(9)
NAME ice_stat_update32 - read 32 bit stat from the chip and update stat values SYNOPSIS void ice_stat_update32 (struct ice_hw *hw , u32 reg , bool prev_stat_loaded , u64 *prev_stat , u64 *cur_stat ); ARGUMENTS hw ptr to the hardware info reg offset of HW register to read from prev_sta...
ice_stat_update40(9)
NAME ice_stat_update40 - read 40 bit stat from the chip and update stat values SYNOPSIS void ice_stat_update40 (struct ice_hw *hw , u32 reg , bool prev_stat_loaded , u64 *prev_stat , u64 *cur_stat ); ARGUMENTS hw ptr to the hardware info reg offset of 64 bit HW register to read from p...
ice_stats_inc(9)
NAME ice_stats_inc - Increment a single ring stat value SYNOPSIS ice_stats_inc (stats , member ); ARGUMENTS stats pointer to the ring_stats structure for a queue member the ice_ring_stats member to increment DESCRIPTION Shorthand for incrementing a single 64-bit stat value in struct ice_ring_stats...
ice_stats_read(9)
NAME ice_stats_read - Read a single ring stat value SYNOPSIS ice_stats_read (stats , member ); ARGUMENTS stats pointer to ring_stats structure for a queue member the ice_ring_stats member to read DESCRIPTION Shorthand for reading a single 64-bit stat value from struct ice_ring_stats. RETURN the v...
ice_stop(9)
NAME ice_stop - Disables a network interface SYNOPSIS int ice_stop (struct net_device *netdev ); ARGUMENTS netdev network interface device structure DESCRIPTION The stop entry point is called when an interface is de-activated by the OS, and the netdevice enters the DOWN state. The hardware is still under the dr...
ice_stop_phy_timer_e82x(9)
NAME ice_stop_phy_timer_e82x - Stop the PHY clock timer SYNOPSIS int ice_stop_phy_timer_e82x (struct ice_hw *hw , u8 port , bool soft_reset ); ARGUMENTS hw pointer to the HW struct port the PHY port to stop soft_reset if true, hold the SOFT_RESET bit of P_REG_PS DESCRIPTION Stop the ...