id
stringlengths
4
63
text
stringlengths
153
8.81M
ice_init_pkg_hints(9)
NAME ice_init_pkg_hints - SYNOPSIS void ice_init_pkg_hints (struct ice_hw *hw , struct ice_seg *ice_seg ); ARGUMENTS hw pointer to the HW structure ice_seg pointer to the segment of the package scan (non-NULL) DESCRIPTION This function will scan the package and save off relevant information...
ice_init_pkg_info(9)
NAME ice_init_pkg_info - SYNOPSIS enum ice_ddp_state ice_init_pkg_info (struct ice_hw *hw , struct ice_pkg_hdr *pkg_hdr ); ARGUMENTS hw pointer to the hardware structure pkg_hdr pointer to the driver's package hdr DESCRIPTION Saves off the package details into the HW structure. SEE ALSO Kernel ...
ice_init_pkg_regs(9)
NAME ice_init_pkg_regs - initialize additional package registers SYNOPSIS void ice_init_pkg_regs (struct ice_hw *hw ); ARGUMENTS hw pointer to the hardware structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ddp.c ice_verify_pkg(9), ice_free_seg(9), ice_chk_pkg_version(9), ice_pkg_val_buf(9)...
ice_init_prof_masks(9)
NAME ice_init_prof_masks - initial prof masks SYNOPSIS void ice_init_prof_masks (struct ice_hw *hw , enum ice_block blk ); ARGUMENTS hw pointer to the HW struct blk hardware block SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_flex_pipe.c ice_sect_id(9), ice_hw_ptype_ena(9), ...
ice_init_prof_result_bm(9)
NAME ice_init_prof_result_bm - Initialize the profile result index bitmap SYNOPSIS void ice_init_prof_result_bm (struct ice_hw *hw ); ARGUMENTS hw pointer to hardware structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ddp.c ice_verify_pkg(9), ice_free_seg(9), ice_chk_pkg_version(9), ice_pkg...
ice_init_rdma(9)
NAME ice_init_rdma - initializes PF for RDMA use SYNOPSIS int ice_init_rdma (struct ice_pf *pf ); ARGUMENTS pf ptr to ice_pf SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_idc.c ice_get_auxiliary_drv(9), ice_send_event_to_aux(9), ice_add_rdma_qset(9), ice_del_rdma_qset(9), ice_rdma_request_r...
ice_init_rq(9)
NAME ice_init_rq - initialize receive side of a control queue SYNOPSIS int ice_init_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 initialization routine for Receive side of ...
ice_init_sq(9)
NAME ice_init_sq - main initialization routine for Control ATQ SYNOPSIS int ice_init_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 This is the main initialization routine for the Cont...
ice_init_supported_rxdids(9)
NAME ice_init_supported_rxdids - Initialize supported Rx descriptor IDs SYNOPSIS void ice_init_supported_rxdids (struct ice_hw *hw , struct ice_pf *pf ); ARGUMENTS hw pointer to the hardware structure pf pointer to pf structure DESCRIPTION The pf->supported_rxdids bitmap is used to indicat...
ice_init_sw_db(9)
NAME ice_init_sw_db - init software database from HW tables SYNOPSIS void ice_init_sw_db (struct ice_hw *hw ); ARGUMENTS hw pointer to the hardware structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_flex_pipe.c ice_sect_id(9), ice_hw_ptype_ena(9), ice_gen_key_word(9), ice_bits_max_se...
ice_init_sw_xlt1_db(9)
NAME ice_init_sw_xlt1_db - init software XLT1 database from HW tables SYNOPSIS void ice_init_sw_xlt1_db (struct ice_hw *hw , enum ice_block blk ); ARGUMENTS hw pointer to the hardware structure blk the HW block to initialize SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_flex_p...
ice_init_sw_xlt2_db(9)
NAME ice_init_sw_xlt2_db - init software XLT2 database from HW tables SYNOPSIS void ice_init_sw_xlt2_db (struct ice_hw *hw , enum ice_block blk ); ARGUMENTS hw pointer to the hardware structure blk the HW block to initialize SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_flex_p...
ice_init_tx_topology(9)
NAME ice_init_tx_topology - performs Tx topology initialization SYNOPSIS int ice_init_tx_topology (struct ice_hw *hw , const struct firmware *firmware ); ARGUMENTS hw pointer to the hardware structure firmware pointer to firmware structure RETURN zero when init was successful, negative values oth...
ice_init_vf_vsi_res(9)
NAME ice_init_vf_vsi_res - initialize/setup VF VSI resources SYNOPSIS int ice_init_vf_vsi_res (struct ice_vf *vf ); ARGUMENTS vf VF to initialize/setup the VSI for DESCRIPTION This function creates a VSI for the VF, adds a VLAN 0 filter, and sets up the VF VSI's broadcast filter and is only used during init...
ice_initialize_vf_entry(9)
NAME ice_initialize_vf_entry - Initialize a VF entry SYNOPSIS void ice_initialize_vf_entry (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_nu...
ice_intr_test(9)
NAME ice_intr_test - perform an interrupt test on a given net_device SYNOPSIS u64 ice_intr_test (struct net_device *netdev ); ARGUMENTS netdev network interface device structure DESCRIPTION This function performs one of the self-tests required by ethtool. Returns 0 on success, non-zero on failure. SEE ALSO Ke...
ice_intrl_usec_to_reg(9)
NAME ice_intrl_usec_to_reg - convert interrupt rate limit to register value SYNOPSIS u32 ice_intrl_usec_to_reg (u8 intrl , u8 gran ); ARGUMENTS intrl interrupt rate limit in usecs gran interrupt rate limit granularity in usecs DESCRIPTION This function converts a decimal interrupt rate limit in ...
ice_irq_dynamic_ena(9)
NAME ice_irq_dynamic_ena - Enable default interrupt generation settings SYNOPSIS void ice_irq_dynamic_ena (struct ice_hw *hw , struct ice_vsi *vsi , struct ice_q_vector *q_vector ); ARGUMENTS hw pointer to HW struct vsi pointer to VSI struct, can be NULL q_vector pointer to q_vecto...
ice_is_100m_speed_supported(9)
NAME ice_is_100m_speed_supported - SYNOPSIS bool ice_is_100m_speed_supported (struct ice_hw *hw ); ARGUMENTS hw pointer to the HW struct DESCRIPTION returns true if 100M speeds are supported by the device, false otherwise. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_common.c ice_dump_phy_type...
ice_is_40b_phy_reg_e82x(9)
NAME ice_is_40b_phy_reg_e82x - Check if this is a 40bit PHY register SYNOPSIS bool ice_is_40b_phy_reg_e82x (u16 low_addr , u16 *high_addr ); ARGUMENTS low_addr the low address to check high_addr on return, contains the high address of the 40bit value DESCRIPTION Checks if the provided low address is on...
ice_is_40b_phy_reg_eth56g(9)
NAME ice_is_40b_phy_reg_eth56g - Check if this is a 40bit PHY register SYNOPSIS bool ice_is_40b_phy_reg_eth56g (u16 low_addr , u16 *high_addr ); ARGUMENTS low_addr the low address to check high_addr on return, contains the high address of the 40bit value DESCRIPTION Write the appropriate high register o...
ice_is_64b_phy_reg_e82x(9)
NAME ice_is_64b_phy_reg_e82x - Check if this is a 64bit PHY register SYNOPSIS bool ice_is_64b_phy_reg_e82x (u16 low_addr , u16 *high_addr ); ARGUMENTS low_addr the low address to check high_addr on return, contains the high address of the 64bit register DESCRIPTION Checks if the provided low address is ...
ice_is_64b_phy_reg_eth56g(9)
NAME ice_is_64b_phy_reg_eth56g - Check if this is a 64bit PHY register SYNOPSIS bool ice_is_64b_phy_reg_eth56g (u16 low_addr , u16 *high_addr ); ARGUMENTS low_addr the low address to check high_addr on return, contains the high address of the 64bit register DESCRIPTION Write the appropriate high registe...
ice_is_adq_active(9)
NAME ice_is_adq_active - any active ADQs SYNOPSIS bool ice_is_adq_active (struct ice_pf *pf ); ARGUMENTS pf pointer to PF DESCRIPTION This function returns true if there are any ADQs configured (which is determined by looking at VSI type (which should be VSI_PF), numtc, and TC_MQPRIO flag) otherwise return ...
ice_is_any_vf_in_unicast_promisc(9)
NAME ice_is_any_vf_in_unicast_promisc - check if any VF(s) are in unicast promiscuous mode SYNOPSIS bool ice_is_any_vf_in_unicast_promisc (struct ice_pf *pf ); ARGUMENTS pf PF structure for accessing VF(s) DESCRIPTION Return false if no VF(s) are in unicast promiscuous mode, else return true SEE ALSO Kerne...
ice_is_arfs_active(9)
NAME ice_is_arfs_active - helper to check is aRFS is active SYNOPSIS bool ice_is_arfs_active (struct ice_vsi *vsi ); ARGUMENTS vsi VSI to check SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_arfs.c ice_is_arfs_using_perfect_flow(9), ice_arfs_update_active_fltr_cntrs(9), ice_arfs_del_flow_rul...
ice_is_arfs_using_perfect_flow(9)
NAME ice_is_arfs_using_perfect_flow - check if aRFS has active perfect filters SYNOPSIS bool ice_is_arfs_using_perfect_flow (struct ice_hw *hw , enum ice_fltr_ptype flow_type ); ARGUMENTS hw pointer to the HW structure flow_type flow type as Flow Director understands it DESCRIPTION Flow Director w...
ice_is_buffer_metadata(9)
NAME ice_is_buffer_metadata - determine if package buffer is a metadata buffer SYNOPSIS bool ice_is_buffer_metadata (struct ice_buf_hdr *buf ); ARGUMENTS buf pointer to buffer header RETURN whether given buf is a metadata one. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ddp.c ice_verify_pkg(9)...
ice_is_cgu_in_netlist(9)
NAME ice_is_cgu_in_netlist - check for CGU presence SYNOPSIS bool ice_is_cgu_in_netlist (struct ice_hw *hw ); ARGUMENTS hw pointer to the hw struct DESCRIPTION Check if the Clock Generation Unit (CGU) device is present in the netlist. Save the CGU part number in the hw structure for later use. RETURN * tr...
ice_is_chnl_fltr(9)
NAME ice_is_chnl_fltr - is this a valid channel filter SYNOPSIS bool ice_is_chnl_fltr (struct ice_tc_flower_fltr *f ); ARGUMENTS f Pointer to tc-flower filter DESCRIPTION Criteria to determine of given filter is valid channel filter or not is based on its destination. For forward to VSI action, if destina...
ice_is_clock_mux_in_netlist(9)
NAME ice_is_clock_mux_in_netlist - SYNOPSIS bool ice_is_clock_mux_in_netlist (struct ice_hw *hw ); ARGUMENTS hw pointer to the hw struct DESCRIPTION Check if the Clock Multiplexer device is present in the netlist SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_common.c ice_dump_phy_type(9), ice_s...
ice_is_dflt_vsi_in_use(9)
NAME ice_is_dflt_vsi_in_use - check if the default forwarding VSI is being used SYNOPSIS bool ice_is_dflt_vsi_in_use (struct ice_port_info *pi ); ARGUMENTS pi port info of the switch with default VSI DESCRIPTION Return true if the there is a single VSI in default forwarding VSI list SEE ALSO Kernel file ...
ice_is_dual(9)
NAME ice_is_dual - Check if given config is multi-NAC SYNOPSIS bool ice_is_dual (struct ice_hw *hw ); ARGUMENTS hw pointer to HW structure RETURN true if the device is running in mutli-NAC (Network Acceleration Complex) configuration variant, false otherwise (always false for non-E825 devices). SEE ALSO Ke...
ice_is_dvm_ena(9)
NAME ice_is_dvm_ena - check if double VLAN mode is enabled SYNOPSIS bool ice_is_dvm_ena (struct ice_hw *hw ); ARGUMENTS hw pointer to the HW structure DESCRIPTION The device is configured in single or double VLAN mode on initialization and this cannot be dynamically changed during runtime. Based on this ...
ice_is_dvm_supported(9)
NAME ice_is_dvm_supported - check if Double VLAN Mode is supported SYNOPSIS bool ice_is_dvm_supported (struct ice_hw *hw ); ARGUMENTS hw pointer to the hardware structure DESCRIPTION Returns true if Double VLAN Mode (DVM) is supported and false if only Single VLAN Mode (SVM) is supported. In order for DVM t...
ice_is_eswitch_mode_switchdev(9)
NAME ice_is_eswitch_mode_switchdev - check if eswitch mode is set to switchdev SYNOPSIS bool ice_is_eswitch_mode_switchdev (struct ice_pf *pf ); ARGUMENTS pf pointer to PF structure DESCRIPTION Returns true if eswitch mode is set to DEVLINK_ESWITCH_MODE_SWITCHDEV, false otherwise. SEE ALSO Kernel file ./...
ice_is_feature_supported(9)
NAME ice_is_feature_supported - SYNOPSIS bool ice_is_feature_supported (struct ice_pf *pf , enum ice_feature f ); ARGUMENTS pf pointer to the struct ice_pf instance f feature enum to be checked DESCRIPTION returns true if feature is supported, false otherwise SEE ALSO Kernel file ./...
ice_is_fw_api_min_ver(9)
NAME ice_is_fw_api_min_ver - SYNOPSIS bool ice_is_fw_api_min_ver (struct ice_hw *hw , u8 maj , u8 min , u8 patch ); ARGUMENTS hw pointer to the hardware structure maj major version min minor version patch patch version DESCRIPTION Checks if the firmware API is m...
ice_is_fw_health_report_supported(9)
NAME ice_is_fw_health_report_supported - checks if firmware supports health events SYNOPSIS bool ice_is_fw_health_report_supported (struct ice_hw *hw ); ARGUMENTS hw pointer to the hardware structure RETURN true if firmware supports health status reports, false otherwise SEE ALSO Kernel file ./drivers/net/...
ice_is_generic_mac(9)
NAME ice_is_generic_mac - check if device's mac_type is generic SYNOPSIS bool ice_is_generic_mac (struct ice_hw *hw ); ARGUMENTS hw pointer to the hardware structure RETURN true if mac_type is ICE_MAC_GENERIC*, false otherwise. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_common.c ice_d...
ice_is_gps_in_netlist(9)
NAME ice_is_gps_in_netlist - SYNOPSIS bool ice_is_gps_in_netlist (struct ice_hw *hw ); ARGUMENTS hw pointer to the hw struct DESCRIPTION Check if the GPS generic device is present in the netlist SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_common.c ice_dump_phy_type(9), ice_set_mac_type(9), ic...
ice_is_hash_cfg_valid(9)
NAME ice_is_hash_cfg_valid - Check whether an RSS hash context is valid SYNOPSIS bool ice_is_hash_cfg_valid (struct ice_rss_hash_cfg *cfg ); ARGUMENTS cfg RSS hash configuration to test RETURN true if both cfg->hash_flds and cfg->addl_hdrs are non-zero; false otherwise. SEE ALSO Kernel file ./drivers/ne...
ice_is_init_pkg_successful(9)
NAME ice_is_init_pkg_successful - check if DDP init was successful SYNOPSIS bool ice_is_init_pkg_successful (enum ice_ddp_state state ); ARGUMENTS state state of the DDP pkg after download SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ddp.c ice_verify_pkg(9), ice_free_seg(9), ice_chk_pkg_version(9)...
ice_is_legacy_umac_expired(9)
NAME ice_is_legacy_umac_expired - check if last added legacy unicast MAC expired SYNOPSIS bool ice_is_legacy_umac_expired (struct ice_time_mac *last_added_umac ); ARGUMENTS last_added_umac structure used to check expiration SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/virtchnl.c ice_vc_vf_broadcast(...
ice_is_malicious_vf(9)
NAME ice_is_malicious_vf - check if this vf might be overflowing mailbox SYNOPSIS bool ice_is_malicious_vf (struct ice_vf *vf , struct ice_mbx_data *mbxdata ); ARGUMENTS vf the VF to check mbxdata data about the state of the mailbox DESCRIPTION Detect if a given VF might be malicious and attempt...
ice_is_mask_valid(9)
NAME ice_is_mask_valid - check mask field set SYNOPSIS bool ice_is_mask_valid (u64 mask , u64 field ); ARGUMENTS mask full mask to check field field for which mask should be valid DESCRIPTION If the mask is fully set return true. If it is not valid for field return false. SEE ALSO Kernel fil...
ice_is_mc_lldp_eth_addr(9)
NAME ice_is_mc_lldp_eth_addr - check if the given MAC is a multicast LLDP address SYNOPSIS bool ice_is_mc_lldp_eth_addr (const u8 *mac ); ARGUMENTS mac address to check RETURN true if the address is one of the three possible LLDP multicast addresses, false otherwise. SEE ALSO Kernel file ./drivers/net/eth...
ice_is_media_cage_present(9)
NAME ice_is_media_cage_present - SYNOPSIS bool ice_is_media_cage_present (struct ice_port_info *pi ); ARGUMENTS pi port information structure DESCRIPTION Returns true if media cage is present, else false. If no cage, then media type is backplane or BASE-T. SEE ALSO Kernel file ./drivers/net/ethernet/intel/...
ice_is_non_eop(9)
NAME ice_is_non_eop - process handling of non-EOP buffers SYNOPSIS bool ice_is_non_eop (const struct ice_rx_ring *rx_ring , const union ice_32b_rx_flex_desc *rx_desc ); ARGUMENTS rx_ring Rx ring being processed rx_desc Rx descriptor for current buffer DESCRIPTION If the buffer is an EOP buffer, this ...
ice_is_pfc_causing_hung_q(9)
NAME ice_is_pfc_causing_hung_q - SYNOPSIS bool ice_is_pfc_causing_hung_q (struct ice_pf *pf , unsigned int txqueue ); ARGUMENTS pf pointer to PF structure txqueue Tx queue which is supposedly hung queue DESCRIPTION find if PFC is causing the hung queue, if yes return true else false SEE ALSO Ke...
ice_is_phy_caps_an_enabled(9)
NAME ice_is_phy_caps_an_enabled - check if PHY capabilities autoneg is enabled SYNOPSIS bool ice_is_phy_caps_an_enabled (struct ice_aqc_get_phy_caps_data *caps ); ARGUMENTS caps get PHY capability data SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_common.c ice_dump_phy_type(9), ice_set_mac_type(9)...
ice_is_phy_rclk_in_netlist(9)
NAME ice_is_phy_rclk_in_netlist - SYNOPSIS bool ice_is_phy_rclk_in_netlist (struct ice_hw *hw ); ARGUMENTS hw pointer to the hw struct DESCRIPTION Check if the PHY Recovered Clock device is present in the netlist SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_common.c ice_dump_phy_type(9), ice_s...
ice_is_port_repr_netdev(9)
NAME ice_is_port_repr_netdev - Check if a given netdevice is a port representor netdev SYNOPSIS bool ice_is_port_repr_netdev (const struct net_device *netdev ); ARGUMENTS netdev pointer to netdev SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_repr.c ice_repr_inc_tx_stats(9), ice_repr_inc_rx_stats(9),...
ice_is_primary(9)
NAME ice_is_primary - Check if given device belongs to the primary complex SYNOPSIS bool ice_is_primary (struct ice_hw *hw ); ARGUMENTS hw pointer to HW structure DESCRIPTION Check if given PF/HW is running on primary complex in multi-NAC configuration. RETURN true if the device is dual, false otherwise (a...
ice_is_rdma_ena(9)
NAME ice_is_rdma_ena - SYNOPSIS bool ice_is_rdma_ena (struct ice_pf *pf ); ARGUMENTS pf pointer to the PF struct DESCRIPTION returns true if RDMA is currently supported, false otherwise SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_type_str(9), ice_vsi_ctrl_all_rx_ring...
ice_is_reset_in_progress(9)
NAME ice_is_reset_in_progress - check for a reset in progress SYNOPSIS bool ice_is_reset_in_progress (unsigned long *state ); ARGUMENTS state PF state field 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_is_safe_mode(9)
NAME ice_is_safe_mode - SYNOPSIS bool ice_is_safe_mode (struct ice_pf *pf ); ARGUMENTS pf pointer to the PF struct DESCRIPTION returns true if driver is in safe mode, false otherwise 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_is_sbq_supported(9)
NAME ice_is_sbq_supported - is the sideband queue supported SYNOPSIS bool ice_is_sbq_supported (struct ice_hw *hw ); ARGUMENTS hw pointer to the hardware structure DESCRIPTION Returns true if the sideband control queue interface is supported for the device, false otherwise SEE ALSO Kernel file ./driver...
ice_is_serdes_muxed(9)
NAME ice_is_serdes_muxed - returns whether serdes is muxed in hardware SYNOPSIS bool ice_is_serdes_muxed (struct ice_hw *hw ); ARGUMENTS hw pointer to the HW struct RETURN true when serdes is muxed, false when serdes is not muxed. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ethtool.c ice_et...
ice_is_signing_seg_at_idx(9)
NAME ice_is_signing_seg_at_idx - determine if segment is a signing segment SYNOPSIS bool ice_is_signing_seg_at_idx (struct ice_pkg_hdr *pkg_hdr , u32 idx ); ARGUMENTS pkg_hdr pointer to package header idx segment index SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ddp.c ice_verify_pkg...
ice_is_signing_seg_type_at_idx(9)
NAME ice_is_signing_seg_type_at_idx - SYNOPSIS bool ice_is_signing_seg_type_at_idx (struct ice_pkg_hdr *pkg_hdr , u32 idx , u32 seg_id , u32 sign_type ); ARGUMENTS pkg_hdr pointer to package header idx segment index seg_id segment id that is expected sign_type signing type ...
ice_is_supported_port_vlan_proto(9)
NAME ice_is_supported_port_vlan_proto - make sure the vlan_proto is supported SYNOPSIS bool ice_is_supported_port_vlan_proto (struct ice_hw *hw , u16 vlan_proto ); ARGUMENTS hw hardware structure used to check the VLAN mode vlan_proto VLAN TPID being checked DESCRIPTION If the device is configured ...
ice_is_switchdev_running(9)
NAME ice_is_switchdev_running - check if switchdev is configured SYNOPSIS bool ice_is_switchdev_running (struct ice_pf *pf ); ARGUMENTS pf pointer to PF structure DESCRIPTION Returns true if eswitch mode is set to DEVLINK_ESWITCH_MODE_SWITCHDEV and switchdev is configured, false otherwise. SEE ALSO Kernel ...
ice_is_txtime_cfg(9)
NAME ice_is_txtime_cfg - check if Tx Time is configured on the Tx ring SYNOPSIS bool ice_is_txtime_cfg (const struct ice_tx_ring *ring ); ARGUMENTS ring pointer to Tx ring RETURN true if the Tx ring is configured for Tx ring, false otherwise. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice.h ...
ice_is_txtime_ena(9)
NAME ice_is_txtime_ena - check if Tx Time is enabled on the Tx ring SYNOPSIS bool ice_is_txtime_ena (const struct ice_tx_ring *ring ); ARGUMENTS ring pointer to Tx ring RETURN true if the Tx ring has Tx Time enabled, false otherwise. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice.h ice_vec...
ice_is_vc_addr_legacy(9)
NAME ice_is_vc_addr_legacy - check if the MAC address is from an older VF SYNOPSIS bool ice_is_vc_addr_legacy (struct virtchnl_ether_addr *vc_ether_addr ); ARGUMENTS vc_ether_addr VIRTCHNL structure that contains MAC and type SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/virtchnl.c ice_vc_vf_broadcas...
ice_is_vc_addr_primary(9)
NAME ice_is_vc_addr_primary - check if the MAC address is the VF's primary MAC SYNOPSIS bool ice_is_vc_addr_primary (struct virtchnl_ether_addr __maybe_unused *vc_ether_addr ); ARGUMENTS vc_ether_addr VIRTCHNL structure that contains MAC and type DESCRIPTION This function should only be called when the MAC address i...
ice_is_vf_disabled(9)
NAME ice_is_vf_disabled - SYNOPSIS bool ice_is_vf_disabled (struct ice_vf *vf ); ARGUMENTS vf pointer to the VF info DESCRIPTION If the PF has been disabled, there is no need resetting VF until PF is active again. Similarly, if the VF has been disabled, this means something else is resetting the VF, so w...
ice_is_vf_link_up(9)
NAME ice_is_vf_link_up - check if the VF's link is up SYNOPSIS bool ice_is_vf_link_up (struct ice_vf *vf ); ARGUMENTS vf VF to check if link is up 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_vfs(9...
ice_is_vf_trusted(9)
NAME ice_is_vf_trusted - SYNOPSIS bool ice_is_vf_trusted (struct ice_vf *vf ); ARGUMENTS vf pointer to the VF info 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_vfs(9), ice_get_vf_vsi(9), ice_is_vf_...
ice_is_vlan_promisc_allowed(9)
NAME ice_is_vlan_promisc_allowed - check if VLAN promiscuous config is allowed SYNOPSIS bool ice_is_vlan_promisc_allowed (struct ice_vf *vf ); ARGUMENTS vf VF used to determine if VLAN promiscuous config is allowed SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/virtchnl.c ice_vc_vf_broa...
ice_is_vsi_dflt_vsi(9)
NAME ice_is_vsi_dflt_vsi - check if the VSI passed in is the default VSI SYNOPSIS bool ice_is_vsi_dflt_vsi (struct ice_vsi *vsi ); ARGUMENTS vsi VSI to compare against default forwarding VSI DESCRIPTION If this VSI passed in is the default forwarding VSI then return true, else return false SEE ALSO Kernel ...
ice_is_vsi_valid(9)
NAME ice_is_vsi_valid - check whether the VSI is valid or not SYNOPSIS bool ice_is_vsi_valid (struct ice_hw *hw , u16 vsi_handle ); ARGUMENTS hw pointer to the HW struct vsi_handle VSI handle DESCRIPTION check whether the VSI is valid or not SEE ALSO Kernel file ./drivers/net/ethernet/intel/ic...
ice_is_wol_supported(9)
NAME ice_is_wol_supported - check if WoL is supported SYNOPSIS bool ice_is_wol_supported (struct ice_hw *hw ); ARGUMENTS hw pointer to hardware info DESCRIPTION Check if WoL is supported based on the HW configuration. Returns true if NVM supports and enables WoL for this port, false otherwise SEE ALSO Ker...
ice_kb_entry_init(9)
NAME ice_kb_entry_init - parse 192 bits of XLT Key Builder entry SYNOPSIS void ice_kb_entry_init (struct ice_xlt_kb_entry *entry , u8 *data ); ARGUMENTS entry pointer to the XLT Key Builder entry structure data XLT Key Builder entry data to be parsed SEE ALSO Kernel file ./drivers/net/ethernet/i...
ice_ksettings_find_adv_link_speed(9)
NAME ice_ksettings_find_adv_link_speed - Find advertising link speed SYNOPSIS u16 ice_ksettings_find_adv_link_speed (const struct ethtool_link_ksettings *ks ); ARGUMENTS ks ethtool ksettings SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ethtool.c ice_ethtool_get_maxspeed(9), ice_is_serde...
ice_label_enum_handler(9)
NAME ice_label_enum_handler - SYNOPSIS void * ice_label_enum_handler (u32 sect_type , void *section , u32 index , u32 *offset ); ARGUMENTS sect_type section type section pointer to section index index of the label entry to be returned offset pointer to receive absolute offset,...
ice_lag_aa_clear_spoof(9)
NAME ice_lag_aa_clear_spoof - adjust the placeholder VSI spoofing for A/A LAG SYNOPSIS void ice_lag_aa_clear_spoof (struct ice_vsi *vsi ); ARGUMENTS vsi placeholder VSI to adjust SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lag.c ice_lag_set_primary(9), ice_lag_set_bkup(9), netif_is_same_ice(9),...
ice_lag_aa_failover(9)
NAME ice_lag_aa_failover - move VF queues in A/A mode SYNOPSIS void ice_lag_aa_failover (struct ice_lag *lag , u8 dest , struct ice_pf *e_pf ); ARGUMENTS lag primary lag struct dest index of destination port e_pf PF struct for event port SEE ALSO Kernel file ./drivers/net/ethern...
ice_lag_aa_move_vf_qs(9)
NAME ice_lag_aa_move_vf_qs - Move some/all VF queues to destination SYNOPSIS void ice_lag_aa_move_vf_qs (struct ice_lag *lag , u8 dest , u16 vsi_num , bool all , bool *odd , struct ice_pf *e_pf ); ARGUMENTS lag primary interface's lag struct dest index of destination port vsi_num in...
ice_lag_aa_qbuf_recfg(9)
NAME ice_lag_aa_qbuf_recfg - fill a single queue buffer for recfg cmd SYNOPSIS int ice_lag_aa_qbuf_recfg (struct ice_hw *hw , struct ice_aqc_cfg_txqs_buf *qbuf , u16 vsi_num , int qnum ); ARGUMENTS hw HW struct that contains the queue context qbuf pointer to single queue buffer vsi_num...
ice_lag_aa_unlink(9)
NAME ice_lag_aa_unlink - handle unlink event for Active-Active bond SYNOPSIS void ice_lag_aa_unlink (struct ice_lag *lag ); ARGUMENTS lag LAG info struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lag.c ice_lag_set_primary(9), ice_lag_set_bkup(9), netif_is_same_ice(9), ice_lag_config_eswitch(9...
ice_lag_act_bkup_unlink(9)
NAME ice_lag_act_bkup_unlink - handle unlink event for A/B bond SYNOPSIS void ice_lag_act_bkup_unlink (struct ice_lag *lag ); ARGUMENTS lag LAG info struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lag.c ice_lag_set_primary(9), ice_lag_set_bkup(9), netif_is_same_ice(9), ice_lag_config_eswitch...
ice_lag_add_prune_list(9)
NAME ice_lag_add_prune_list - Adds event_pf's VSI to primary's prune list SYNOPSIS void ice_lag_add_prune_list (struct ice_lag *lag , struct ice_pf *event_pf ); ARGUMENTS lag lag info struct event_pf PF struct for VSI we are adding to primary's prune list SEE ALSO Kernel file ./drivers/net/etherne...
ice_lag_build_netdev_list(9)
NAME ice_lag_build_netdev_list - populate the lag struct's netdev list SYNOPSIS void ice_lag_build_netdev_list (struct ice_lag *lag , struct ice_lag_netdev_list *ndlist ); ARGUMENTS lag local lag struct ndlist pointer to netdev list to populate SEE ALSO Kernel file ./drivers/net/ethernet/intel/i...
ice_lag_cfg_dflt_fltr(9)
NAME ice_lag_cfg_dflt_fltr - Add/Remove default VSI rule for LAG SYNOPSIS int ice_lag_cfg_dflt_fltr (struct ice_lag *lag , bool add ); ARGUMENTS lag lag struct for local interface add boolean on whether to add filter SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lag.c ice_lag_set_...
ice_lag_cfg_drop_fltr(9)
NAME ice_lag_cfg_drop_fltr - Add/Remove lport drop rule SYNOPSIS int ice_lag_cfg_drop_fltr (struct ice_lag *lag , bool add ); ARGUMENTS lag lag struct for local interface add boolean on whether to add filter SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lag.c ice_lag_set_primary(9...
ice_lag_cfg_fltr(9)
NAME ice_lag_cfg_fltr - Add/Remove rule for LAG SYNOPSIS int ice_lag_cfg_fltr (struct ice_lag *lag , u32 act , u16 recipe_id , u16 *rule_idx , u8 direction , bool add ); ARGUMENTS lag lag struct for local interface act rule action recipe_id recipe id for the new rule rule_idx...
ice_lag_cfg_lp_fltr(9)
NAME ice_lag_cfg_lp_fltr - configure lport filters SYNOPSIS void ice_lag_cfg_lp_fltr (struct ice_lag *lag , bool add , bool cp ); ARGUMENTS lag local interface's lag struct add add or remove rule cp control packet only or general PF lport rule SEE ALSO Kernel file ./drivers/n...
ice_lag_cfg_pf_fltrs(9)
NAME ice_lag_cfg_pf_fltrs - set filters up for PF traffic SYNOPSIS void ice_lag_cfg_pf_fltrs (struct ice_lag *lag , void *ptr ); ARGUMENTS lag local interfaces lag struct ptr opaque data containing notifier event SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lag.c ice_lag_set_prim...
ice_lag_cfg_pf_fltrs_act_bkup(9)
NAME ice_lag_cfg_pf_fltrs_act_bkup - set filters up for new active port SYNOPSIS void ice_lag_cfg_pf_fltrs_act_bkup (struct ice_lag *lag , struct netdev_bonding_info *bonding_info ); ARGUMENTS lag local interfaces lag struct bonding_info netdev event bonding info SEE ALSO Kernel fi...
ice_lag_changeupper_event(9)
NAME ice_lag_changeupper_event - handle LAG changeupper event SYNOPSIS void ice_lag_changeupper_event (struct ice_lag *lag , void *ptr ); ARGUMENTS lag LAG info struct ptr opaque pointer data SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lag.c ice_lag_set_primary(9), ice_lag_s...
ice_lag_chk_comp(9)
NAME ice_lag_chk_comp - evaluate bonded interface for feature support SYNOPSIS bool ice_lag_chk_comp (struct ice_lag *lag , void *ptr ); ARGUMENTS lag lag info struct ptr opaque data for netdev event info SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lag.c ice_lag_set_primary(9), ...
ice_lag_chk_disabled_bond(9)
NAME ice_lag_chk_disabled_bond - monitor interfaces entering/leaving disabled bond SYNOPSIS void ice_lag_chk_disabled_bond (struct ice_lag *lag , void *ptr ); ARGUMENTS lag lag info struct ptr opaque data containing event DESCRIPTION as interfaces enter a bond - determine if the bond is curre...
ice_lag_complete_vf_reset(9)
NAME ice_lag_complete_vf_reset - helper for lag after reset SYNOPSIS void ice_lag_complete_vf_reset (struct ice_lag *lag , u8 act_prt ); ARGUMENTS lag lag struct for primary interface act_prt which port should be active for lag CONTEXT must be called while holding the lag_mutex. SEE ALSO Kernel ...
ice_lag_config_eswitch(9)
NAME ice_lag_config_eswitch - configure eswitch to work with LAG SYNOPSIS void ice_lag_config_eswitch (struct ice_lag *lag , struct net_device *netdev ); ARGUMENTS lag lag info struct netdev active network interface device struct DESCRIPTION Updates all port representors in eswitch to use netdev...
ice_lag_del_prune_list(9)
NAME ice_lag_del_prune_list - Remove secondary's vsi from primary's prune list SYNOPSIS void ice_lag_del_prune_list (struct ice_lag *lag , struct ice_pf *event_pf ); ARGUMENTS lag primary interface's ice_lag struct event_pf PF struct for unlinking interface SEE ALSO Kernel file ./drivers/net/ether...
ice_lag_destroy_netdev_list(9)
NAME ice_lag_destroy_netdev_list - free lag struct's netdev list SYNOPSIS void ice_lag_destroy_netdev_list (struct ice_lag *lag , struct ice_lag_netdev_list *ndlist ); ARGUMENTS lag pointer to local lag struct ndlist pointer to lag struct netdev list SEE ALSO Kernel file ./drivers/net/ethernet/i...
ice_lag_disable_sriov_bond(9)
NAME ice_lag_disable_sriov_bond - set members of bond as not supporting SRIOV LAG SYNOPSIS void ice_lag_disable_sriov_bond (struct ice_lag *lag ); ARGUMENTS lag primary interfaces lag struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lag.c ice_lag_set_primary(9), ice_lag_set_bkup(9), netif_is_...
ice_lag_event_handler(9)
NAME ice_lag_event_handler - handle LAG events from netdev SYNOPSIS int ice_lag_event_handler (struct notifier_block *notif_blk , unsigned long event , void *ptr ); ARGUMENTS notif_blk notifier block registered by this netdev event event type ptr opaque data containing notifier event ...