id
stringlengths
4
63
text
stringlengths
153
8.81M
icc_put(9)
NAME icc_put - release the reference to the icc_path SYNOPSIS void icc_put (struct icc_path *path ); ARGUMENTS path interconnect path DESCRIPTION Use this function to release the constraints on a path when the path is no longer needed. The constraints will be re-aggregated. SEE ALSO Kernel file ./drivers/i...
icc_set_bw(9)
NAME icc_set_bw - set bandwidth constraints on an interconnect path SYNOPSIS int icc_set_bw (struct icc_path *path , u32 avg_bw , u32 peak_bw ); ARGUMENTS path interconnect path avg_bw average bandwidth in kilobytes per second peak_bw peak bandwidth in kilobytes per second DESCRIPTION...
icc_set_tag(9)
NAME icc_set_tag - set an optional tag on a path SYNOPSIS void icc_set_tag (struct icc_path *path , u32 tag ); ARGUMENTS path the path we want to tag tag the tag value DESCRIPTION This function allows consumers to append a tag to the requests associated with a path, so that a different aggrega...
ice_acquire_change_lock(9)
NAME ice_acquire_change_lock - SYNOPSIS int ice_acquire_change_lock (struct ice_hw *hw , enum ice_aq_res_access_type access ); ARGUMENTS hw pointer to the HW structure access access type (read or write) DESCRIPTION This function will request ownership of the change lock. SEE ALSO Kernel file ...
ice_acquire_global_cfg_lock(9)
NAME ice_acquire_global_cfg_lock - SYNOPSIS int ice_acquire_global_cfg_lock (struct ice_hw *hw , enum ice_aq_res_access_type access ); ARGUMENTS hw pointer to the HW structure access access type (read or write) DESCRIPTION This function will request ownership of the global config lock for rea...
ice_acquire_nvm(9)
NAME ice_acquire_nvm - Generic request for acquiring the NVM ownership SYNOPSIS int ice_acquire_nvm (struct ice_hw *hw , enum ice_aq_res_access_type access ); ARGUMENTS hw pointer to the HW structure access NVM access type (read or write) DESCRIPTION This function will request NVM ownership. S...
ice_acquire_res(9)
NAME ice_acquire_res - SYNOPSIS int ice_acquire_res (struct ice_hw *hw , enum ice_aq_res_ids res , enum ice_aq_res_access_type access , u32 timeout ); ARGUMENTS hw pointer to the HW structure res resource ID access access type (read or write) timeout timeout in millis...
ice_activate_dynamic_port(9)
NAME ice_activate_dynamic_port - Activate a dynamic port SYNOPSIS int ice_activate_dynamic_port (struct ice_dynamic_port *dyn_port , struct netlink_ext_ack *extack ); ARGUMENTS dyn_port dynamic port instance to activate extack extack for reporting error messages DESCRIPTION Activate the dynamic port ...
ice_active_vfs(9)
NAME ice_active_vfs - check if there are any active VFs SYNOPSIS bool ice_active_vfs (struct ice_pf *pf ); ARGUMENTS pf board private structure DESCRIPTION Returns true if an active VF is found, otherwise returns false SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ethtool.c ice_ethtool_get_m...
ice_adapter_get(9)
NAME ice_adapter_get - Get a shared ice_adapter structure. SYNOPSIS struct ice_adapter * ice_adapter_get (struct pci_dev *pdev ); ARGUMENTS pdev Pointer to the pci_dev whose driver is getting the ice_adapter. DESCRIPTION Gets a pointer to a shared ice_adapter structure. Physical functions (PFs) of ...
ice_adapter_put(9)
NAME ice_adapter_put - Release a reference to the shared ice_adapter structure. SYNOPSIS void ice_adapter_put (struct pci_dev *pdev ); ARGUMENTS pdev Pointer to the pci_dev whose driver is releasing the ice_adapter. DESCRIPTION Releases the reference to ice_adapter previously obtained with ice_adapter_get. C...
ice_add_adv_recipe(9)
NAME ice_add_adv_recipe - Add an advanced recipe that is not part of the default SYNOPSIS int ice_add_adv_recipe (struct ice_hw *hw , struct ice_adv_lkup_elem *lkups , u16 lkups_cnt , struct ice_adv_rule_info *rinfo , u16 *rid ); ARGUMENTS hw pointer to hardware structure lkups lookup elements ...
ice_add_adv_rule(9)
NAME ice_add_adv_rule - helper function to create an advanced switch rule SYNOPSIS int ice_add_adv_rule (struct ice_hw *hw , struct ice_adv_lkup_elem *lkups , u16 lkups_cnt , struct ice_adv_rule_info *rinfo , struct ice_rule_query_data *added_entry ); ARGUMENTS hw pointer to the hardware structure lk...
ice_add_avf_rss_cfg(9)
NAME ice_add_avf_rss_cfg - add an RSS configuration for AVF driver SYNOPSIS int ice_add_avf_rss_cfg (struct ice_hw *hw , struct ice_vsi *vsi , u64 avf_hash ); ARGUMENTS hw pointer to the hardware structure vsi VF's VSI avf_hash hash bit fields (LIBIE_FILTER_PCTYPE_*) to configure ...
ice_add_channel(9)
NAME ice_add_channel - add a channel by adding VSI SYNOPSIS int ice_add_channel (struct ice_pf *pf , u16 sw_id , struct ice_channel *ch ); ARGUMENTS pf ptr to PF device sw_id underlying HW switching element ID ch ptr to channel structure DESCRIPTION Add a channel (VSI) using a...
ice_add_cls_flower(9)
NAME ice_add_cls_flower - add TC flower filters SYNOPSIS int ice_add_cls_flower (struct net_device *netdev , struct ice_vsi *vsi , struct flow_cls_offload *cls_flower , bool ingress ); ARGUMENTS netdev Pointer to filter device vsi Pointer to VSI cls_flower Pointer to flower offload struc...
ice_add_dcb_tlv(9)
NAME ice_add_dcb_tlv - Add all IEEE or DSCP TLVs SYNOPSIS void ice_add_dcb_tlv (struct ice_lldp_org_tlv *tlv , struct ice_dcbx_cfg *dcbcfg , u16 tlvid ); ARGUMENTS tlv Fill TLV data in IEEE format dcbcfg Local store which holds the DCB Config tlvid Type of IEEE TLV DESCRIPTION Add ...
ice_add_dscp_enf_tlv(9)
NAME ice_add_dscp_enf_tlv - Prepare DSCP Enforcement TLV SYNOPSIS void ice_add_dscp_enf_tlv (struct ice_lldp_org_tlv *tlv ); ARGUMENTS tlv location to build the TLV data SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_dcb.c ice_aq_get_lldp_mib(9), ice_aq_cfg_lldp_mib_change(9), ice_aq_stop_...
ice_add_dscp_pfc_tlv(9)
NAME ice_add_dscp_pfc_tlv - Prepare DSCP PFC TLV SYNOPSIS void ice_add_dscp_pfc_tlv (struct ice_lldp_org_tlv *tlv , struct ice_dcbx_cfg *dcbcfg ); ARGUMENTS tlv Fill PFC TLV in IEEE format dcbcfg Local store which holds the PFC CFG data SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/i...
ice_add_dscp_tc_bw_tlv(9)
NAME ice_add_dscp_tc_bw_tlv - Prepare DSCP BW for TC TLV SYNOPSIS void ice_add_dscp_tc_bw_tlv (struct ice_lldp_org_tlv *tlv , struct ice_dcbx_cfg *dcbcfg ); ARGUMENTS tlv location to build the TLV data dcbcfg location of the data to convert to TLV SEE ALSO Kernel file ./drivers/net/ethernet/...
ice_add_dscp_up_tlv(9)
NAME ice_add_dscp_up_tlv - Prepare DSCP to UP TLV SYNOPSIS void ice_add_dscp_up_tlv (struct ice_lldp_org_tlv *tlv , struct ice_dcbx_cfg *dcbcfg ); ARGUMENTS tlv location to build the TLV data dcbcfg location of data to convert to TLV SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_...
ice_add_dvm_hint(9)
NAME ice_add_dvm_hint - SYNOPSIS void ice_add_dvm_hint (struct ice_hw *hw , u16 val , bool enable ); ARGUMENTS hw pointer to the HW structure val value of the boost entry enable true if entry needs to be enabled, or false if needs to be disabled SEE ALSO Kernel file ./drivers/ne...
ice_add_entry_to_vsi_fltr_list(9)
NAME ice_add_entry_to_vsi_fltr_list - Add copy of fltr_list_entry to remove list SYNOPSIS int ice_add_entry_to_vsi_fltr_list (struct ice_hw *hw , u16 vsi_handle , struct list_head *vsi_list_head , struct ice_fltr_info *fi ); ARGUMENTS hw pointer to the hardware structure vsi_handle VSI handle to rem...
ice_add_eth_mac(9)
NAME ice_add_eth_mac - Add ethertype and MAC based filter rule SYNOPSIS int ice_add_eth_mac (struct ice_hw *hw , struct list_head *em_list ); ARGUMENTS hw pointer to the hardware structure em_list list of ether type MAC filter, MAC is optional DESCRIPTION This function requires the caller to pop...
ice_add_fdir_ethtool(9)
NAME ice_add_fdir_ethtool - Add/Remove Flow Director filter SYNOPSIS int ice_add_fdir_ethtool (struct ice_vsi *vsi , struct ethtool_rxnfc *cmd ); ARGUMENTS vsi pointer to target VSI cmd command to add or delete Flow Director filter DESCRIPTION Returns 0 on success and negative values for fail...
ice_add_ieee_app_pri_tlv(9)
NAME ice_add_ieee_app_pri_tlv - Prepare APP TLV in IEEE format SYNOPSIS void ice_add_ieee_app_pri_tlv (struct ice_lldp_org_tlv *tlv , struct ice_dcbx_cfg *dcbcfg ); ARGUMENTS tlv Fill APP TLV in IEEE format dcbcfg Local store which holds the APP CFG data DESCRIPTION Prepare IEEE 802.1Qaz APP CFG...
ice_add_ieee_ets_common_tlv(9)
NAME ice_add_ieee_ets_common_tlv - SYNOPSIS void ice_add_ieee_ets_common_tlv (u8 *buf , struct ice_dcb_ets_cfg *ets_cfg ); ARGUMENTS buf Data buffer to be populated with ice_dcb_ets_cfg data ets_cfg Container for ice_dcb_ets_cfg data DESCRIPTION Populate the TLV buffer with ice_dcb_ets_cfg data ...
ice_add_ieee_ets_tlv(9)
NAME ice_add_ieee_ets_tlv - Prepare ETS TLV in IEEE format SYNOPSIS void ice_add_ieee_ets_tlv (struct ice_lldp_org_tlv *tlv , struct ice_dcbx_cfg *dcbcfg ); ARGUMENTS tlv Fill the ETS config data in IEEE format dcbcfg Local store which holds the DCB Config DESCRIPTION Prepare IEEE 802.1Qaz ETS C...
ice_add_ieee_etsrec_tlv(9)
NAME ice_add_ieee_etsrec_tlv - Prepare ETS Recommended TLV in IEEE format SYNOPSIS void ice_add_ieee_etsrec_tlv (struct ice_lldp_org_tlv *tlv , struct ice_dcbx_cfg *dcbcfg ); ARGUMENTS tlv Fill ETS Recommended TLV in IEEE format dcbcfg Local store which holds the DCB Config DESCRIPTION Prepare I...
ice_add_ieee_pfc_tlv(9)
NAME ice_add_ieee_pfc_tlv - Prepare PFC TLV in IEEE format SYNOPSIS void ice_add_ieee_pfc_tlv (struct ice_lldp_org_tlv *tlv , struct ice_dcbx_cfg *dcbcfg ); ARGUMENTS tlv Fill PFC TLV in IEEE format dcbcfg Local store which holds the PFC CFG data DESCRIPTION Prepare IEEE 802.1Qaz PFC CFG TLV SE...
ice_add_mac(9)
NAME ice_add_mac - Add a MAC address based filter rule SYNOPSIS int ice_add_mac (struct ice_hw *hw , struct list_head *m_list ); ARGUMENTS hw pointer to the hardware structure m_list list of MAC addresses and forwarding information SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_s...
ice_add_mac_to_sync_list(9)
NAME ice_add_mac_to_sync_list - creates list of MAC addresses to be synced SYNOPSIS int ice_add_mac_to_sync_list (struct net_device *netdev , const u8 *addr ); ARGUMENTS netdev the net device on which the sync is happening addr MAC address to sync DESCRIPTION This is a callback function which ...
ice_add_mac_to_unsync_list(9)
NAME ice_add_mac_to_unsync_list - creates list of MAC addresses to be unsynced SYNOPSIS int ice_add_mac_to_unsync_list (struct net_device *netdev , const u8 *addr ); ARGUMENTS netdev the net device on which the unsync is happening addr MAC address to unsync DESCRIPTION This is a callback function...
ice_add_marker_act(9)
NAME ice_add_marker_act - SYNOPSIS int ice_add_marker_act (struct ice_hw *hw , struct ice_fltr_mgmt_list_entry *m_ent , u16 sw_marker , u16 l_id ); ARGUMENTS hw pointer to the hardware structure m_ent the management entry for which sw marker needs to be added sw_marker sw marker to ta...
ice_add_prof_attrib(9)
NAME ice_add_prof_attrib - add any PTG with attributes to profile SYNOPSIS int ice_add_prof_attrib (struct ice_prof_map *prof , u8 ptg , u16 ptype , const struct ice_ptype_attributes *attr , u16 attr_cnt ); ARGUMENTS prof pointer to the profile to which PTG entries will be added ptg PTG to be a...
ice_add_prof_id_flow(9)
NAME ice_add_prof_id_flow - add profile flow SYNOPSIS int ice_add_prof_id_flow (struct ice_hw *hw , enum ice_block blk , u16 vsi , u64 hdl ); ARGUMENTS hw pointer to the HW struct blk hardware block vsi the VSI to enable with the profile specified by ID hdl pro...
ice_add_prof_id_vsig(9)
NAME ice_add_prof_id_vsig - add profile to VSIG SYNOPSIS int ice_add_prof_id_vsig (struct ice_hw *hw , enum ice_block blk , u16 vsig , u64 hdl , bool rev , struct list_head *chg ); ARGUMENTS hw pointer to the HW struct blk hardware block vsig the VSIG to which this profile is t...
ice_add_prof_to_lst(9)
NAME ice_add_prof_to_lst - add profile entry to a list SYNOPSIS int ice_add_prof_to_lst (struct ice_hw *hw , enum ice_block blk , struct list_head *lst , u64 hdl ); ARGUMENTS hw pointer to the HW struct blk hardware block lst the list to be added to hdl profile...
ice_add_raw_rss_cfg(9)
NAME ice_add_raw_rss_cfg - add RSS configuration for raw pattern SYNOPSIS int ice_add_raw_rss_cfg (struct ice_vf *vf , struct ice_rss_raw_cfg *cfg ); ARGUMENTS vf pointer to the VF info cfg pointer to the RSS raw pattern configuration DESCRIPTION This function adds the RSS configuration for ...
ice_add_rdma_qset(9)
NAME ice_add_rdma_qset - Add Leaf Node for RDMA Qset SYNOPSIS int ice_add_rdma_qset (struct iidc_rdma_core_dev_info *cdev , struct iidc_rdma_qset_params *qset ); ARGUMENTS cdev pointer to iidc_rdma_core_dev_info struct qset Resource to be allocated RETURN Zero on success or error code encounter...
ice_add_rss_cfg(9)
NAME ice_add_rss_cfg - add an RSS configuration with specified hashed fields SYNOPSIS int ice_add_rss_cfg (struct ice_hw *hw , struct ice_vsi *vsi , const struct ice_rss_hash_cfg *cfg ); ARGUMENTS hw pointer to the hardware structure vsi VSI to add the RSS configuration to cfg ...
ice_add_rss_cfg_post_gtpu(9)
NAME ice_add_rss_cfg_post_gtpu - Post-process GTPU RSS configuration SYNOPSIS int ice_add_rss_cfg_post_gtpu (struct ice_vf *vf , struct ice_vf_hash_gtpu_ctx *ctx , struct ice_rss_hash_cfg *cfg , u32 ctx_idx ); ARGUMENTS vf pointer to the VF info ctx pointer to the context of the GTPU hash ...
ice_add_rss_cfg_pre(9)
NAME ice_add_rss_cfg_pre - Prepare RSS configuration context for a VF SYNOPSIS int ice_add_rss_cfg_pre (struct ice_vf *vf , struct ice_rss_hash_cfg *cfg ); ARGUMENTS vf pointer to the VF structure cfg pointer to the RSS hash configuration DESCRIPTION Prepare the RSS hash context for a gi...
ice_add_rss_cfg_pre_gtpu(9)
NAME ice_add_rss_cfg_pre_gtpu - Pre-process the GTPU RSS configuration SYNOPSIS int ice_add_rss_cfg_pre_gtpu (struct ice_vf *vf , struct ice_vf_hash_gtpu_ctx *ctx , u32 ctx_idx ); ARGUMENTS vf pointer to the VF info ctx pointer to the context of the GTPU hash ctx_idx index of the ...
ice_add_rss_cfg_pre_ip(9)
NAME ice_add_rss_cfg_pre_ip - Pre-process IP-layer RSS configuration SYNOPSIS int ice_add_rss_cfg_pre_ip (struct ice_vf *vf , struct ice_vf_hash_ip_ctx *ctx ); ARGUMENTS vf VF pointer ctx IP L4 hash context (ESP/UDP-ESP/AH/PFCP and UDP/TCP/SCTP) DESCRIPTION Remove covered/recorded IP RSS con...
ice_add_rss_cfg_sync(9)
NAME ice_add_rss_cfg_sync - add an RSS configuration SYNOPSIS int ice_add_rss_cfg_sync (struct ice_hw *hw , u16 vsi_handle , const struct ice_rss_hash_cfg *cfg ); ARGUMENTS hw pointer to the hardware structure vsi_handle software VSI handle cfg configure parameters DESCRIPTION Assum...
ice_add_rss_cfg_wrap(9)
NAME ice_add_rss_cfg_wrap - Wrapper for adding an RSS configuration SYNOPSIS int ice_add_rss_cfg_wrap (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 Add a flow profile based on an RSS configuratio...
ice_add_rss_list(9)
NAME ice_add_rss_list - add RSS configuration to list SYNOPSIS int ice_add_rss_list (struct ice_hw *hw , u16 vsi_handle , struct ice_flow_prof *prof ); ARGUMENTS hw pointer to the hardware structure vsi_handle software VSI handle prof pointer to flow profile DESCRIPTION Assumption: l...
ice_add_rule_internal(9)
NAME ice_add_rule_internal - add rule for a given lookup type SYNOPSIS int ice_add_rule_internal (struct ice_hw *hw , u8 recp_id , struct ice_fltr_list_entry *f_entry ); ARGUMENTS hw pointer to the hardware structure recp_id lookup type (recipe ID) for which rule has to be added f_entry ...
ice_add_sw_recipe(9)
NAME ice_add_sw_recipe - function to call AQ calls to create switch recipe SYNOPSIS int ice_add_sw_recipe (struct ice_hw *hw , struct ice_sw_recipe *rm , unsigned long *profiles ); ARGUMENTS hw pointer to hardware structure rm recipe management list entry profiles bitmap of profil...
ice_add_switch_fltr(9)
NAME ice_add_switch_fltr - Add TC flower filters SYNOPSIS int ice_add_switch_fltr (struct ice_vsi *vsi , struct ice_tc_flower_fltr *fltr ); ARGUMENTS vsi Pointer to VSI fltr Pointer to struct ice_tc_flower_fltr DESCRIPTION Add filter in HW switch block SEE ALSO Kernel file ./drivers/net/eth...
ice_add_tc_flower_adv_fltr(9)
NAME ice_add_tc_flower_adv_fltr - add appropriate filter rules SYNOPSIS int ice_add_tc_flower_adv_fltr (struct ice_vsi *vsi , struct ice_tc_flower_fltr *tc_fltr ); ARGUMENTS vsi Pointer to VSI tc_fltr Pointer to TC flower filter structure DESCRIPTION based on filter parameters using Advance recip...
ice_add_tc_fltr(9)
NAME ice_add_tc_fltr - adds a TC flower filter SYNOPSIS int ice_add_tc_fltr (struct net_device *netdev , struct ice_vsi *vsi , struct flow_cls_offload *f , struct ice_tc_flower_fltr **__fltr , bool ingress ); ARGUMENTS netdev Pointer to netdev vsi Pointer to VSI f Pointer to flo...
ice_add_to_vsi_fltr_list(9)
NAME ice_add_to_vsi_fltr_list - Add VSI filters to the list SYNOPSIS int ice_add_to_vsi_fltr_list (struct ice_hw *hw , u16 vsi_handle , struct list_head *lkup_list_head , struct list_head *vsi_list_head ); ARGUMENTS hw pointer to the hardware structure vsi_handle VSI handle to remove filters from ...
ice_add_tunnel_hint(9)
NAME ice_add_tunnel_hint - SYNOPSIS void ice_add_tunnel_hint (struct ice_hw *hw , char *label_name , u16 val ); ARGUMENTS hw pointer to the HW structure label_name label text val value of the tunnel port boost entry SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ddp.c ice...
ice_add_update_vsi_list(9)
NAME ice_add_update_vsi_list - SYNOPSIS int ice_add_update_vsi_list (struct ice_hw *hw , struct ice_fltr_mgmt_list_entry *m_entry , struct ice_fltr_info *cur_fltr , struct ice_fltr_info *new_fltr ); ARGUMENTS hw pointer to the hardware structure m_entry pointer to current filter management list e...
ice_add_vlan(9)
NAME ice_add_vlan - Add VLAN based filter rule SYNOPSIS int ice_add_vlan (struct ice_hw *hw , struct list_head *v_list ); ARGUMENTS hw pointer to the hardware structure v_list list of VLAN entries and forwarding information SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_switch.c ...
ice_add_vlan_internal(9)
NAME ice_add_vlan_internal - Add one VLAN based filter rule SYNOPSIS int ice_add_vlan_internal (struct ice_hw *hw , struct ice_fltr_list_entry *f_entry ); ARGUMENTS hw pointer to the hardware structure f_entry filter entry containing one VLAN information SEE ALSO Kernel file ./drivers/net/et...
ice_add_vsi(9)
NAME ice_add_vsi - add VSI context to the hardware and VSI handle list SYNOPSIS int ice_add_vsi (struct ice_hw *hw , u16 vsi_handle , struct ice_vsi_ctx *vsi_ctx , struct ice_sq_cd *cd ); ARGUMENTS hw pointer to the HW struct vsi_handle unique VSI handle provided by drivers vsi_ctx point...
ice_add_vsi_to_fdir(9)
NAME ice_add_vsi_to_fdir - add a VSI to the flow director group for PF SYNOPSIS int ice_add_vsi_to_fdir (struct ice_pf *pf , struct ice_vsi *vsi ); ARGUMENTS pf ptr to PF device vsi ptr to VSI SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_dev(9), ice_get_...
ice_adev_release(9)
NAME ice_adev_release - function to be mapped to AUX dev's release op SYNOPSIS void ice_adev_release (struct device *dev ); ARGUMENTS dev pointer to device to free 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_de...
ice_adj_prof_priorities(9)
NAME ice_adj_prof_priorities - adjust profile based on priorities SYNOPSIS int ice_adj_prof_priorities (struct ice_hw *hw , enum ice_block blk , u16 vsig , struct list_head *chg ); ARGUMENTS hw pointer to the HW struct blk hardware block vsig the VSIG for which to adjust profil...
ice_adminq_init_regs(9)
NAME ice_adminq_init_regs - Initialize AdminQ registers SYNOPSIS void ice_adminq_init_regs (struct ice_hw *hw ); ARGUMENTS hw pointer to the hardware structure DESCRIPTION This assumes the alloc_sq and alloc_rq functions have already been called SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_c...
ice_adv_add_update_vsi_list(9)
NAME ice_adv_add_update_vsi_list - SYNOPSIS int ice_adv_add_update_vsi_list (struct ice_hw *hw , struct ice_adv_fltr_mgmt_list_entry *m_entry , struct ice_adv_rule_info *cur_fltr , struct ice_adv_rule_info *new_fltr ); ARGUMENTS hw pointer to the hardware structure m_entry pointer to current adv ...
ice_adv_rem_update_vsi_list(9)
NAME ice_adv_rem_update_vsi_list - SYNOPSIS int ice_adv_rem_update_vsi_list (struct ice_hw *hw , u16 vsi_handle , struct ice_adv_fltr_mgmt_list_entry *fm_list ); ARGUMENTS hw pointer to the hardware structure vsi_handle VSI handle of the VSI to remove fm_list filter management entry for ...
ice_alloc_ctrlq_rq_ring(9)
NAME ice_alloc_ctrlq_rq_ring - Allocate Control Receive Queue (ARQ) rings SYNOPSIS int ice_alloc_ctrlq_rq_ring (struct ice_hw *hw , struct ice_ctl_q_info *cq ); ARGUMENTS hw pointer to the hardware structure cq pointer to the specific Control queue SEE ALSO Kernel file ./drivers/net/ethe...
ice_alloc_ctrlq_sq_ring(9)
NAME ice_alloc_ctrlq_sq_ring - Allocate Control Transmit Queue (ATQ) rings SYNOPSIS int ice_alloc_ctrlq_sq_ring (struct ice_hw *hw , struct ice_ctl_q_info *cq ); ARGUMENTS hw pointer to the hardware structure cq pointer to the specific Control queue SEE ALSO Kernel file ./drivers/net/eth...
ice_alloc_dynamic_port(9)
NAME ice_alloc_dynamic_port - Allocate new dynamic port SYNOPSIS int ice_alloc_dynamic_port (struct ice_pf *pf , const struct devlink_port_new_attrs *new_attr , struct netlink_ext_ack *extack , struct devlink_port **devlink_port ); ARGUMENTS pf pointer to the pf structure new_attr devlink port att...
ice_alloc_fd_guar_item(9)
NAME ice_alloc_fd_guar_item - allocate resource for FD guaranteed entries SYNOPSIS int ice_alloc_fd_guar_item (struct ice_hw *hw , u16 *cntr_id , u16 num_fltr ); ARGUMENTS hw pointer to the hardware structure cntr_id returns counter index num_fltr number of filter entries to be allocat...
ice_alloc_fd_res(9)
NAME ice_alloc_fd_res - Allocate FD resource for a VSI SYNOPSIS int ice_alloc_fd_res (struct ice_vsi *vsi ); ARGUMENTS vsi pointer to the ice_vsi DESCRIPTION This allocates the FD resources Returns 0 on success, -EPERM on no-op or -EIO on failure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_l...
ice_alloc_fd_res_cntr(9)
NAME ice_alloc_fd_res_cntr - obtain counter resource for FD type SYNOPSIS int ice_alloc_fd_res_cntr (struct ice_hw *hw , u16 *cntr_id ); ARGUMENTS hw pointer to the hardware structure cntr_id returns counter index SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_fdir.c ice_set_dflt_v...
ice_alloc_fd_shrd_item(9)
NAME ice_alloc_fd_shrd_item - allocate resource for flow director shared entries SYNOPSIS int ice_alloc_fd_shrd_item (struct ice_hw *hw , u16 *cntr_id , u16 num_fltr ); ARGUMENTS hw pointer to the hardware structure cntr_id returns counter index num_fltr number of filter entries to be ...
ice_alloc_hw_res(9)
NAME ice_alloc_hw_res - allocate resource SYNOPSIS int ice_alloc_hw_res (struct ice_hw *hw , u16 type , u16 num , bool btm , u16 *res ); ARGUMENTS hw pointer to the HW struct type type of resource num number of resources to allocate btm allocate from bottom ...
ice_alloc_irq(9)
NAME ice_alloc_irq - Allocate new interrupt vector SYNOPSIS struct msi_map ice_alloc_irq (struct ice_pf *pf , bool dyn_allowed ); ARGUMENTS pf board private structure dyn_allowed allow dynamic allocation of the interrupt DESCRIPTION Allocate new interrupt vector for a given owner id. return struc...
ice_alloc_lan_q_ctx(9)
NAME ice_alloc_lan_q_ctx - allocate LAN queue contexts for the given VSI and TC SYNOPSIS int ice_alloc_lan_q_ctx (struct ice_hw *hw , u16 vsi_handle , u8 tc , u16 new_numqs ); ARGUMENTS hw pointer to the HW struct vsi_handle VSI handle tc TC number new_numqs number of queu...
ice_alloc_prof_id(9)
NAME ice_alloc_prof_id - allocate profile ID SYNOPSIS int ice_alloc_prof_id (struct ice_hw *hw , enum ice_block blk , u8 *prof_id ); ARGUMENTS hw pointer to the HW struct blk the block to allocate the profile ID for prof_id pointer to variable to receive the profile ID DESCRIPTIO...
ice_alloc_prof_mask(9)
NAME ice_alloc_prof_mask - allocate profile mask SYNOPSIS int ice_alloc_prof_mask (struct ice_hw *hw , enum ice_block blk , u16 idx , u16 mask , u16 *mask_idx ); ARGUMENTS hw pointer to the HW struct blk hardware block idx index of FV which will use the mask mask ...
ice_alloc_rdma_q_ctx(9)
NAME ice_alloc_rdma_q_ctx - allocate RDMA queue contexts for the given VSI and TC SYNOPSIS int ice_alloc_rdma_q_ctx (struct ice_hw *hw , u16 vsi_handle , u8 tc , u16 new_numqs ); ARGUMENTS hw pointer to the HW struct vsi_handle VSI handle tc TC number new_numqs number of q...
ice_alloc_rdma_qvector(9)
NAME ice_alloc_rdma_qvector - alloc vector resources reserved for RDMA driver SYNOPSIS int ice_alloc_rdma_qvector (struct iidc_rdma_core_dev_info *cdev , struct msix_entry *entry ); ARGUMENTS cdev pointer to iidc_rdma_core_dev_info struct entry MSI-X entry to be removed RETURN Zero on success, e...
ice_alloc_recipe(9)
NAME ice_alloc_recipe - add recipe resource SYNOPSIS int ice_alloc_recipe (struct ice_hw *hw , u16 *rid ); ARGUMENTS hw pointer to the hardware structure rid recipe ID returned as response to AQ call SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_switch.c ice_init_def_sw_rec...
ice_alloc_res_cntr(9)
NAME ice_alloc_res_cntr - allocating resource counter SYNOPSIS int ice_alloc_res_cntr (struct ice_hw *hw , u8 type , u8 alloc_shared , u16 num_items , u16 *counter_id ); ARGUMENTS hw pointer to the hardware structure type type of resource alloc_shared if set it is sh...
ice_alloc_rq_bufs(9)
NAME ice_alloc_rq_bufs - Allocate pre-posted buffers for the ARQ SYNOPSIS int ice_alloc_rq_bufs (struct ice_hw *hw , struct ice_ctl_q_info *cq ); ARGUMENTS hw pointer to the hardware structure cq pointer to the specific Control queue SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice...
ice_alloc_rx_bufs(9)
NAME ice_alloc_rx_bufs - Replace used receive buffers SYNOPSIS bool ice_alloc_rx_bufs (struct ice_rx_ring *rx_ring , unsigned int cleaned_count ); ARGUMENTS rx_ring ring to place buffers on cleaned_count number of buffers to replace DESCRIPTION Returns false if all allocations were s...
ice_alloc_rx_bufs_zc(9)
NAME ice_alloc_rx_bufs_zc - allocate a number of Rx buffers SYNOPSIS bool ice_alloc_rx_bufs_zc (struct ice_rx_ring *rx_ring , struct xsk_buff_pool *xsk_pool , u16 count ); ARGUMENTS rx_ring Rx ring xsk_pool XSK buffer pool to pick buffers to be filled by HW count The number of buffers to ...
ice_alloc_setup_tstamp_ring(9)
NAME ice_alloc_setup_tstamp_ring - Allocate and setup the Time Stamp ring SYNOPSIS int ice_alloc_setup_tstamp_ring (struct ice_tx_ring *tx_ring ); ARGUMENTS tx_ring Tx ring to allocate and setup the Time Stamp ring for RETURN 0 on success, negative on error SEE ALSO Kernel file ./drivers/net/ethernet/intel/...
ice_alloc_sq_bufs(9)
NAME ice_alloc_sq_bufs - Allocate empty buffer structs for the ATQ SYNOPSIS int ice_alloc_sq_bufs (struct ice_hw *hw , struct ice_ctl_q_info *cq ); ARGUMENTS hw pointer to the hardware structure cq pointer to the specific Control queue SEE ALSO Kernel file ./drivers/net/ethernet/intel/i...
ice_alloc_tcam_ent(9)
NAME ice_alloc_tcam_ent - allocate hardware TCAM entry SYNOPSIS int ice_alloc_tcam_ent (struct ice_hw *hw , enum ice_block blk , bool btm , u16 *tcam_idx ); ARGUMENTS hw pointer to the HW struct blk the block to allocate the TCAM for btm true to allocate from bottom of table, ...
ice_alloc_tstamp_ring(9)
NAME ice_alloc_tstamp_ring - allocate the Time Stamp ring SYNOPSIS int ice_alloc_tstamp_ring (struct ice_tx_ring *tx_ring ); ARGUMENTS tx_ring Tx ring to allocate 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_f...
ice_allocate_pf(9)
NAME ice_allocate_pf - Allocate devlink and return PF structure pointer SYNOPSIS struct ice_pf * ice_allocate_pf (struct device *dev ); ARGUMENTS dev the device to allocate for DESCRIPTION Allocate a devlink instance for this device and return the private area as the PF structure. The devlink memory is kept ...
ice_allocate_sf(9)
NAME ice_allocate_sf - Allocate devlink and return SF structure pointer SYNOPSIS struct ice_sf_priv * ice_allocate_sf (struct device *dev , struct ice_pf *pf ); ARGUMENTS dev the device to allocate for pf pointer to the PF structure DESCRIPTION Allocate a devlink instance for SF. RETURN ice...
ice_aq_add_lan_txq(9)
NAME ice_aq_add_lan_txq - SYNOPSIS int ice_aq_add_lan_txq (struct ice_hw *hw , u8 num_qgrps , struct ice_aqc_add_tx_qgrp *qg_list , u16 buf_size , struct ice_sq_cd *cd ); ARGUMENTS hw pointer to the hardware structure num_qgrps Number of added queue groups qg_list list of queue groups t...
ice_aq_add_rdma_qsets(9)
NAME ice_aq_add_rdma_qsets - SYNOPSIS int ice_aq_add_rdma_qsets (struct ice_hw *hw , u8 num_qset_grps , struct ice_aqc_add_rdma_qset_data *qset_list , u16 buf_size , struct ice_sq_cd *cd ); ARGUMENTS hw pointer to the hardware structure num_qset_grps Number of RDMA Qset groups ...
ice_aq_add_recipe(9)
NAME ice_aq_add_recipe - add switch recipe SYNOPSIS int ice_aq_add_recipe (struct ice_hw *hw , struct ice_aqc_recipe_data_elem *s_recipe_list , u16 num_recipes , struct ice_sq_cd *cd ); ARGUMENTS hw pointer to the HW struct s_recipe_list pointer to switch rule population list ...
ice_aq_add_rl_profile(9)
NAME ice_aq_add_rl_profile - adds rate limiting profile(s) SYNOPSIS int ice_aq_add_rl_profile (struct ice_hw *hw , u16 num_profiles , struct ice_aqc_rl_profile_elem *buf , u16 buf_size , u16 *num_profiles_added , struct ice_sq_cd *cd ); ARGUMENTS hw pointer to the HW struct num_profiles ...
ice_aq_add_sched_elems(9)
NAME ice_aq_add_sched_elems - adds scheduling element SYNOPSIS int ice_aq_add_sched_elems (struct ice_hw *hw , u16 grps_req , struct ice_aqc_add_elem *buf , u16 buf_size , u16 *grps_added , struct ice_sq_cd *cd ); ARGUMENTS hw pointer to the HW struct grps_req the number of groups that are request...
ice_aq_add_vsi(9)
NAME ice_aq_add_vsi - SYNOPSIS int ice_aq_add_vsi (struct ice_hw *hw , struct ice_vsi_ctx *vsi_ctx , struct ice_sq_cd *cd ); ARGUMENTS hw pointer to the HW struct vsi_ctx pointer to a VSI context struct cd pointer to command details structure or NULL DESCRIPTION Add a VSI contex...
ice_aq_alloc_free_res(9)
NAME ice_aq_alloc_free_res - command to allocate/free resources SYNOPSIS int ice_aq_alloc_free_res (struct ice_hw *hw , struct ice_aqc_alloc_free_res_elem *buf , u16 buf_size , enum ice_adminq_opc opc ); ARGUMENTS hw pointer to the HW struct buf Indirect buffer to hold data parameters and res...
ice_aq_alloc_free_vsi_list(9)
NAME ice_aq_alloc_free_vsi_list - SYNOPSIS int ice_aq_alloc_free_vsi_list (struct ice_hw *hw , u16 *vsi_list_id , enum ice_sw_lkup_type lkup_type , enum ice_adminq_opc opc ); ARGUMENTS hw pointer to the HW struct vsi_list_id VSI list ID returned or used for lookup lkup_type switch rule filt...
ice_aq_cancel_waiting_tasks(9)
NAME ice_aq_cancel_waiting_tasks - Immediately cancel all waiting tasks SYNOPSIS void ice_aq_cancel_waiting_tasks (struct ice_pf *pf ); ARGUMENTS pf the PF private structure DESCRIPTION Set all waiting tasks to ICE_AQ_TASK_CANCELED, and wake up their threads. This will then cause ice_aq_wait_for_event to e...
ice_aq_cfg_lan_txq(9)
NAME ice_aq_cfg_lan_txq - send AQ command 0x0C32 to FW SYNOPSIS int ice_aq_cfg_lan_txq (struct ice_hw *hw , struct ice_aqc_cfg_txqs_buf *buf , u16 buf_size , u16 num_qs , u8 oldport , u8 newport , u8 mode , struct ice_sq_cd *cd ); ARGUMENTS hw pointer to the hardware structure buf buffer for ...