id
stringlengths
4
63
text
stringlengths
153
8.81M
ice_arfs_is_perfect_flow_set(9)
NAME ice_arfs_is_perfect_flow_set - Check to see if perfect flow is set SYNOPSIS bool ice_arfs_is_perfect_flow_set (struct ice_hw *hw , __be16 l3_proto , u8 l4_proto ); ARGUMENTS hw pointer to HW structure l3_proto ETH_P_IP or ETH_P_IPV6 in network order l4_proto IPPROTO_UDP or IPPROTO_...
ice_arfs_update_active_fltr_cntrs(9)
NAME ice_arfs_update_active_fltr_cntrs - update active filter counters for aRFS SYNOPSIS void ice_arfs_update_active_fltr_cntrs (struct ice_vsi *vsi , struct ice_arfs_entry *entry , bool add ); ARGUMENTS vsi VSI that aRFS is active on entry aRFS entry used to change counters add ...
ice_arfs_update_flow_rules(9)
NAME ice_arfs_update_flow_rules - add/delete aRFS rules in HW SYNOPSIS void ice_arfs_update_flow_rules (struct ice_vsi *vsi , u16 idx , struct hlist_head *add_list , struct hlist_head *del_list ); ARGUMENTS vsi the VSI to be forwarded to idx index into the table of aRFS filter lists. Obtained ...
ice_base_incval(9)
NAME ice_base_incval - Get base timer increment value SYNOPSIS u64 ice_base_incval (struct ice_pf *pf ); ARGUMENTS pf Board private structure DESCRIPTION Look up the base timer increment value for this device. The base increment value is used to define the nominal clock tick rate. This increment value is pr...
ice_bits_max_set(9)
NAME ice_bits_max_set - determine if the number of bits set is within a maximum SYNOPSIS bool ice_bits_max_set (const u8 *mask , u16 size , u16 max ); ARGUMENTS mask pointer to the byte array which is the mask size the number of bytes in the mask max the max number of set bits D...
ice_boost_tcam_handler(9)
NAME ice_boost_tcam_handler - SYNOPSIS void * ice_boost_tcam_handler (u32 sect_type , void *section , u32 index , u32 *offset ); ARGUMENTS sect_type section type section pointer to section index index of the boost TCAM entry to be returned offset pointer to receive absolute of...
ice_bridge_getlink(9)
NAME ice_bridge_getlink - Get the hardware bridge mode SYNOPSIS int ice_bridge_getlink (struct sk_buff *skb , u32 pid , u32 seq , struct net_device *dev , u32 filter_mask , int nlflags ); ARGUMENTS skb skb buff pid process ID seq RTNL message seq dev the netdev ...
ice_bridge_setlink(9)
NAME ice_bridge_setlink - Set the hardware bridge mode SYNOPSIS int ice_bridge_setlink (struct net_device *dev , struct nlmsghdr *nlh , u16 flags , struct netlink_ext_ack *extack ); ARGUMENTS dev the netdev being configured nlh RTNL message flags bridge setlink flags exta...
ice_bst_alu_init(9)
NAME ice_bst_alu_init - parse 96 bits of ALU entry SYNOPSIS void ice_bst_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/et...
ice_bst_lbl_table_get(9)
NAME ice_bst_lbl_table_get - create a boost label table SYNOPSIS struct ice_lbl_item * ice_bst_lbl_table_get (struct ice_hw *hw ); ARGUMENTS hw pointer to the hardware structure RETURN a pointer to the allocated Boost label table. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_parser.c ice_parse...
ice_bst_npkb_init(9)
NAME ice_bst_npkb_init - parse 18 bits of Next Protocol Key Build SYNOPSIS void ice_bst_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/etherne...
ice_bst_parse_item(9)
NAME ice_bst_parse_item - parse 704 bits of Boost TCAM entry SYNOPSIS void ice_bst_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 Boost TCAM entry item item of Boost TCAM...
ice_bst_pgkb_init(9)
NAME ice_bst_pgkb_init - parse 35 bits of Parse Graph Key Build SYNOPSIS void ice_bst_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/inte...
ice_bst_tcam_dump(9)
NAME ice_bst_tcam_dump - dump a boost tcam info SYNOPSIS void ice_bst_tcam_dump (struct ice_hw *hw , struct ice_bst_tcam_item *item ); ARGUMENTS hw pointer to the hardware structure item boost tcam to dump SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_parser.c ice_parser_sec...
ice_bst_tcam_match(9)
NAME ice_bst_tcam_match - match a pattern on the boost tcam table SYNOPSIS struct ice_bst_tcam_item * ice_bst_tcam_match (struct ice_bst_tcam_item *tcam_table , u8 *pat ); ARGUMENTS tcam_table boost tcam table to search pat pattern to match RETURN a pointer to the matching Boost TCAM item or NULL. ...
ice_bst_tcam_search(9)
NAME ice_bst_tcam_search - find a TCAM item with specific type SYNOPSIS struct ice_bst_tcam_item * ice_bst_tcam_search (struct ice_bst_tcam_item *tcam_table , struct ice_lbl_item *lbl_table , enum ice_lbl_type type , u16 *start ); ARGUMENTS tcam_table the TCAM table lbl_table the lbl table to search ...
ice_bst_tcam_table_get(9)
NAME ice_bst_tcam_table_get - create a boost tcam table SYNOPSIS struct ice_bst_tcam_item * ice_bst_tcam_table_get (struct ice_hw *hw ); ARGUMENTS hw pointer to the hardware structure RETURN a pointer to the allocated Boost TCAM table. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_parser.c ice_...
ice_build_tstamp_desc(9)
NAME ice_build_tstamp_desc - build Tx time stamp descriptor SYNOPSIS __le32 ice_build_tstamp_desc (u16 tx_desc , u32 tstamp ); ARGUMENTS tx_desc Tx LAN descriptor index tstamp time stamp RETURN Tx time stamp descriptor SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_txrx_lib.h ice_test_st...
ice_buildreg_itr(9)
NAME ice_buildreg_itr - build value for writing to the GLINT_DYN_CTL register SYNOPSIS u32 ice_buildreg_itr (u16 itr_idx , u16 itr ); ARGUMENTS itr_idx interrupt throttling index itr interrupt throttling value in usecs SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_txrx.c ice_prg...
ice_cache_phy_user_req(9)
NAME ice_cache_phy_user_req - SYNOPSIS void ice_cache_phy_user_req (struct ice_port_info *pi , struct ice_phy_cache_mode_data cache_data , enum ice_phy_cache_mode cache_mode ); ARGUMENTS pi port information structure cache_data PHY logging data cache_mode PHY logging mode DESCRIPTION Log t...
ice_cache_vlan_mode(9)
NAME ice_cache_vlan_mode - cache VLAN mode after DDP is downloaded SYNOPSIS void ice_cache_vlan_mode (struct ice_hw *hw ); ARGUMENTS hw pointer to the HW structure DESCRIPTION This is only called after downloading the DDP and after the global configuration lock has been released because all ports on a devic...
ice_calc_all_vfs_min_tx_rate(9)
NAME ice_calc_all_vfs_min_tx_rate - calculate cumulative min Tx rate on all VFs SYNOPSIS int ice_calc_all_vfs_min_tx_rate (struct ice_pf *pf ); ARGUMENTS pf PF associated with VFs SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_sriov.c ice_free_vf_entries(9), ice_free_vf_res(9), ice_dis_vf_map...
ice_calc_fixed_rx_offset_e82x(9)
NAME ice_calc_fixed_rx_offset_e82x - Calculated the fixed Rx offset for a port SYNOPSIS u64 ice_calc_fixed_rx_offset_e82x (struct ice_hw *hw , enum ice_ptp_link_spd link_spd ); ARGUMENTS hw pointer to HW struct link_spd The Link speed to calculate for DESCRIPTION Determine the fixed Rx latency fo...
ice_calc_fixed_tx_offset_e82x(9)
NAME ice_calc_fixed_tx_offset_e82x - Calculated Fixed Tx offset for a port SYNOPSIS u64 ice_calc_fixed_tx_offset_e82x (struct ice_hw *hw , enum ice_ptp_link_spd link_spd ); ARGUMENTS hw pointer to the HW struct link_spd the Link speed to calculate for DESCRIPTION Calculate the fixed offset due to...
ice_calc_gtpu_ctx_idx(9)
NAME ice_calc_gtpu_ctx_idx - Calculate GTPU hash context index SYNOPSIS enum ice_hash_gtpu_ctx_type ice_calc_gtpu_ctx_idx (u32 hdrs ); ARGUMENTS hdrs Bitmask of protocol headers prefixed with ICE_FLOW_SEG_HDR_* DESCRIPTION Determine the GTPU hash context index based on the combination of encapsulation headers...
ice_calc_recp_cnt(9)
NAME ice_calc_recp_cnt - calculate number of recipes based on word count SYNOPSIS int ice_calc_recp_cnt (u8 word_cnt ); ARGUMENTS word_cnt number of lookup words DESCRIPTION Word count should include switch ID word and regular lookup words. RETURN number of recipes required to fit word_cnt, including extra recip...
ice_calc_ts_ring_count(9)
NAME ice_calc_ts_ring_count - calculate the number of Tx time stamp descriptors SYNOPSIS u16 ice_calc_ts_ring_count (struct ice_tx_ring *tx_ring ); ARGUMENTS tx_ring Tx ring to calculate the count for RETURN the number of Tx time stamp descriptors. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_base....
ice_calc_txq_handle(9)
NAME ice_calc_txq_handle - calculate the queue handle SYNOPSIS u16 ice_calc_txq_handle (const struct ice_vsi *vsi , struct ice_tx_ring *ring , u8 tc ); ARGUMENTS vsi VSI that ring belongs to ring ring to get the absolute queue index tc traffic class number SEE ALSO Kernel file...
ice_calc_vf_reg_idx(9)
NAME ice_calc_vf_reg_idx - Calculate the VF's register index in the PF space SYNOPSIS void ice_calc_vf_reg_idx (struct ice_vf *vf , struct ice_q_vector *q_vector ); ARGUMENTS vf VF to calculate the register index for q_vector a q_vector associated to the VF SEE ALSO Kernel file ./drivers/net/et...
ice_can_vf_change_mac(9)
NAME ice_can_vf_change_mac - SYNOPSIS bool ice_can_vf_change_mac (struct ice_vf *vf ); ARGUMENTS vf pointer to the VF info DESCRIPTION Return true if the VF is allowed to change its MAC filters, false otherwise SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/virtchnl.c ice_vc_vf_broadcast(9),...
ice_cancel_pending_update(9)
NAME ice_cancel_pending_update - Cancel any pending update for a component SYNOPSIS int ice_cancel_pending_update (struct ice_pf *pf , const char *component , struct netlink_ext_ack *extack ); ARGUMENTS pf the PF driver structure component if not NULL, the name of the component being updated ...
ice_caps_to_fc_mode(9)
NAME ice_caps_to_fc_mode - SYNOPSIS enum ice_fc_mode ice_caps_to_fc_mode (u8 caps ); ARGUMENTS caps PHY capabilities DESCRIPTION Convert PHY FC capabilities to ice FC mode 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_caps_to_fec_mode(9)
NAME ice_caps_to_fec_mode - SYNOPSIS enum ice_fec_mode ice_caps_to_fec_mode (u8 caps , u8 fec_options ); ARGUMENTS caps PHY capabilities fec_options Link FEC options DESCRIPTION Convert PHY FEC capabilities to ice FEC mode SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_common.c ice_dump_ph...
ice_capture_crosststamp(9)
NAME ice_capture_crosststamp - Capture a device/system cross timestamp SYNOPSIS int ice_capture_crosststamp (ktime_t *device , struct system_counterval_t *system , void *__ctx ); ARGUMENTS device Current device time system System counter value read synchronously with device time __ctx ...
ice_cee_to_dcb_cfg(9)
NAME ice_cee_to_dcb_cfg - SYNOPSIS void ice_cee_to_dcb_cfg (struct ice_aqc_get_cee_dcb_cfg_resp *cee_cfg , struct ice_port_info *pi ); ARGUMENTS cee_cfg pointer to CEE configuration struct pi port information structure DESCRIPTION Convert CEE configuration from firmware to DCB configuration SEE...
ice_cfg_agg(9)
NAME ice_cfg_agg - config aggregator node SYNOPSIS int ice_cfg_agg (struct ice_port_info *pi , u32 agg_id , enum ice_agg_type agg_type , u8 tc_bitmap ); ARGUMENTS pi port information structure agg_id aggregator ID agg_type aggregator type queue, VSI, or aggregator group tc_bit...
ice_cfg_chnl_all_res(9)
NAME ice_cfg_chnl_all_res - configure channel resources SYNOPSIS void ice_cfg_chnl_all_res (struct ice_vsi *vsi , struct ice_channel *ch ); ARGUMENTS vsi pte to main_vsi ch ptr to channel structure DESCRIPTION This function configures channel specific resources such as flow-director counter ...
ice_cfg_dflt_vsi(9)
NAME ice_cfg_dflt_vsi - change state of VSI to set/clear default SYNOPSIS int ice_cfg_dflt_vsi (struct ice_port_info *pi , u16 vsi_handle , bool set , u8 direction ); ARGUMENTS pi pointer to the port_info structure vsi_handle VSI handle to set as default set true to add the above men...
ice_cfg_etsrec_defaults(9)
NAME ice_cfg_etsrec_defaults - Set default ETS recommended DCB config SYNOPSIS void ice_cfg_etsrec_defaults (struct ice_port_info *pi ); ARGUMENTS pi port information structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_dcb_lib.c ice_dcb_get_ena_tc(9), ice_is_pfc_causing_hung_q(9), ice_...
ice_cfg_fdir_xtrct_seq(9)
NAME ice_cfg_fdir_xtrct_seq - Configure extraction sequence for the given filter SYNOPSIS int ice_cfg_fdir_xtrct_seq (struct ice_pf *pf , struct ethtool_rx_flow_spec *fsp , struct ice_rx_flow_userdef *user ); ARGUMENTS pf PF structure fsp pointer to ethtool Rx flow specification user ...
ice_cfg_interrupt(9)
NAME ice_cfg_interrupt - SYNOPSIS enum virtchnl_status_code ice_cfg_interrupt (struct ice_vf *vf , struct ice_vsi *vsi , struct virtchnl_vector_map *map , struct ice_q_vector *q_vector ); ARGUMENTS vf pointer to the VF info vsi the VSI being configured map vector map for mappi...
ice_cfg_itr(9)
NAME ice_cfg_itr - configure the initial interrupt throttle values SYNOPSIS void ice_cfg_itr (struct ice_hw *hw , struct ice_q_vector *q_vector ); ARGUMENTS hw pointer to the HW structure q_vector interrupt vector that's being configured DESCRIPTION Configure interrupt throttling values for the r...
ice_cfg_itr_gran(9)
NAME ice_cfg_itr_gran - set the ITR granularity to 2 usecs if not already set SYNOPSIS void ice_cfg_itr_gran (struct ice_hw *hw ); ARGUMENTS hw board specific structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_base.c __ice_vsi_get_qs_contig(9), __ice_vsi_get_qs_sc(9), ice_pf_...
ice_cfg_lldp_mib_change(9)
NAME ice_cfg_lldp_mib_change - SYNOPSIS int ice_cfg_lldp_mib_change (struct ice_hw *hw , bool ena_mib ); ARGUMENTS hw pointer to the HW struct ena_mib enable/disable MIB change event DESCRIPTION Configure (disable/enable) MIB SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_dcb.c ...
ice_cfg_mac_antispoof(9)
NAME ice_cfg_mac_antispoof - Configure MAC antispoof checking behavior SYNOPSIS int ice_cfg_mac_antispoof (struct ice_vsi *vsi , bool enable ); ARGUMENTS vsi the VSI to configure enable whether to enable or disable the spoof checking DESCRIPTION Configure a VSI to enable (or disable) spoof check...
ice_cfg_netdev(9)
NAME ice_cfg_netdev - Allocate, configure and register a netdev SYNOPSIS int ice_cfg_netdev (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI associated with the new netdev DESCRIPTION Returns 0 on success, negative value on failure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_t...
ice_cfg_phy_fc(9)
NAME ice_cfg_phy_fc - Configure PHY FC data based on FC mode SYNOPSIS int ice_cfg_phy_fc (struct ice_port_info *pi , struct ice_aqc_set_phy_cfg_data *cfg , enum ice_fc_mode req_mode ); ARGUMENTS pi port information structure cfg PHY configuration data to set FC mode req_mode FC mod...
ice_cfg_phy_fec(9)
NAME ice_cfg_phy_fec - Configure PHY FEC data based on FEC mode SYNOPSIS int ice_cfg_phy_fec (struct ice_port_info *pi , struct ice_aqc_set_phy_cfg_data *cfg , enum ice_fec_mode fec ); ARGUMENTS pi port information structure cfg PHY configuration data to set FEC mode fec FEC m...
ice_cfg_q_bw_dflt_lmt(9)
NAME ice_cfg_q_bw_dflt_lmt - configure queue BW default limit SYNOPSIS int ice_cfg_q_bw_dflt_lmt (struct ice_port_info *pi , u16 vsi_handle , u8 tc , u16 q_handle , enum ice_rl_type rl_type ); ARGUMENTS pi port information structure vsi_handle sw VSI handle tc traffic class ...
ice_cfg_q_bw_lmt(9)
NAME ice_cfg_q_bw_lmt - configure queue BW limit SYNOPSIS int ice_cfg_q_bw_lmt (struct ice_port_info *pi , u16 vsi_handle , u8 tc , u16 q_handle , enum ice_rl_type rl_type , u32 bw ); ARGUMENTS pi port information structure vsi_handle sw VSI handle tc traffic class q_handle ...
ice_cfg_rdma_fltr(9)
NAME ice_cfg_rdma_fltr - enable/disable RDMA filtering on VSI SYNOPSIS int ice_cfg_rdma_fltr (struct ice_hw *hw , u16 vsi_handle , bool enable ); ARGUMENTS hw pointer to HW struct vsi_handle VSI SW index enable boolean for enable/disable SEE ALSO Kernel file ./drivers/net/ethernet/...
ice_cfg_rl_burst_size(9)
NAME ice_cfg_rl_burst_size - Set burst size value SYNOPSIS int ice_cfg_rl_burst_size (struct ice_hw *hw , u32 bytes ); ARGUMENTS hw pointer to the HW struct bytes burst size in bytes DESCRIPTION This function configures/set the burst size to requested new value. The new burst size value is use...
ice_cfg_rq_regs(9)
NAME ice_cfg_rq_regs - configure Control ARQ register SYNOPSIS int ice_cfg_rq_regs (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 Configure base address and length registers for the receiv...
ice_cfg_rxq_interrupt(9)
NAME ice_cfg_rxq_interrupt - configure interrupt on Rx queue SYNOPSIS void ice_cfg_rxq_interrupt (struct ice_vsi *vsi , u16 rxq , u16 msix_idx , u16 itr_idx ); ARGUMENTS vsi the VSI being configured rxq Rx queue being mapped to MSI-X vector msix_idx MSI-X vector index within the fun...
ice_cfg_sq_regs(9)
NAME ice_cfg_sq_regs - configure Control ATQ registers SYNOPSIS int ice_cfg_sq_regs (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 Configure base address and length registers for the trans...
ice_cfg_sw_rx_lldp(9)
NAME ice_cfg_sw_rx_lldp - Enable/disable software handling of LLDP SYNOPSIS void ice_cfg_sw_rx_lldp (struct ice_pf *pf , bool enable ); ARGUMENTS pf the PF being configured enable enable or disable DESCRIPTION Configure switch rules to enable/disable LLDP handling by software across PF. SEE AL...
ice_cfg_tstamp(9)
NAME ice_cfg_tstamp - Configure Tx time stamp queue SYNOPSIS int ice_cfg_tstamp (struct ice_tx_ring *tx_ring ); ARGUMENTS tx_ring Tx ring to be configured with timestamping RETURN 0 on success and a negative value on error. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_base.c __ice_vsi_get_qs_contig...
ice_cfg_tx_topo(9)
NAME ice_cfg_tx_topo - Initialize new Tx topology if available SYNOPSIS int ice_cfg_tx_topo (struct ice_hw *hw , const void *buf , u32 len ); ARGUMENTS hw pointer to the HW struct buf pointer to Tx topology buffer len buffer size DESCRIPTION The function will apply the new Tx...
ice_cfg_txq_interrupt(9)
NAME ice_cfg_txq_interrupt - configure interrupt on Tx queue SYNOPSIS void ice_cfg_txq_interrupt (struct ice_vsi *vsi , u16 txq , u16 msix_idx , u16 itr_idx ); ARGUMENTS vsi the VSI being configured txq Tx queue being mapped to MSI-X vector msix_idx MSI-X vector index within the fun...
ice_cfg_txtime(9)
NAME ice_cfg_txtime - configure Tx Time for the Tx ring SYNOPSIS int ice_cfg_txtime (struct ice_tx_ring *tx_ring ); ARGUMENTS tx_ring pointer to the Tx ring structure RETURN 0 on success, negative value on failure. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_dev(9), ice_ge...
ice_cfg_vlan_pruning(9)
NAME ice_cfg_vlan_pruning - enable or disable VLAN pruning on the VSI SYNOPSIS int ice_cfg_vlan_pruning (struct ice_vsi *vsi , bool ena ); ARGUMENTS vsi VSI to enable or disable VLAN pruning on ena set to true to enable VLAN pruning and false to disable it DESCRIPTION returns 0 if VSI is upda...
ice_cfg_vsi_bw_dflt_lmt_per_tc(9)
NAME ice_cfg_vsi_bw_dflt_lmt_per_tc - configure default VSI BW limit per TC SYNOPSIS int ice_cfg_vsi_bw_dflt_lmt_per_tc (struct ice_port_info *pi , u16 vsi_handle , u8 tc , enum ice_rl_type rl_type ); ARGUMENTS pi port information structure vsi_handle software VSI handle tc traffic ...
ice_cfg_vsi_bw_lmt_per_tc(9)
NAME ice_cfg_vsi_bw_lmt_per_tc - configure VSI BW limit per TC SYNOPSIS int ice_cfg_vsi_bw_lmt_per_tc (struct ice_port_info *pi , u16 vsi_handle , u8 tc , enum ice_rl_type rl_type , u32 bw ); ARGUMENTS pi port information structure vsi_handle software VSI handle tc traffic class ...
ice_cfg_vsi_lan(9)
NAME ice_cfg_vsi_lan - configure VSI LAN queues SYNOPSIS int ice_cfg_vsi_lan (struct ice_port_info *pi , u16 vsi_handle , u8 tc_bitmap , u16 *max_lanqs ); ARGUMENTS pi port information structure vsi_handle software VSI handle tc_bitmap TC bitmap max_lanqs max LAN queues array per...
ice_cfg_vsi_qs(9)
NAME ice_cfg_vsi_qs - configure the new/existing VSI queues SYNOPSIS int ice_cfg_vsi_qs (struct ice_port_info *pi , u16 vsi_handle , u8 tc_bitmap , u16 *maxqs , u8 owner ); ARGUMENTS pi port information structure vsi_handle software VSI handle tc_bitmap TC bitmap maxqs max qu...
ice_cfg_vsi_rdma(9)
NAME ice_cfg_vsi_rdma - configure the VSI RDMA queues SYNOPSIS int ice_cfg_vsi_rdma (struct ice_port_info *pi , u16 vsi_handle , u16 tc_bitmap , u16 *max_rdmaqs ); ARGUMENTS pi port information structure vsi_handle software VSI handle tc_bitmap TC bitmap max_rdmaqs max RDMA queues...
ice_cfg_xps_tx_ring(9)
NAME ice_cfg_xps_tx_ring - Configure XPS for a Tx ring SYNOPSIS void ice_cfg_xps_tx_ring (struct ice_tx_ring *ring ); ARGUMENTS ring The Tx ring to configure DESCRIPTION This enables/disables XPS for a given Tx descriptor ring based on the TCs enabled for the VSI that ring belongs to. SEE ALSO Kernel file ./...
ice_cgu_get_num_pins(9)
NAME ice_cgu_get_num_pins - get pin description array size SYNOPSIS int ice_cgu_get_num_pins (struct ice_hw *hw , bool input ); ARGUMENTS hw pointer to the hw struct input if request is done against input or output pins RETURN size of pin description array for given hw. SEE ALSO Kernel fil...
ice_cgu_get_output_pin_state_caps(9)
NAME ice_cgu_get_output_pin_state_caps - get output pin state capabilities SYNOPSIS int ice_cgu_get_output_pin_state_caps (struct ice_hw *hw , u8 pin_id , unsigned long *caps ); ARGUMENTS hw pointer to the hw struct pin_id id of a pin caps capabilities to modify RETURN * 0 - succ...
ice_cgu_get_pin_desc(9)
NAME ice_cgu_get_pin_desc - get pin description array SYNOPSIS const struct ice_cgu_pin_desc * ice_cgu_get_pin_desc (struct ice_hw *hw , bool input , int *size ); ARGUMENTS hw pointer to the hw struct input if request is done against input or output pins size size of array return...
ice_cgu_get_pin_desc_e823(9)
NAME ice_cgu_get_pin_desc_e823 - get pin description array SYNOPSIS const struct ice_cgu_pin_desc * ice_cgu_get_pin_desc_e823 (struct ice_hw *hw , bool input , int *size ); ARGUMENTS hw pointer to the hw struct input if request is done against input or output pin size number of i...
ice_cgu_get_pin_freq_supp(9)
NAME ice_cgu_get_pin_freq_supp - get pin's supported frequency SYNOPSIS struct dpll_pin_frequency * ice_cgu_get_pin_freq_supp (struct ice_hw *hw , u8 pin , bool input , u8 *num ); ARGUMENTS hw pointer to the hw struct pin pin index input if request is done against input or outpu...
ice_cgu_get_pin_name(9)
NAME ice_cgu_get_pin_name - get pin's name SYNOPSIS const char * ice_cgu_get_pin_name (struct ice_hw *hw , u8 pin , bool input ); ARGUMENTS hw pointer to the hw struct pin pin index input if request is done against input or output pin RETURN * null terminated char array with na...
ice_cgu_get_pin_type(9)
NAME ice_cgu_get_pin_type - get pin's type SYNOPSIS enum dpll_pin_type ice_cgu_get_pin_type (struct ice_hw *hw , u8 pin , bool input ); ARGUMENTS hw pointer to the hw struct pin pin index input if request is done against input or output pin RETURN type of a pin. SEE ALSO Kerne...
ice_change_mtu(9)
NAME ice_change_mtu - NDO callback to change the MTU SYNOPSIS int ice_change_mtu (struct net_device *netdev , int new_mtu ); ARGUMENTS netdev network interface device structure new_mtu new value for maximum frame size DESCRIPTION Returns 0 on success, negative on failure SEE ALSO Kernel file ./...
ice_change_proto_id_to_dvm(9)
NAME ice_change_proto_id_to_dvm - change proto id in prot_id_tbl SYNOPSIS void ice_change_proto_id_to_dvm (void ); ARGUMENTS void no arguments DESCRIPTION As protocol id for outer vlan is different in dvm and svm, if dvm is supported protocol array record for outer vlan has to be modified to reflect the value...
ice_check_component_response(9)
NAME ice_check_component_response - Report firmware response to a component SYNOPSIS int ice_check_component_response (struct ice_pf *pf , u16 id , u8 response , u8 code , struct netlink_ext_ack *extack ); ARGUMENTS pf device private data structure id component id being checked respo...
ice_check_for_hang_subtask(9)
NAME ice_check_for_hang_subtask - check for and recover hung queues SYNOPSIS void ice_check_for_hang_subtask (struct ice_pf *pf ); ARGUMENTS pf pointer to PF struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_dev(9), ice_get_tx_pending(9), ice_init_mac_fltr(9), i...
ice_check_if_dflt_vsi(9)
NAME ice_check_if_dflt_vsi - check if VSI is default VSI SYNOPSIS bool ice_check_if_dflt_vsi (struct ice_port_info *pi , u16 vsi_handle , bool *rule_exists ); ARGUMENTS pi pointer to the port_info structure vsi_handle vsi handle to check for in filter list rule_exists indicates if there are ...
ice_check_link_cfg_err(9)
NAME ice_check_link_cfg_err - check if link configuration failed SYNOPSIS void ice_check_link_cfg_err (struct ice_pf *pf , u8 link_cfg_err ); ARGUMENTS pf pointer to the PF struct link_cfg_err bitmap from the link info structure DESCRIPTION print if any link configuration failure ...
ice_check_media_subtask(9)
NAME ice_check_media_subtask - Check for media SYNOPSIS void ice_check_media_subtask (struct ice_pf *pf ); ARGUMENTS pf pointer to PF struct DESCRIPTION If media is available, then initialize PHY user configuration if it is not been, and configure the PHY if the interface is up. SEE ALSO Kernel file ./...
ice_check_module_power(9)
NAME ice_check_module_power - SYNOPSIS void ice_check_module_power (struct ice_pf *pf , u8 link_cfg_err ); ARGUMENTS pf pointer to PF struct link_cfg_err bitmap from the link info structure DESCRIPTION check module power level returned by a previous call to aq_get_link_info and pr...
ice_check_phy_fw_load(9)
NAME ice_check_phy_fw_load - check if PHY FW load failed SYNOPSIS void ice_check_phy_fw_load (struct ice_pf *pf , u8 link_cfg_err ); ARGUMENTS pf pointer to PF struct link_cfg_err bitmap from the link info structure DESCRIPTION check if external PHY FW load failed and print an err...
ice_check_reset(9)
NAME ice_check_reset - Check to see if a global reset is complete SYNOPSIS int ice_check_reset (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_p...
ice_check_sq_alive(9)
NAME ice_check_sq_alive - SYNOPSIS bool ice_check_sq_alive (struct ice_hw *hw , struct ice_ctl_q_info *cq ); ARGUMENTS hw pointer to the HW struct cq pointer to the specific Control queue DESCRIPTION Returns true if Queue is enabled else false. SEE ALSO Kernel file ./drivers/net/ethernet...
ice_check_sriov_allowed(9)
NAME ice_check_sriov_allowed - check if SR-IOV is allowed based on various checks SYNOPSIS int ice_check_sriov_allowed (struct ice_pf *pf ); ARGUMENTS pf PF to enabled SR-IOV on SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_sriov.c ice_free_vf_entries(9), ice_free_vf_res(9), ice_dis_vf_mappi...
ice_check_vf_init(9)
NAME ice_check_vf_init - helper to check if VF init complete SYNOPSIS int ice_check_vf_init (struct ice_vf *vf ); ARGUMENTS vf the pointer to the VF to check 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_ge...
ice_check_vf_ready_for_cfg(9)
NAME ice_check_vf_ready_for_cfg - check if VF is ready to be configured/queried SYNOPSIS int ice_check_vf_ready_for_cfg (struct ice_vf *vf ); ARGUMENTS vf VF to check if it's ready to be configured/queried DESCRIPTION The purpose of this function is to make sure the VF is not in reset, not disabled, and ini...
ice_chk_linearize(9)
NAME ice_chk_linearize - Check if there are more than 8 fragments per packet SYNOPSIS bool ice_chk_linearize (struct sk_buff *skb , unsigned int count ); ARGUMENTS skb send buffer count number of buffers used NOTE Our HW can't scatter-gather more than 8 fragments to build a packet on the wire a...
ice_chk_pkg_compat(9)
NAME ice_chk_pkg_compat - SYNOPSIS enum ice_ddp_state ice_chk_pkg_compat (struct ice_hw *hw , struct ice_pkg_hdr *ospkg , struct ice_seg **seg ); ARGUMENTS hw pointer to the hardware structure ospkg pointer to the package hdr seg pointer to the package segment hdr DESCRIPTION T...
ice_chk_pkg_version(9)
NAME ice_chk_pkg_version - check package version for compatibility with driver SYNOPSIS enum ice_ddp_state ice_chk_pkg_version (struct ice_pkg_ver *pkg_ver ); ARGUMENTS pkg_ver pointer to a version structure to check DESCRIPTION Check to make sure that the package about to be downloaded is compatible with the dr...
ice_chnl_cfg_res(9)
NAME ice_chnl_cfg_res - SYNOPSIS void ice_chnl_cfg_res (struct ice_vsi *vsi , struct ice_channel *ch ); ARGUMENTS vsi the VSI being setup ch ptr to channel structure DESCRIPTION Configure channel specific resources such as rings, vector. SEE ALSO Kernel file ./drivers/net/ethernet/intel...
ice_chnl_dmac_fltr_cnt(9)
NAME ice_chnl_dmac_fltr_cnt - DMAC based CHNL filter count SYNOPSIS int ice_chnl_dmac_fltr_cnt (struct ice_pf *pf ); ARGUMENTS pf Pointer to PF SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_tc_lib.h ice_is_chnl_fltr(9) April 2026 ...
ice_clean_adminq_subtask(9)
NAME ice_clean_adminq_subtask - clean the AdminQ rings SYNOPSIS void ice_clean_adminq_subtask (struct ice_pf *pf ); ARGUMENTS pf board private structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_dev(9), ice_get_tx_pending(9), ice_check_for_hang_subtask(9), ice_init...
ice_clean_ctrl_rx_irq(9)
NAME ice_clean_ctrl_rx_irq - Clean descriptors from flow director Rx ring SYNOPSIS void ice_clean_ctrl_rx_irq (struct ice_rx_ring *rx_ring ); ARGUMENTS rx_ring Rx descriptor ring for ctrl_vsi to transact packets on DESCRIPTION This function cleans Rx descriptors from the ctrl_vsi Rx ring used to set flow directo...
ice_clean_ctrl_tx_irq(9)
NAME ice_clean_ctrl_tx_irq - interrupt handler for flow director Tx queue SYNOPSIS void ice_clean_ctrl_tx_irq (struct ice_tx_ring *tx_ring ); ARGUMENTS tx_ring tx_ring to clean SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_txrx.c ice_prgm_fdir_fltr(9), ice_unmap_and_free_tx_buf(9), ice_clean...
ice_clean_mailboxq_subtask(9)
NAME ice_clean_mailboxq_subtask - clean the MailboxQ rings SYNOPSIS void ice_clean_mailboxq_subtask (struct ice_pf *pf ); ARGUMENTS pf board private structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_dev(9), ice_get_tx_pending(9), ice_check_for_hang_subtask(9), ic...
ice_clean_rq_elem(9)
NAME ice_clean_rq_elem - SYNOPSIS int ice_clean_rq_elem (struct ice_hw *hw , struct ice_ctl_q_info *cq , struct ice_rq_event_info *e , u16 *pending ); ARGUMENTS hw pointer to the HW struct cq pointer to the specific Control queue e event info from the receive descriptor, in...
ice_clean_rx_irq(9)
NAME ice_clean_rx_irq - Clean completed descriptors from Rx ring - bounce buf SYNOPSIS int ice_clean_rx_irq (struct ice_rx_ring *rx_ring , int budget ); ARGUMENTS rx_ring Rx descriptor ring to transact packets on budget Total limit on number of packets to process DESCRIPTION This function provides ...
ice_clean_rx_irq_zc(9)
NAME ice_clean_rx_irq_zc - consumes packets from the hardware ring SYNOPSIS int ice_clean_rx_irq_zc (struct ice_rx_ring *rx_ring , struct xsk_buff_pool *xsk_pool , int budget ); ARGUMENTS rx_ring AF_XDP Rx ring xsk_pool AF_XDP buffer pool pointer budget NAPI budget DESCRIPTION Returns num...