id
stringlengths
4
63
text
stringlengths
153
8.81M
ice_get_rss_key(9)
NAME ice_get_rss_key - Get RSS key SYNOPSIS int ice_get_rss_key (struct ice_vsi *vsi , u8 *seed ); ARGUMENTS vsi Pointer to VSI structure seed Buffer to store the key in DESCRIPTION Returns 0 on success, negative on failure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ...
ice_get_rss_lut(9)
NAME ice_get_rss_lut - Get RSS LUT SYNOPSIS int ice_get_rss_lut (struct ice_vsi *vsi , u8 *lut , u16 lut_size ); ARGUMENTS vsi Pointer to VSI structure lut Buffer to store the lookup table entries lut_size Size of buffer to store the lookup table entries DESCRIPTION Returns 0 on su...
ice_get_rx_hash(9)
NAME ice_get_rx_hash - get RX hash value from descriptor SYNOPSIS u32 ice_get_rx_hash (const union ice_32b_rx_flex_desc *rx_desc ); ARGUMENTS rx_desc specific descriptor DESCRIPTION Returns hash, if present, 0 otherwise. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_txrx_lib.c ice_release_rx_desc...
ice_get_rx_ring_count(9)
NAME ice_get_rx_ring_count - get RX ring count SYNOPSIS u32 ice_get_rx_ring_count (struct net_device *netdev ); ARGUMENTS netdev network interface device structure RETURN number of RX rings. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ethtool.c ice_ethtool_get_maxspeed(9), ice_is_serdes_m...
ice_get_rxfh(9)
NAME ice_get_rxfh - get the Rx flow hash indirection table SYNOPSIS int ice_get_rxfh (struct net_device *netdev , struct ethtool_rxfh_param *rxfh ); ARGUMENTS netdev network interface device structure rxfh pointer to param struct (indir, key, hfunc) DESCRIPTION Reads the indirection table directl...
ice_get_rxfh_indir_size(9)
NAME ice_get_rxfh_indir_size - get the Rx flow hash indirection table size SYNOPSIS u32 ice_get_rxfh_indir_size (struct net_device *netdev ); ARGUMENTS netdev network interface device structure DESCRIPTION Returns the table size. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ethtool.c ice_eth...
ice_get_rxfh_key_size(9)
NAME ice_get_rxfh_key_size - get the RSS hash key size SYNOPSIS u32 ice_get_rxfh_key_size (struct net_device *netdev ); ARGUMENTS netdev network interface device structure DESCRIPTION Returns the table size. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ethtool.c ice_ethtool_get_maxspeed(9), ...
ice_get_rxnfc(9)
NAME ice_get_rxnfc - command to get Rx flow classification rules SYNOPSIS int ice_get_rxnfc (struct net_device *netdev , struct ethtool_rxnfc *cmd , u32 *rule_locs ); ARGUMENTS netdev network interface device structure cmd ethtool rxnfc command rule_locs buffer to rturn Rx flow classifi...
ice_get_sbq(9)
NAME ice_get_sbq - returns the right control queue to use for sideband SYNOPSIS struct ice_ctl_q_info * ice_get_sbq (struct ice_hw *hw ); ARGUMENTS hw pointer to the hardware structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_controlq.c ice_adminq_init_regs(9), ice_mailbox_init_regs(...
ice_get_set_tx_topo(9)
NAME ice_get_set_tx_topo - get or set Tx topology SYNOPSIS int ice_get_set_tx_topo (struct ice_hw *hw , u8 *buf , u16 buf_size , struct ice_sq_cd *cd , u8 *flags , bool set ); ARGUMENTS hw pointer to the HW struct buf pointer to Tx topology buffer buf_size buffer size cd ...
ice_get_settings_link_down(9)
NAME ice_get_settings_link_down - Get the Link settings when link is down SYNOPSIS void ice_get_settings_link_down (struct ethtool_link_ksettings *ks , struct net_device *netdev ); ARGUMENTS ks ethtool ksettings to fill in netdev network interface device structure DESCRIPTION Reports link setti...
ice_get_settings_link_up(9)
NAME ice_get_settings_link_up - Get Link settings for when link is up SYNOPSIS void ice_get_settings_link_up (struct ethtool_link_ksettings *ks , struct net_device *netdev ); ARGUMENTS ks ethtool ksettings to fill in netdev network interface device structure SEE ALSO Kernel file ./drivers/n...
ice_get_signing_req(9)
NAME ice_get_signing_req - get correct package requirements, based on device SYNOPSIS void ice_get_signing_req (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_...
ice_get_stats64(9)
NAME ice_get_stats64 - get statistics for network device structure SYNOPSIS void ice_get_stats64 (struct net_device *netdev , struct rtnl_link_stats64 *stats ); ARGUMENTS netdev network interface device structure stats main device statistics structure SEE ALSO Kernel file ./drivers/net/etherne...
ice_get_sw_fv_bitmap(9)
NAME ice_get_sw_fv_bitmap - Get switch field vector bitmap based on profile type SYNOPSIS void ice_get_sw_fv_bitmap (struct ice_hw *hw , enum ice_prof_type req_profs , unsigned long *bm ); ARGUMENTS hw pointer to hardware structure req_profs type of profiles requested bm pointer to...
ice_get_sw_fv_list(9)
NAME ice_get_sw_fv_list - SYNOPSIS int ice_get_sw_fv_list (struct ice_hw *hw , struct ice_prot_lkup_ext *lkups , unsigned long *bm , struct list_head *fv_list ); ARGUMENTS hw pointer to the HW structure lkups list of protocol types bm bitmap of field vectors to consider ...
ice_get_sw_prof_type(9)
NAME ice_get_sw_prof_type - determine switch profile type SYNOPSIS enum ice_prof_type ice_get_sw_prof_type (struct ice_hw *hw , struct ice_fv *fv , u32 prof_idx ); ARGUMENTS hw pointer to the HW structure fv pointer to the switch field vector prof_idx profile index to check SEE A...
ice_get_tx_pending(9)
NAME ice_get_tx_pending - returns number of Tx descriptors not processed SYNOPSIS u16 ice_get_tx_pending (struct ice_tx_ring *ring ); ARGUMENTS ring the ring of descriptors SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_dev(9), ice_check_for_hang_subtask(9), ice_init_mac_flt...
ice_get_tx_rx_equa(9)
NAME ice_get_tx_rx_equa - read serdes tx rx equaliser param SYNOPSIS int ice_get_tx_rx_equa (struct ice_hw *hw , u8 serdes_num , struct ice_serdes_equalization_to_ethtool *ptr ); ARGUMENTS hw pointer to the HW struct serdes_num represents the serdes number ptr structure to read all s...
ice_get_tx_topo_user_sel(9)
NAME ice_get_tx_topo_user_sel - Read user's choice from flash SYNOPSIS int ice_get_tx_topo_user_sel (struct ice_pf *pf , uint8_t *layers ); ARGUMENTS pf pointer to pf structure layers value read from flash will be saved here DESCRIPTION Reads user's preference for Tx Scheduler Topology Tree fro...
ice_get_valid_rss_size(9)
NAME ice_get_valid_rss_size - return valid number of RSS queues SYNOPSIS int ice_get_valid_rss_size (struct ice_hw *hw , int new_size ); ARGUMENTS hw pointer to the HW structure new_size requested RSS queues SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ethtool.c ice_ethtool_get...
ice_get_vf_by_id(9)
NAME ice_get_vf_by_id - Get pointer to VF by ID SYNOPSIS struct ice_vf * ice_get_vf_by_id (struct ice_pf *pf , u16 vf_id ); ARGUMENTS pf the PF private structure vf_id the VF ID to locate DESCRIPTION Locate and return a pointer to the VF structure associated with a given ID. Returns NULL if t...
ice_get_vf_cfg(9)
NAME ice_get_vf_cfg - SYNOPSIS int ice_get_vf_cfg (struct net_device *netdev , int vf_id , struct ifla_vf_info *ivi ); ARGUMENTS netdev network interface device structure vf_id VF identifier ivi VF configuration structure DESCRIPTION return VF configuration SEE ALSO Kernel file ...
ice_get_vf_ctrl_vsi(9)
NAME ice_get_vf_ctrl_vsi - Get first VF control VSI pointer SYNOPSIS struct ice_vsi * ice_get_vf_ctrl_vsi (struct ice_pf *pf , struct ice_vsi *vsi ); ARGUMENTS pf the PF private structure vsi pointer to the VSI DESCRIPTION Return first found VF control VSI other than the vsi passed by p...
ice_get_vf_from_pfq(9)
NAME ice_get_vf_from_pfq - get the VF who owns the PF space queue passed in SYNOPSIS struct ice_vf * ice_get_vf_from_pfq (struct ice_pf *pf , u16 pfq ); ARGUMENTS pf PF used to index all VFs pfq queue index relative to the PF's function space DESCRIPTION If no VF is found who owns the pfq...
ice_get_vf_stats(9)
NAME ice_get_vf_stats - populate some stats for the VF SYNOPSIS int ice_get_vf_stats (struct net_device *netdev , int vf_id , struct ifla_vf_stats *vf_stats ); ARGUMENTS netdev the netdev of the PF vf_id the host OS identifier (0-255) vf_stats pointer to the OS memory to be initialized ...
ice_get_vf_vsi(9)
NAME ice_get_vf_vsi - get VF's VSI based on the stored index SYNOPSIS struct ice_vsi * ice_get_vf_vsi (struct ice_vf *vf ); ARGUMENTS vf VF used to get VSI 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(...
ice_get_vlan_tci(9)
NAME ice_get_vlan_tci - get VLAN TCI from Rx flex descriptor SYNOPSIS u16 ice_get_vlan_tci (const union ice_32b_rx_flex_desc *rx_desc ); ARGUMENTS rx_desc Rx 32b flex descriptor with RXDID=2 DESCRIPTION The OS and current PF implementation only support stripping a single VLAN tag at a time, so there should only ...
ice_get_vsi_agg_info(9)
NAME ice_get_vsi_agg_info - get the aggregator info of VSI SYNOPSIS struct ice_sched_agg_info * ice_get_vsi_agg_info (struct ice_hw *hw , u16 vsi_handle ); ARGUMENTS hw pointer to the hardware structure vsi_handle Sw VSI handle DESCRIPTION The function returns aggregator info of VSI represented via...
ice_get_vsi_ctx(9)
NAME ice_get_vsi_ctx - return the VSI context entry for a given VSI handle SYNOPSIS struct ice_vsi_ctx * ice_get_vsi_ctx (struct ice_hw *hw , u16 vsi_handle ); ARGUMENTS hw pointer to the HW struct vsi_handle VSI handle DESCRIPTION return the VSI context entry for a given VSI handle SEE ALSO Kerne...
ice_get_wol(9)
NAME ice_get_wol - get current Wake on LAN configuration SYNOPSIS void ice_get_wol (struct net_device *netdev , struct ethtool_wolinfo *wol ); ARGUMENTS netdev network interface device structure wol Ethtool structure to retrieve WoL settings SEE ALSO Kernel file ./drivers/net/ethernet/intel/...
ice_get_xp_from_qid(9)
NAME ice_get_xp_from_qid - get ZC XSK buffer pool bound to a queue ID SYNOPSIS struct xsk_buff_pool * ice_get_xp_from_qid (struct ice_vsi *vsi , u16 qid ); ARGUMENTS vsi pointer to VSI qid index of a queue to look at XSK buff pool presence RETURN A pointer to xsk_buff_pool structure if there ...
ice_globalq_to_pfq(9)
NAME ice_globalq_to_pfq - convert from global queue index to PF space queue index SYNOPSIS u32 ice_globalq_to_pfq (struct ice_pf *pf , u32 globalq ); ARGUMENTS pf PF used for conversion globalq global queue index used to convert to PF space queue index SEE ALSO Kernel file ./drivers/net/ethern...
ice_gnss_close(9)
NAME ice_gnss_close - Close GNSS device SYNOPSIS void ice_gnss_close (struct gnss_device *gdev ); ARGUMENTS gdev pointer to the gnss device struct DESCRIPTION Close GNSS device, cancel worker, stop filling the read buffer. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_gnss.c ice_gnss_do_write(9),...
ice_gnss_deregister(9)
NAME ice_gnss_deregister - Deregister GNSS receiver SYNOPSIS void ice_gnss_deregister (struct ice_pf *pf ); ARGUMENTS pf Board private structure DESCRIPTION Deregister GNSS receiver from the Linux GNSS subsystem, release its resources. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_gnss.c ice...
ice_gnss_do_write(9)
NAME ice_gnss_do_write - Write data to internal GNSS receiver SYNOPSIS int ice_gnss_do_write (struct ice_pf *pf , const unsigned char *buf , unsigned int size ); ARGUMENTS pf board private structure buf command buffer size command buffer size DESCRIPTION Write UBX command data...
ice_gnss_exit(9)
NAME ice_gnss_exit - Disable GNSS TTY support SYNOPSIS void ice_gnss_exit (struct ice_pf *pf ); ARGUMENTS pf Board private structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_gnss.c ice_gnss_do_write(9), ice_gnss_read(9), ice_gnss_struct_init(9), ice_gnss_open(9), ice_gnss_close(9), ice...
ice_gnss_init(9)
NAME ice_gnss_init - Initialize GNSS support SYNOPSIS void ice_gnss_init (struct ice_pf *pf ); ARGUMENTS pf Board private structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_gnss.c ice_gnss_do_write(9), ice_gnss_read(9), ice_gnss_struct_init(9), ice_gnss_open(9), ice_gnss_close(9), ice_...
ice_gnss_is_module_present(9)
NAME ice_gnss_is_module_present - Check if GNSS HW is present SYNOPSIS bool ice_gnss_is_module_present (struct ice_hw *hw ); ARGUMENTS hw pointer to HW struct RETURN true when GNSS is present, false otherwise. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_gnss.c ice_gnss_do_write(9), ice_gn...
ice_gnss_open(9)
NAME ice_gnss_open - Open GNSS device SYNOPSIS int ice_gnss_open (struct gnss_device *gdev ); ARGUMENTS gdev pointer to the gnss device struct DESCRIPTION Open GNSS device and start filling the read buffer for consumer. RETURN * 0 - success * negative - error code SEE ALSO Kernel file ./drivers/net/ethe...
ice_gnss_read(9)
NAME ice_gnss_read - Read data from internal GNSS module SYNOPSIS void ice_gnss_read (struct kthread_work *work ); ARGUMENTS work GNSS read work structure DESCRIPTION Read the data from internal GNSS receiver, write it to gnss_dev. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_gnss.c ice_gn...
ice_gnss_register(9)
NAME ice_gnss_register - Register GNSS receiver SYNOPSIS int ice_gnss_register (struct ice_pf *pf ); ARGUMENTS pf Board private structure DESCRIPTION Allocate and register GNSS receiver in the Linux GNSS subsystem. RETURN * 0 - success * negative - error code SEE ALSO Kernel file ./drivers/net/ethernet/...
ice_gnss_struct_init(9)
NAME ice_gnss_struct_init - Initialize GNSS receiver SYNOPSIS struct gnss_serial * ice_gnss_struct_init (struct ice_pf *pf ); ARGUMENTS pf Board private structure DESCRIPTION Initialize GNSS structures and workers. RETURN * pointer to initialized gnss_serial struct - success * NULL - error SEE ALSO Kernel...
ice_gnss_write(9)
NAME ice_gnss_write - Write to GNSS device SYNOPSIS int ice_gnss_write (struct gnss_device *gdev , const unsigned char *buf , size_t count ); ARGUMENTS gdev pointer to the gnss device struct buf pointer to the user data count size of the buffer to be sent to the GNSS device RETUR...
ice_handle_link_event(9)
NAME ice_handle_link_event - handle link event via ARQ SYNOPSIS int ice_handle_link_event (struct ice_pf *pf , struct ice_rq_event_info *event ); ARGUMENTS pf PF that the link event is associated with event event structure containing link status info SEE ALSO Kernel file ./drivers/net/ethern...
ice_handle_mdd_event(9)
NAME ice_handle_mdd_event - handle malicious driver detect event SYNOPSIS void ice_handle_mdd_event (struct ice_pf *pf ); ARGUMENTS pf pointer to the PF structure DESCRIPTION Called from service task. OICR interrupt handler indicates MDD event. VF MDD logging is guarded by net_ratelimit. Additional PF and ...
ice_handle_tclass_action(9)
NAME ice_handle_tclass_action - Support directing to a traffic class SYNOPSIS int ice_handle_tclass_action (struct ice_vsi *vsi , struct flow_cls_offload *cls_flower , struct ice_tc_flower_fltr *fltr ); ARGUMENTS vsi Pointer to VSI cls_flower Pointer to TC flower offload structure fltr ...
ice_has_prof_vsig(9)
NAME ice_has_prof_vsig - check to see if VSIG has a specific profile SYNOPSIS bool ice_has_prof_vsig (struct ice_hw *hw , enum ice_block blk , u16 vsig , u64 hdl ); ARGUMENTS hw pointer to the hardware structure blk HW block vsig VSIG to check against hdl profil...
ice_has_signing_seg(9)
NAME ice_has_signing_seg - determine if package has a signing segment SYNOPSIS bool ice_has_signing_seg (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 SEE ALSO Kernel file ./drivers/net/ethernet/intel...
ice_has_vfs(9)
NAME ice_has_vfs - Return true if the PF has any associated VFs SYNOPSIS bool ice_has_vfs (struct ice_pf *pf ); ARGUMENTS pf the PF private structure DESCRIPTION Return whether or not the PF has any allocated VFs. Note that this function only guarantees that there are no VFs at the point of calling it. It ...
ice_hash_cfg_record(9)
NAME ice_hash_cfg_record - Record an RSS hash context SYNOPSIS void ice_hash_cfg_record (struct ice_rss_hash_cfg *ctx , struct ice_rss_hash_cfg *cfg ); ARGUMENTS ctx destination (global) RSS hash configuration cfg source RSS hash configuration to record DESCRIPTION Copy the active rule inform...
ice_hash_cfg_reset(9)
NAME ice_hash_cfg_reset - Reset an RSS hash context SYNOPSIS void ice_hash_cfg_reset (struct ice_rss_hash_cfg *cfg ); ARGUMENTS cfg RSS hash configuration to reset DESCRIPTION Reset fields of cfg that store the active rule information. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/rss.c i...
ice_hash_moveback(9)
NAME ice_hash_moveback - Add an RSS hash configuration for a VF SYNOPSIS int ice_hash_moveback (struct ice_vf *vf , struct ice_rss_hash_cfg *cfg ); ARGUMENTS vf VF pointer cfg RSS hash configuration to apply DESCRIPTION Add cfg to vf if the context is valid and VSI exists; programs HW. RETU...
ice_hash_moveout(9)
NAME ice_hash_moveout - Delete an RSS configuration (keep context) SYNOPSIS int ice_hash_moveout (struct ice_vf *vf , struct ice_rss_hash_cfg *cfg ); ARGUMENTS vf VF pointer cfg RSS hash configuration RETURN 0 on success (including when already absent); -ENOENT if cfg is invalid or VSI is mi...
ice_hash_remove(9)
NAME ice_hash_remove - remove a RSS configuration SYNOPSIS int ice_hash_remove (struct ice_vf *vf , struct ice_rss_hash_cfg *cfg ); ARGUMENTS vf pointer to the VF info cfg pointer to the RSS hash configuration DESCRIPTION This function will delete a RSS hash configuration and also delete the...
ice_health_clear(9)
NAME ice_health_clear - clear devlink health issues after a reset SYNOPSIS void ice_health_clear (struct ice_pf *pf ); ARGUMENTS pf the PF device structure DESCRIPTION Mark the PF in healthy state again after a reset has completed. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/devlink/health.c i...
ice_health_deinit(9)
NAME ice_health_deinit - deallocate all ice devlink health reporters and accompanied data SYNOPSIS void ice_health_deinit (struct ice_pf *pf ); ARGUMENTS pf PF struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/devlink/health.c ice_process_health_status_event(9), ice_devlink_health_report(9), ...
ice_health_init(9)
NAME ice_health_init - allocate and init all ice devlink health reporters and accompanied data SYNOPSIS void ice_health_init (struct ice_pf *pf ); ARGUMENTS pf PF struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/devlink/health.c ice_process_health_status_event(9), ice_devlink_health_...
ice_hw_ptype_ena(9)
NAME ice_hw_ptype_ena - check if the PTYPE is enabled or not SYNOPSIS bool ice_hw_ptype_ena (struct ice_hw *hw , u16 ptype ); ARGUMENTS hw pointer to the HW structure ptype the hardware PTYPE SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_flex_pipe.c ice_sect_id(9), ice_gen_key_wo...
ice_hw_to_dev(9)
NAME ice_hw_to_dev - Get device pointer from the hardware structure SYNOPSIS struct device * ice_hw_to_dev (struct ice_hw *hw ); ARGUMENTS hw pointer to the device HW structure DESCRIPTION Used to access the device pointer from compilation units which can't easily include the definition of struct ice_pf wit...
ice_imem_alu_init(9)
NAME ice_imem_alu_init - parse 96 bits of ALU entry SYNOPSIS void ice_imem_alu_init (struct ice_alu *alu , u8 *data , u8 off ); ARGUMENTS alu pointer to the ALU entry structure data ALU entry data to be parsed off offset of the ALU entry data SEE ALSO Kernel file ./drivers/net/...
ice_imem_bkb_init(9)
NAME ice_imem_bkb_init - parse 10 bits of Boost Main Build SYNOPSIS void ice_imem_bkb_init (struct ice_bst_keybuilder *bkb , u16 data ); ARGUMENTS bkb pointer to the Boost Main Build structure data Boost Main Build data to be parsed SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_par...
ice_imem_bm_init(9)
NAME ice_imem_bm_init - parse 4 bits of Boost Main SYNOPSIS void ice_imem_bm_init (struct ice_bst_main *bm , u8 data ); ARGUMENTS bm pointer to the Boost Main structure data Boost Main data to be parsed SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_parser.c ice_parser_sec...
ice_imem_dump(9)
NAME ice_imem_dump - dump an imem item info SYNOPSIS void ice_imem_dump (struct ice_hw *hw , struct ice_imem_item *item ); ARGUMENTS hw pointer to the hardware structure item imem item to dump SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_parser.c ice_parser_sect_item_get(...
ice_imem_npkb_init(9)
NAME ice_imem_npkb_init - parse 18 bits of Next Protocol Key Build SYNOPSIS void ice_imem_npkb_init (struct ice_np_keybuilder *kb , u32 data ); ARGUMENTS kb pointer to the Next Protocol Key Build structure data Next Protocol Key Build data to be parsed SEE ALSO Kernel file ./drivers/net/ethe...
ice_imem_parse_item(9)
NAME ice_imem_parse_item - parse 384 bits of IMEM entry SYNOPSIS void ice_imem_parse_item (struct ice_hw *hw , u16 idx , void *item , void *data , int __maybe_unused size ); ARGUMENTS hw pointer to the hardware structure idx index of IMEM entry item item of IMEM entry d...
ice_imem_pgkb_init(9)
NAME ice_imem_pgkb_init - parse 35 bits of Parse Graph Key Build SYNOPSIS void ice_imem_pgkb_init (struct ice_pg_keybuilder *kb , u64 data ); ARGUMENTS kb pointer to the Parse Graph Key Build structure data Parse Graph Key Build data to be parsed SEE ALSO Kernel file ./drivers/net/ethernet/i...
ice_imem_table_get(9)
NAME ice_imem_table_get - create an imem table SYNOPSIS struct ice_imem_item * ice_imem_table_get (struct ice_hw *hw ); ARGUMENTS hw pointer to the hardware structure RETURN a pointer to the allocated IMEM table. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_parser.c ice_parser_sect_item_get(9)...
ice_init_all_ctrlq(9)
NAME ice_init_all_ctrlq - main initialization routine for all control queues SYNOPSIS int ice_init_all_ctrlq (struct ice_hw *hw ); ARGUMENTS hw pointer to the hardware structure DESCRIPTION Prior to calling this function, the driver MUST* set the following fields in the cq->structure for all control queues:...
ice_init_all_prof_masks(9)
NAME ice_init_all_prof_masks - initialize all prof masks SYNOPSIS void ice_init_all_prof_masks (struct ice_hw *hw ); ARGUMENTS hw pointer to the HW struct 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_set(9...
ice_init_arfs(9)
NAME ice_init_arfs - initialize aRFS resources SYNOPSIS void ice_init_arfs (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI to be forwarded to SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_arfs.c ice_is_arfs_active(9), ice_is_arfs_using_perfect_flow(9), ice_arfs_update_active_fltr_cntrs(9)...
ice_init_arfs_cntrs(9)
NAME ice_init_arfs_cntrs - initialize aRFS counter values SYNOPSIS int ice_init_arfs_cntrs (struct ice_vsi *vsi ); ARGUMENTS vsi VSI that aRFS counters need to be initialized on SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_arfs.c ice_is_arfs_active(9), ice_is_arfs_using_perfect_flow(9), ice_arfs...
ice_init_check_adminq(9)
NAME ice_init_check_adminq - Check version for Admin Queue to know if its alive SYNOPSIS int ice_init_check_adminq (struct ice_hw *hw ); ARGUMENTS hw pointer to the hardware structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_controlq.c ice_adminq_init_regs(9), ice_mailbox_init_regs(9...
ice_init_chk_recipe_reuse_support(9)
NAME ice_init_chk_recipe_reuse_support - check if recipe reuse is supported SYNOPSIS void ice_init_chk_recipe_reuse_support (struct ice_hw *hw ); ARGUMENTS hw pointer to the hardware structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_switch.c ice_init_def_sw_recp(9), ice_aq_get_sw_cf...
ice_init_ctrl_rx_descs(9)
NAME ice_init_ctrl_rx_descs - Initialize Rx descriptors for control vsi. SYNOPSIS void ice_init_ctrl_rx_descs (struct ice_rx_ring *rx_ring , u32 count ); ARGUMENTS rx_ring ring to init descriptors on count number of descriptors to initialize SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice...
ice_init_ctrlq(9)
NAME ice_init_ctrlq - main initialization routine for any control Queue SYNOPSIS int ice_init_ctrlq (struct ice_hw *hw , enum ice_ctl_q q_type ); ARGUMENTS hw pointer to the hardware structure q_type specific Control queue type DESCRIPTION Prior to calling this function, the driver *MUST* set t...
ice_init_ctrlq_locks(9)
NAME ice_init_ctrlq_locks - Initialize locks for a control queue SYNOPSIS void ice_init_ctrlq_locks (struct ice_ctl_q_info *cq ); ARGUMENTS cq pointer to the control queue DESCRIPTION Initializes the send and receive queue locks for a given control queue. SEE ALSO Kernel file ./drivers/net/ethernet/intel...
ice_init_dcb(9)
NAME ice_init_dcb - SYNOPSIS int ice_init_dcb (struct ice_hw *hw , bool enable_mib_change ); ARGUMENTS hw pointer to the HW struct enable_mib_change enable MIB change event DESCRIPTION Update DCB configuration from the Firmware SEE ALSO Kernel file ./drivers/net/ethernet/inte...
ice_init_ddp_config(9)
NAME ice_init_ddp_config - DDP related configuration SYNOPSIS int ice_init_ddp_config (struct ice_hw *hw , struct ice_pf *pf ); ARGUMENTS hw pointer to the hardware structure pf pointer to pf structure DESCRIPTION This function loads DDP file from the disk, then initializes Tx topology. At ...
ice_init_def_sw_recp(9)
NAME ice_init_def_sw_recp - initialize the recipe book keeping tables SYNOPSIS int ice_init_def_sw_recp (struct ice_hw *hw ); ARGUMENTS hw pointer to the HW struct DESCRIPTION Allocate memory for the entire recipe table and initialize the structures/ entries corresponding to basic recipes. SEE ALSO Kernel ...
ice_init_fdir(9)
NAME ice_init_fdir - Initialize flow director VSI and configuration SYNOPSIS int ice_init_fdir (struct ice_pf *pf ); ARGUMENTS pf pointer to the PF instance DESCRIPTION returns 0 on success, negative on error SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_dev(9), ice_get...
ice_init_feature_support(9)
NAME ice_init_feature_support - SYNOPSIS void ice_init_feature_support (struct ice_pf *pf ); ARGUMENTS pf pointer to the struct ice_pf instance DESCRIPTION called during init to setup supported feature SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_type_str(9), ice_vsi_...
ice_init_flow_profs(9)
NAME ice_init_flow_profs - init flow profile locks and list heads SYNOPSIS void ice_init_flow_profs (struct ice_hw *hw , u8 blk_idx ); ARGUMENTS hw pointer to the hardware structure blk_idx HW block index SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_flex_pipe.c ice_sect_id(9), i...
ice_init_fltr_mgmt_struct(9)
NAME ice_init_fltr_mgmt_struct - initializes filter management list and locks SYNOPSIS int ice_init_fltr_mgmt_struct (struct ice_hw *hw ); ARGUMENTS hw pointer to the HW struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_common.c ice_dump_phy_type(9), ice_set_mac_type(9), ice_is_generic_mac(9)...
ice_init_hw(9)
NAME ice_init_hw - main hardware initialization routine SYNOPSIS int ice_init_hw (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_generic_mac(9), ice_clear_pf_cfg(9), ice_...
ice_init_hw_tbls(9)
NAME ice_init_hw_tbls - init hardware table memory SYNOPSIS int ice_init_hw_tbls (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_set(9), i...
ice_init_interrupt_scheme(9)
NAME ice_init_interrupt_scheme - Determine proper interrupt scheme SYNOPSIS int ice_init_interrupt_scheme (struct ice_pf *pf ); ARGUMENTS pf board private structure to initialize SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_irq.c ice_init_irq_tracker(9), ice_deinit_irq_tracker(9), ice_free...
ice_init_irq_tracker(9)
NAME ice_init_irq_tracker - initialize interrupt tracker SYNOPSIS void ice_init_irq_tracker (struct ice_pf *pf , unsigned int max_vectors , unsigned int num_static ); ARGUMENTS pf board private structure max_vectors maximum number of vectors that tracker can hold num_static number of preallo...
ice_init_lag(9)
NAME ice_init_lag - initialize support for LAG SYNOPSIS int ice_init_lag (struct ice_pf *pf ); ARGUMENTS pf PF struct DESCRIPTION Alloc memory for LAG structs and initialize the elements. Memory will be freed in ice_deinit_lag SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lag.c ice_lag_set_pri...
ice_init_link_dflt_override(9)
NAME ice_init_link_dflt_override - Initialize link default override SYNOPSIS void ice_init_link_dflt_override (struct ice_port_info *pi ); ARGUMENTS pi port info structure DESCRIPTION Initialize link default override and PHY total port shutdown during probe SEE ALSO Kernel file ./drivers/net/ethernet/i...
ice_init_link_events(9)
NAME ice_init_link_events - enable/initialize link events SYNOPSIS int ice_init_link_events (struct ice_port_info *pi ); ARGUMENTS pi pointer to the port_info instance DESCRIPTION Returns -EIO on failure, 0 on success SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_dev(9), ...
ice_init_mac_fltr(9)
NAME ice_init_mac_fltr - Set initial MAC filters SYNOPSIS int ice_init_mac_fltr (struct ice_pf *pf ); ARGUMENTS pf board private structure DESCRIPTION Set initial set of MAC filters for PF VSI; configure filters for permanent address and broadcast address. If an error is encountered, netdevice will be unreg...
ice_init_moderation(9)
NAME ice_init_moderation - set up interrupt moderation SYNOPSIS void ice_init_moderation (struct ice_q_vector *q_vector ); ARGUMENTS q_vector the vector containing rings to be configured DESCRIPTION Set up interrupt moderation registers, with the intent to do the right thing when called from reset or from probe...
ice_init_nvm(9)
NAME ice_init_nvm - initializes NVM setting SYNOPSIS int ice_init_nvm (struct ice_hw *hw ); ARGUMENTS hw pointer to the HW struct DESCRIPTION This function reads and populates NVM settings such as Shadow RAM size, max_timeout, and blank_nvm_mode SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice...
ice_init_nvm_phy_type(9)
NAME ice_init_nvm_phy_type - Initialize the NVM PHY type SYNOPSIS int ice_init_nvm_phy_type (struct ice_port_info *pi ); ARGUMENTS pi port info structure DESCRIPTION Initialize nvm_phy_type_[low|high] for link lenient mode support SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_h...
ice_init_pf(9)
NAME ice_init_pf - Initialize general software structures (struct ice_pf) SYNOPSIS int ice_init_pf (struct ice_pf *pf ); ARGUMENTS pf board private structure to initialize RETURN 0 on success, negative errno otherwise. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_dev(9),...
ice_init_pf_dcb(9)
NAME ice_init_pf_dcb - initialize DCB for a PF SYNOPSIS int ice_init_pf_dcb (struct ice_pf *pf , bool locked ); ARGUMENTS pf PF to initialize DCB for locked Was function called with RTNL held SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_dcb_lib.c ice_dcb_get_ena_tc(9), ice_...
ice_init_phy_cfg_dflt_override(9)
NAME ice_init_phy_cfg_dflt_override - Initialize PHY cfg default override settings SYNOPSIS void ice_init_phy_cfg_dflt_override (struct ice_port_info *pi ); ARGUMENTS pi port info structure DESCRIPTION If default override is enabled, initialize the user PHY cfg speed and FEC settings using the default ove...
ice_init_phy_user_cfg(9)
NAME ice_init_phy_user_cfg - Initialize the PHY user configuration SYNOPSIS int ice_init_phy_user_cfg (struct ice_port_info *pi ); ARGUMENTS pi port info structure DESCRIPTION Initialize the current user PHY configuration, speed, FEC, and FC requested mode to default. The PHY defaults are from get PHY cap...
ice_init_pkg(9)
NAME ice_init_pkg - initialize/download package SYNOPSIS enum ice_ddp_state ice_init_pkg (struct ice_hw *hw , u8 *buf , u32 len ); ARGUMENTS hw pointer to the hardware structure buf pointer to the package buffer len size of the package buffer DESCRIPTION This function initi...