id
stringlengths
4
63
text
stringlengths
153
8.81M
ice_clean_rx_ring(9)
NAME ice_clean_rx_ring - Free Rx buffers SYNOPSIS void ice_clean_rx_ring (struct ice_rx_ring *rx_ring ); ARGUMENTS rx_ring ring to be cleaned 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_tstamp_ring(9), ice_free_tstamp_r...
ice_clean_sbq_subtask(9)
NAME ice_clean_sbq_subtask - clean the Sideband Queue rings SYNOPSIS void ice_clean_sbq_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_in...
ice_clean_sq(9)
NAME ice_clean_sq - cleans send side of a control queue SYNOPSIS u16 ice_clean_sq (struct ice_hw *hw , struct ice_ctl_q_info *cq ); ARGUMENTS hw pointer to the hardware structure cq pointer to the specific Control queue DESCRIPTION returns the number of free desc SEE ALSO Kernel file ....
ice_clean_tstamp_ring(9)
NAME ice_clean_tstamp_ring - clean time stamp ring SYNOPSIS void ice_clean_tstamp_ring (struct ice_tx_ring *tx_ring ); ARGUMENTS tx_ring Tx ring to clean the Time Stamp ring for 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_fr...
ice_clean_tx_irq(9)
NAME ice_clean_tx_irq - Reclaim resources after transmit completes SYNOPSIS bool ice_clean_tx_irq (struct ice_tx_ring *tx_ring , int napi_budget ); ARGUMENTS tx_ring Tx ring to clean napi_budget Used to determine if we are in netpoll DESCRIPTION Returns true if there's any budget left (e.g. the clean is ...
ice_clean_tx_ring(9)
NAME ice_clean_tx_ring - Free any empty Tx buffers SYNOPSIS void ice_clean_tx_ring (struct ice_tx_ring *tx_ring ); ARGUMENTS tx_ring ring to be cleaned 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_tstamp_ring(9), ice_fr...
ice_clean_xdp_irq(9)
NAME ice_clean_xdp_irq - Reclaim resources after transmit completes on XDP ring SYNOPSIS u32 ice_clean_xdp_irq (struct ice_tx_ring *xdp_ring ); ARGUMENTS xdp_ring XDP ring to clean SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_txrx_lib.c ice_release_rx_desc(9), ice_get_rx_hash(9), ice_rx_ha...
ice_clean_xdp_irq_zc(9)
NAME ice_clean_xdp_irq_zc - produce AF_XDP descriptors to CQ SYNOPSIS u32 ice_clean_xdp_irq_zc (struct ice_tx_ring *xdp_ring , struct xsk_buff_pool *xsk_pool ); ARGUMENTS xdp_ring XDP Tx ring xsk_pool AF_XDP buffer pool pointer SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_xsk.c ice_qvec_t...
ice_clean_xdp_tx_buf(9)
NAME ice_clean_xdp_tx_buf - Free and unmap XDP Tx buffer SYNOPSIS void ice_clean_xdp_tx_buf (struct device *dev , struct ice_tx_buf *tx_buf , struct xdp_frame_bulk *bq ); ARGUMENTS dev device for DMA mapping tx_buf Tx buffer to clean bq XDP bulk flush struct SEE ALSO Kernel f...
ice_cleanup_fltr_mgmt_struct(9)
NAME ice_cleanup_fltr_mgmt_struct - cleanup filter management list and locks SYNOPSIS void ice_cleanup_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...
ice_clear_all_vsi_ctx(9)
NAME ice_clear_all_vsi_ctx - clear all the VSI context entries SYNOPSIS void ice_clear_all_vsi_ctx (struct ice_hw *hw ); ARGUMENTS hw pointer to the HW struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_switch.c ice_init_def_sw_recp(9), ice_aq_get_sw_cfg(9), ice_aq_add_vsi(9), ice_aq_...
ice_clear_arfs(9)
NAME ice_clear_arfs - clear the aRFS hash table and any memory used for aRFS SYNOPSIS void ice_clear_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_a...
ice_clear_dflt_vsi(9)
NAME ice_clear_dflt_vsi - clear the default forwarding VSI SYNOPSIS int ice_clear_dflt_vsi (struct ice_vsi *vsi ); ARGUMENTS vsi VSI to remove from filter list DESCRIPTION If the switch has no default VSI or it's not enabled then return error. Otherwise try to clear the default VSI and return the result. S...
ice_clear_feature_support(9)
NAME ice_clear_feature_support - SYNOPSIS void ice_clear_feature_support (struct ice_pf *pf , enum ice_feature f ); ARGUMENTS pf pointer to the struct ice_pf instance f feature enum to clear SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_type_str(9), ic...
ice_clear_hw_tbls(9)
NAME ice_clear_hw_tbls - clear HW tables and flow profiles SYNOPSIS void ice_clear_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_...
ice_clear_interrupt_scheme(9)
NAME ice_clear_interrupt_scheme - Undo things done by ice_init_interrupt_scheme SYNOPSIS void ice_clear_interrupt_scheme (struct ice_pf *pf ); ARGUMENTS pf board private structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_irq.c ice_init_irq_tracker(9), ice_deinit_irq_tracker(9), ice_fre...
ice_clear_pf_cfg(9)
NAME ice_clear_pf_cfg - Clear PF configuration SYNOPSIS int ice_clear_pf_cfg (struct ice_hw *hw ); ARGUMENTS hw pointer to the hardware structure DESCRIPTION Clears any existing PF configuration (VSIs, VSI lists, switch rules, port configuration, flow director filters, etc.). SEE ALSO Kernel file ./dri...
ice_clear_phy_tstamp(9)
NAME ice_clear_phy_tstamp - Clear a timestamp from the timestamp block SYNOPSIS int ice_clear_phy_tstamp (struct ice_hw *hw , u8 block , u8 idx ); ARGUMENTS hw pointer to the HW struct block the block to read from idx the timestamp index to reset DESCRIPTION Clear a timestamp ...
ice_clear_phy_tstamp_e810(9)
NAME ice_clear_phy_tstamp_e810 - Clear a timestamp from the external PHY SYNOPSIS int ice_clear_phy_tstamp_e810 (struct ice_hw *hw , u8 lport , u8 idx ); ARGUMENTS hw pointer to the HW struct lport the lport to read from idx the timestamp index to reset DESCRIPTION Read the tim...
ice_clear_phy_tstamp_e82x(9)
NAME ice_clear_phy_tstamp_e82x - Clear a timestamp from the quad block SYNOPSIS int ice_clear_phy_tstamp_e82x (struct ice_hw *hw , u8 quad , u8 idx ); ARGUMENTS hw pointer to the HW struct quad the quad to read from idx the timestamp index to reset DESCRIPTION Read the timesta...
ice_clear_promisc(9)
NAME ice_clear_promisc - Disable promiscuous mode for a given PF SYNOPSIS int ice_clear_promisc (struct ice_vsi *vsi , u8 promisc_m ); ARGUMENTS vsi the VSI being configured promisc_m mask of promiscuous config bits SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_de...
ice_clear_ptp_tstamp_eth56g(9)
NAME ice_clear_ptp_tstamp_eth56g - Clear a timestamp from the quad block SYNOPSIS int ice_clear_ptp_tstamp_eth56g (struct ice_hw *hw , u8 port , u8 idx ); ARGUMENTS hw pointer to the HW struct port the quad to read from idx the timestamp index to reset DESCRIPTION Read and th...
ice_clear_pxe_mode(9)
NAME ice_clear_pxe_mode - clear pxe operations mode SYNOPSIS void ice_clear_pxe_mode (struct ice_hw *hw ); ARGUMENTS hw pointer to the HW struct DESCRIPTION Make sure all PXE mode settings are cleared, including things like descriptor fetch/write-back mode. SEE ALSO Kernel file ./drivers/net/ethernet/intel...
ice_clear_rdma_cap(9)
NAME ice_clear_rdma_cap - disable RDMA support SYNOPSIS void ice_clear_rdma_cap (struct ice_pf *pf ); ARGUMENTS pf PF struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice.h ice_vector_ch_enabled(9), ice_ptp_pf_handles_tx_interrupt(9), ice_irq_dynamic_ena(9), ice_netdev_to_pf(9), ...
ice_clear_vsi_ctx(9)
NAME ice_clear_vsi_ctx - clear the VSI context entry SYNOPSIS void ice_clear_vsi_ctx (struct ice_hw *hw , u16 vsi_handle ); ARGUMENTS hw pointer to the HW struct vsi_handle VSI handle DESCRIPTION clear the VSI context entry SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_switch.c i...
ice_clear_vsi_promisc(9)
NAME ice_clear_vsi_promisc - clear specified promiscuous mode(s) for given VSI SYNOPSIS int ice_clear_vsi_promisc (struct ice_hw *hw , u16 vsi_handle , u8 promisc_mask , u16 vid ); ARGUMENTS hw pointer to the hardware structure vsi_handle VSI handle to clear mode promisc_mask ...
ice_clear_vsi_q_ctx(9)
NAME ice_clear_vsi_q_ctx - clear VSI queue contexts for all TCs SYNOPSIS void ice_clear_vsi_q_ctx (struct ice_hw *hw , u16 vsi_handle ); ARGUMENTS hw pointer to the HW struct vsi_handle VSI handle SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_switch.c ice_init_def_sw_recp(9), ice...
ice_cmp_ipv6_addr(9)
NAME ice_cmp_ipv6_addr - compare 2 IP v6 addresses SYNOPSIS int ice_cmp_ipv6_addr (__be32 *a , __be32 *b ); ARGUMENTS a IP v6 address b IP v6 address DESCRIPTION Returns 0 on equal, returns non-0 if different SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_fdir.c ice_set_dflt_v...
ice_configure_phy(9)
NAME ice_configure_phy - configure PHY SYNOPSIS int ice_configure_phy (struct ice_vsi *vsi ); ARGUMENTS vsi VSI of PHY DESCRIPTION Set the PHY configuration. If the current PHY configuration is the same as the curr_user_phy_cfg, then do nothing to avoid link flap. Otherwise configure the based get PHY capabi...
ice_conv_link_speed_to_virtchnl(9)
NAME ice_conv_link_speed_to_virtchnl - SYNOPSIS u32 ice_conv_link_speed_to_virtchnl (bool adv_link_support , u16 link_speed ); ARGUMENTS adv_link_support determines the format of the returned link speed link_speed variable containing the link_speed to be converted DESCRIPTION Convert link speed supported b...
ice_copy_and_init_pkg(9)
NAME ice_copy_and_init_pkg - initialize/download a copy of the package SYNOPSIS enum ice_ddp_state ice_copy_and_init_pkg (struct ice_hw *hw , const u8 *buf , u32 len ); ARGUMENTS hw pointer to the hardware structure buf pointer to the package buffer len size of the package buf...
ice_copy_phy_caps_to_cfg(9)
NAME ice_copy_phy_caps_to_cfg - Copy PHY ability data to configuration data SYNOPSIS void ice_copy_phy_caps_to_cfg (struct ice_port_info *pi , struct ice_aqc_get_phy_caps_data *caps , struct ice_aqc_set_phy_cfg_data *cfg ); ARGUMENTS pi port information structure caps PHY ability structure to ...
ice_copy_rxq_ctx_from_hw(9)
NAME ice_copy_rxq_ctx_from_hw - Copy packed Rx Queue context from HW registers SYNOPSIS void ice_copy_rxq_ctx_from_hw (struct ice_hw *hw , ice_rxq_ctx_buf_t *rxq_ctx , u32 rxq_index ); ARGUMENTS hw pointer to the hardware structure rxq_ctx pointer to the packed Rx queue context rxq_index ...
ice_copy_rxq_ctx_to_hw(9)
NAME ice_copy_rxq_ctx_to_hw - Copy packed Rx queue context to HW registers SYNOPSIS void ice_copy_rxq_ctx_to_hw (struct ice_hw *hw , const ice_rxq_ctx_buf_t *rxq_ctx , u32 rxq_index ); ARGUMENTS hw pointer to the hardware structure rxq_ctx pointer to the packed Rx queue context rxq_index ...
ice_copy_txq_ctx_from_hw(9)
NAME ice_copy_txq_ctx_from_hw - Copy Tx Queue context from HW registers SYNOPSIS void ice_copy_txq_ctx_from_hw (struct ice_hw *hw , ice_txq_ctx_buf_full_t *txq_ctx , u32 txq_index ); ARGUMENTS hw pointer to the hardware structure txq_ctx pointer to the packed Tx queue context, including internal ...
ice_copy_txq_ctx_to_hw(9)
NAME ice_copy_txq_ctx_to_hw - Copy Tx Queue context into HW registers SYNOPSIS void ice_copy_txq_ctx_to_hw (struct ice_hw *hw , const ice_txq_ctx_buf_full_t *txq_ctx , u32 txq_index ); ARGUMENTS hw pointer to the hardware structure txq_ctx pointer to the packed Tx queue context, including interna...
ice_create_all_ctrlq(9)
NAME ice_create_all_ctrlq - main initialization routine for all control queues SYNOPSIS int ice_create_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 ...
ice_create_init_fdir_rule(9)
NAME ice_create_init_fdir_rule - SYNOPSIS int ice_create_init_fdir_rule (struct ice_pf *pf , enum ice_fltr_ptype flow ); ARGUMENTS pf PF structure flow filter enum DESCRIPTION Return error value or 0 on success. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c ice_f...
ice_create_lag_recipe(9)
NAME ice_create_lag_recipe - SYNOPSIS int ice_create_lag_recipe (struct ice_hw *hw , u16 *rid , const u8 *base_recipe , u8 prio ); ARGUMENTS hw pointer to HW struct rid pointer to u16 to pass back recipe index base_recipe recipe to base the new recipe on prio priority f...
ice_create_pkt_fwd_rule(9)
NAME ice_create_pkt_fwd_rule - SYNOPSIS int ice_create_pkt_fwd_rule (struct ice_hw *hw , struct ice_fltr_list_entry *f_entry ); ARGUMENTS hw pointer to the hardware structure f_entry entry containing packet forwarding information DESCRIPTION Create switch rule with given filter information and a...
ice_create_prof_id_vsig(9)
NAME ice_create_prof_id_vsig - add a new VSIG with a single profile SYNOPSIS int ice_create_prof_id_vsig (struct ice_hw *hw , enum ice_block blk , u16 vsi , u64 hdl , struct list_head *chg ); ARGUMENTS hw pointer to the HW struct blk hardware block vsi the initial VSI that wil...
ice_create_q_channel(9)
NAME ice_create_q_channel - function to create channel SYNOPSIS int ice_create_q_channel (struct ice_vsi *vsi , struct ice_channel *ch ); ARGUMENTS vsi VSI to be configured ch ptr to channel (it contains channel specific params) DESCRIPTION This function creates channel (VSI) using num_queue...
ice_create_q_channels(9)
NAME ice_create_q_channels - Add queue channel for the given TCs SYNOPSIS int ice_create_q_channels (struct ice_vsi *vsi ); ARGUMENTS vsi VSI to be configured DESCRIPTION Configures queue channel mapping to the given TCs SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_dev(9)...
ice_create_tunnel(9)
NAME ice_create_tunnel - SYNOPSIS int ice_create_tunnel (struct ice_hw *hw , u16 index , enum ice_tunnel_type type , u16 port ); ARGUMENTS hw pointer to the HW structure index device table entry type type of tunnel port port of tunnel to create DESCRIPTION Create ...
ice_create_vf_entries(9)
NAME ice_create_vf_entries - Allocate and insert VF entries SYNOPSIS int ice_create_vf_entries (struct ice_pf *pf , u16 num_vfs ); ARGUMENTS pf pointer to the PF structure num_vfs the number of VFs to allocate DESCRIPTION Allocate new VF entries and insert them into the hash table. Set some basi...
ice_create_vsi_list_map(9)
NAME ice_create_vsi_list_map - SYNOPSIS struct ice_vsi_list_map_info * ice_create_vsi_list_map (struct ice_hw *hw , u16 *vsi_handle_arr , u16 num_vsi , u16 vsi_list_id ); ARGUMENTS hw pointer to the hardware structure vsi_handle_arr array of VSI handles to set in the VSI mapping ...
ice_create_vsi_list_rule(9)
NAME ice_create_vsi_list_rule - Creates and populates a VSI list rule SYNOPSIS int ice_create_vsi_list_rule (struct ice_hw *hw , u16 *vsi_handle_arr , u16 num_vsi , u16 *vsi_list_id , enum ice_sw_lkup_type lkup_type ); ARGUMENTS hw pointer to the HW struct vsi_handle_arr array of V...
ice_create_vsig_from_lst(9)
NAME ice_create_vsig_from_lst - create a new VSIG with a list of profiles SYNOPSIS int ice_create_vsig_from_lst (struct ice_hw *hw , enum ice_block blk , u16 vsi , struct list_head *lst , u16 *new_vsig , struct list_head *chg ); ARGUMENTS hw pointer to the HW struct blk hardware block ...
ice_ctl_q_str(9)
NAME ice_ctl_q_str - Convert control queue type to string SYNOPSIS const char * ice_ctl_q_str (enum ice_ctl_q qtype ); ARGUMENTS qtype the control queue type RETURN A string name for the given control queue type. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_controlq.c ice_adminq_init_regs(9...
ice_ctrl_vsi_setup(9)
NAME ice_ctrl_vsi_setup - Set up a control VSI SYNOPSIS struct ice_vsi * ice_ctrl_vsi_setup (struct ice_pf *pf , struct ice_port_info *pi ); ARGUMENTS pf board private structure pi pointer to the port_info instance DESCRIPTION Returns pointer to the successfully allocated VSI software struc...
ice_ctrlq_pending(9)
NAME ice_ctrlq_pending - check if there is a difference between ntc and ntu SYNOPSIS bool ice_ctrlq_pending (struct ice_hw *hw , struct ice_ctl_q_info *cq ); ARGUMENTS hw pointer to hardware info cq control queue information DESCRIPTION returns true if there are pending messages in a queue,...
ice_dcb_bwchk(9)
NAME ice_dcb_bwchk - check if ETS bandwidth input parameters are correct SYNOPSIS int ice_dcb_bwchk (struct ice_pf *pf , struct ice_dcbx_cfg *dcbcfg ); ARGUMENTS pf pointer to the PF struct dcbcfg pointer to DCB config structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_dcb_...
ice_dcb_cfg_to_lldp(9)
NAME ice_dcb_cfg_to_lldp - Convert DCB configuration to MIB format SYNOPSIS void ice_dcb_cfg_to_lldp (u8 *lldpmib , u16 *miblen , struct ice_dcbx_cfg *dcbcfg ); ARGUMENTS lldpmib pointer to the HW struct miblen length of LLDP MIB dcbcfg Local store which holds the DCB Config DESCRIPTION...
ice_dcb_ena_dis_vsi(9)
NAME ice_dcb_ena_dis_vsi - disable certain VSIs for DCB config/reconfig SYNOPSIS void ice_dcb_ena_dis_vsi (struct ice_pf *pf , bool ena , bool locked ); ARGUMENTS pf pointer to the PF instance ena true to enable VSIs, false to disable locked true if caller holds RTNL lock, false ...
ice_dcb_get_ena_tc(9)
NAME ice_dcb_get_ena_tc - return bitmap of enabled TCs SYNOPSIS u8 ice_dcb_get_ena_tc (struct ice_dcbx_cfg *dcbcfg ); ARGUMENTS dcbcfg DCB config to evaluate for enabled TCs SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_dcb_lib.c ice_is_pfc_causing_hung_q(9), ice_dcb_get_mode(9), ice_dcb...
ice_dcb_get_mode(9)
NAME ice_dcb_get_mode - gets the DCB mode SYNOPSIS u8 ice_dcb_get_mode (struct ice_port_info *port_info , bool host ); ARGUMENTS port_info pointer to port info structure host if set it's HOST if not it's MANAGED SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_dcb_lib.c ice_dcb_get_en...
ice_dcb_get_num_tc(9)
NAME ice_dcb_get_num_tc - Get the number of TCs from DCBX config SYNOPSIS u8 ice_dcb_get_num_tc (struct ice_dcbx_cfg *dcbcfg ); ARGUMENTS dcbcfg config to retrieve number of TCs from 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_dcb_get_tc(9)
NAME ice_dcb_get_tc - Get the TC associated with the queue SYNOPSIS u8 ice_dcb_get_tc (struct ice_vsi *vsi , int queue_index ); ARGUMENTS vsi ptr to the VSI queue_index queue number associated with VSI SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_dcb_lib.c ice_dcb_get_ena_tc(9), ...
ice_dcb_init_cfg(9)
NAME ice_dcb_init_cfg - set the initial DCB config in SW SYNOPSIS int ice_dcb_init_cfg (struct ice_pf *pf , bool locked ); ARGUMENTS pf PF to apply config to locked Is the RTNL held SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_dcb_lib.c ice_dcb_get_ena_tc(9), ice_is_pfc_cau...
ice_dcb_is_mib_change_pending(9)
NAME ice_dcb_is_mib_change_pending - Check if MIB change is pending SYNOPSIS bool ice_dcb_is_mib_change_pending (u8 state ); ARGUMENTS state MIB change state 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_dcb_get_mode(9), ...
ice_dcb_need_recfg(9)
NAME ice_dcb_need_recfg - Check if DCB needs reconfig SYNOPSIS bool ice_dcb_need_recfg (struct ice_pf *pf , struct ice_dcbx_cfg *old_cfg , struct ice_dcbx_cfg *new_cfg ); ARGUMENTS pf board private structure old_cfg current DCB config new_cfg new DCB config SEE ALSO Kernel file ....
ice_dcb_noncontig_cfg(9)
NAME ice_dcb_noncontig_cfg - Configure DCB for non-contiguous TCs SYNOPSIS int ice_dcb_noncontig_cfg (struct ice_pf *pf ); ARGUMENTS pf pointer to the PF struct DESCRIPTION If non-contiguous TCs, then configure SW DCB with TC0 and ETS non-willing SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ic...
ice_dcb_process_lldp_set_mib_change(9)
NAME ice_dcb_process_lldp_set_mib_change - Process MIB change SYNOPSIS void ice_dcb_process_lldp_set_mib_change (struct ice_pf *pf , struct ice_rq_event_info *event ); ARGUMENTS pf ptr to ice_pf event pointer to the admin queue receive event SEE ALSO Kernel file ./drivers/net/ethernet/inte...
ice_dcb_rebuild(9)
NAME ice_dcb_rebuild - rebuild DCB post reset SYNOPSIS void ice_dcb_rebuild (struct ice_pf *pf ); ARGUMENTS pf physical function instance 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_dcb_get_mode(9), ice_dcb_get_num_...
ice_dcb_sw_dflt_cfg(9)
NAME ice_dcb_sw_dflt_cfg - Apply a default DCB config SYNOPSIS int ice_dcb_sw_dflt_cfg (struct ice_pf *pf , bool ets_willing , bool locked ); ARGUMENTS pf PF to apply config to ets_willing configure ETS willing locked was this function called with RTNL held SEE ALSO Kernel file ./dr...
ice_dcb_tc_contig(9)
NAME ice_dcb_tc_contig - Check that TCs are contiguous SYNOPSIS bool ice_dcb_tc_contig (u8 *prio_table ); ARGUMENTS prio_table pointer to priority table DESCRIPTION Check if TCs begin with TC0 and are contiguous SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_dcb_lib.c ice_dcb_get_ena_tc(9), ice_...
ice_dcbnl_cee_set_all(9)
NAME ice_dcbnl_cee_set_all - Commit CEE DCB settings to HW SYNOPSIS u8 ice_dcbnl_cee_set_all (struct net_device *netdev ); ARGUMENTS netdev the corresponding netdev SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_dcb_nl.c ice_dcbnl_devreset(9), ice_dcbnl_getets(9), ice_dcbnl_setets(9), ice_dcbnl_getnu...
ice_dcbnl_delapp(9)
NAME ice_dcbnl_delapp - Delete local IEEE App config SYNOPSIS int ice_dcbnl_delapp (struct net_device *netdev , struct dcb_app *app ); ARGUMENTS netdev relevant netdev app struct to hold app too delete DESCRIPTION Will not delete first application required by the FW SEE ALSO Kernel file ./drive...
ice_dcbnl_devreset(9)
NAME ice_dcbnl_devreset - perform enough of a ifdown/ifup to sync DCBNL info SYNOPSIS void ice_dcbnl_devreset (struct net_device *netdev ); ARGUMENTS netdev device associated with interface that needs reset SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_dcb_nl.c ice_dcbnl_getets(9), ice_dcbnl_setets...
ice_dcbnl_find_app(9)
NAME ice_dcbnl_find_app - Search for APP in given DCB config SYNOPSIS bool ice_dcbnl_find_app (struct ice_dcbx_cfg *cfg , struct ice_dcb_app_priority_table *app ); ARGUMENTS cfg struct to hold DCBX config app struct to hold app data to look for SEE ALSO Kernel file ./drivers/net/ethernet/inte...
ice_dcbnl_flush_apps(9)
NAME ice_dcbnl_flush_apps - Delete all removed APPs SYNOPSIS void ice_dcbnl_flush_apps (struct ice_pf *pf , struct ice_dcbx_cfg *old_cfg , struct ice_dcbx_cfg *new_cfg ); ARGUMENTS pf the corresponding PF old_cfg old DCBX configuration data new_cfg new DCBX configuration data DESCRIP...
ice_dcbnl_get_cap(9)
NAME ice_dcbnl_get_cap - Get DCBX capabilities of adapter SYNOPSIS u8 ice_dcbnl_get_cap (struct net_device *netdev , int capid , u8 *cap ); ARGUMENTS netdev pointer to netdev struct capid the capability type cap the capability value SEE ALSO Kernel file ./drivers/net/ethernet/intel...
ice_dcbnl_get_perm_hw_addr(9)
NAME ice_dcbnl_get_perm_hw_addr - MAC address used by DCBX SYNOPSIS void ice_dcbnl_get_perm_hw_addr (struct net_device *netdev , u8 *perm_addr ); ARGUMENTS netdev pointer to netdev struct perm_addr buffer to return permanent MAC address SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_dcb_n...
ice_dcbnl_get_pfc_cfg(9)
NAME ice_dcbnl_get_pfc_cfg - Get CEE PFC config SYNOPSIS void ice_dcbnl_get_pfc_cfg (struct net_device *netdev , int prio , u8 *setting ); ARGUMENTS netdev pointer to netdev struct prio corresponding user priority setting the PFC setting for given priority SEE ALSO Kernel file ./d...
ice_dcbnl_get_pg_bwg_cfg_rx(9)
NAME ice_dcbnl_get_pg_bwg_cfg_rx - Get CEE PG BW Rx config SYNOPSIS void ice_dcbnl_get_pg_bwg_cfg_rx (struct net_device *netdev , int pgid , u8 *bw_pct ); ARGUMENTS netdev pointer to netdev struct pgid the corresponding traffic class bw_pct the BW percentage for the corresponding TC ...
ice_dcbnl_get_pg_bwg_cfg_tx(9)
NAME ice_dcbnl_get_pg_bwg_cfg_tx - Get CEE PGBW config SYNOPSIS void ice_dcbnl_get_pg_bwg_cfg_tx (struct net_device *netdev , int pgid , u8 *bw_pct ); ARGUMENTS netdev pointer to the netdev struct pgid corresponding traffic class bw_pct the BW percentage for the corresponding TC SEE ...
ice_dcbnl_get_pg_tc_cfg_rx(9)
NAME ice_dcbnl_get_pg_tc_cfg_rx - Get CEE PG Rx config SYNOPSIS void ice_dcbnl_get_pg_tc_cfg_rx (struct net_device *netdev , int prio , u8 *prio_type , u8 *pgid , u8 *bw_pct , u8 *up_map ); ARGUMENTS netdev pointer to netdev struct prio the corresponding user priority prio_type the traff...
ice_dcbnl_get_pg_tc_cfg_tx(9)
NAME ice_dcbnl_get_pg_tc_cfg_tx - get CEE PG Tx config SYNOPSIS void ice_dcbnl_get_pg_tc_cfg_tx (struct net_device *netdev , int prio , u8 *prio_type , u8 *pgid , u8 *bw_pct , u8 *up_map ); ARGUMENTS netdev pointer to netdev struct prio the corresponding user priority prio_type traffic p...
ice_dcbnl_getapp(9)
NAME ice_dcbnl_getapp - get CEE APP SYNOPSIS int ice_dcbnl_getapp (struct net_device *netdev , u8 idtype , u16 id ); ARGUMENTS netdev pointer to netdev struct idtype the App selector id the App ethtype or port number SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_dcb_nl....
ice_dcbnl_getdcbx(9)
NAME ice_dcbnl_getdcbx - retrieve current DCBX capability SYNOPSIS u8 ice_dcbnl_getdcbx (struct net_device *netdev ); ARGUMENTS netdev pointer to the netdev struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_dcb_nl.c ice_dcbnl_devreset(9), ice_dcbnl_getets(9), ice_dcbnl_setets(9), ice_dcbnl_getnum...
ice_dcbnl_getets(9)
NAME ice_dcbnl_getets - retrieve local ETS configuration SYNOPSIS int ice_dcbnl_getets (struct net_device *netdev , struct ieee_ets *ets ); ARGUMENTS netdev the relevant netdev ets struct to hold ETS configuration SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_dcb_nl.c ice_dcbnl_de...
ice_dcbnl_getnumtcs(9)
NAME ice_dcbnl_getnumtcs - Get max number of traffic classes supported SYNOPSIS int ice_dcbnl_getnumtcs (struct net_device *dev , int tcid , u8 *num ); ARGUMENTS dev pointer to netdev struct tcid TC ID num total number of TCs supported by the adapter DESCRIPTION Return the tota...
ice_dcbnl_getpfc(9)
NAME ice_dcbnl_getpfc - retrieve local IEEE PFC config SYNOPSIS int ice_dcbnl_getpfc (struct net_device *netdev , struct ieee_pfc *pfc ); ARGUMENTS netdev pointer to netdev struct pfc struct to hold PFC info SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_dcb_nl.c ice_dcbnl_devreset(9)...
ice_dcbnl_getpfcstate(9)
NAME ice_dcbnl_getpfcstate - get CEE PFC mode SYNOPSIS u8 ice_dcbnl_getpfcstate (struct net_device *netdev ); ARGUMENTS netdev pointer to netdev struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_dcb_nl.c ice_dcbnl_devreset(9), ice_dcbnl_getets(9), ice_dcbnl_setets(9), ice_dcbnl_getnumtcs(9), ice_...
ice_dcbnl_getstate(9)
NAME ice_dcbnl_getstate - get DCB enabled state SYNOPSIS u8 ice_dcbnl_getstate (struct net_device *netdev ); ARGUMENTS netdev pointer to netdev struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_dcb_nl.c ice_dcbnl_devreset(9), ice_dcbnl_getets(9), ice_dcbnl_setets(9), ice_dcbnl_getnumtcs(9), ice_d...
ice_dcbnl_set_all(9)
NAME ice_dcbnl_set_all - set all the apps and ieee data from DCBX config SYNOPSIS void ice_dcbnl_set_all (struct ice_vsi *vsi ); ARGUMENTS vsi pointer to VSI struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_dcb_nl.c ice_dcbnl_devreset(9), ice_dcbnl_getets(9), ice_dcbnl_setets(9), ice_dcbnl_ge...
ice_dcbnl_set_pfc_cfg(9)
NAME ice_dcbnl_set_pfc_cfg - Set CEE PFC config SYNOPSIS void ice_dcbnl_set_pfc_cfg (struct net_device *netdev , int prio , u8 set ); ARGUMENTS netdev the corresponding netdev prio User Priority set PFC setting to apply SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_dcb...
ice_dcbnl_set_pg_bwg_cfg_rx(9)
NAME ice_dcbnl_set_pg_bwg_cfg_rx - SYNOPSIS void ice_dcbnl_set_pg_bwg_cfg_rx (struct net_device *netdev , int pgid , u8 bw_pct ); ARGUMENTS netdev the corresponding netdev pgid corresponding TC bw_pct BW percentage for given TC DESCRIPTION lldpad requires this function pointer to be ...
ice_dcbnl_set_pg_bwg_cfg_tx(9)
NAME ice_dcbnl_set_pg_bwg_cfg_tx - set CEE PG Tx BW config SYNOPSIS void ice_dcbnl_set_pg_bwg_cfg_tx (struct net_device *netdev , int pgid , u8 bw_pct ); ARGUMENTS netdev the corresponding netdev pgid Correspongind traffic class bw_pct the BW percentage for the specified TC SEE ALSO ...
ice_dcbnl_set_pg_tc_cfg_rx(9)
NAME ice_dcbnl_set_pg_tc_cfg_rx - SYNOPSIS void ice_dcbnl_set_pg_tc_cfg_rx (struct net_device *netdev , int prio , u8 prio_type , u8 pgid , u8 bw_pct , u8 up_map ); ARGUMENTS netdev relevant netdev struct prio corresponding user priority prio_type the traffic priority type pgid ...
ice_dcbnl_set_pg_tc_cfg_tx(9)
NAME ice_dcbnl_set_pg_tc_cfg_tx - set CEE PG Tx config SYNOPSIS void ice_dcbnl_set_pg_tc_cfg_tx (struct net_device *netdev , int tc , u8 prio_type , u8 bwg_id , u8 bw_pct , u8 up_map ); ARGUMENTS netdev pointer to relevant netdev tc the corresponding traffic class prio_type the traffic...
ice_dcbnl_setapp(9)
NAME ice_dcbnl_setapp - set local IEEE App config SYNOPSIS int ice_dcbnl_setapp (struct net_device *netdev , struct dcb_app *app ); ARGUMENTS netdev relevant netdev struct app struct to hold app config info SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_dcb_nl.c ice_dcbnl_devreset(9),...
ice_dcbnl_setdcbx(9)
NAME ice_dcbnl_setdcbx - set required DCBX capability SYNOPSIS u8 ice_dcbnl_setdcbx (struct net_device *netdev , u8 mode ); ARGUMENTS netdev the corresponding netdev mode required mode SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_dcb_nl.c ice_dcbnl_devreset(9), ice_dcbnl_getets(9), i...
ice_dcbnl_setets(9)
NAME ice_dcbnl_setets - set IEEE ETS configuration SYNOPSIS int ice_dcbnl_setets (struct net_device *netdev , struct ieee_ets *ets ); ARGUMENTS netdev pointer to relevant netdev ets struct to hold ETS configuration SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_dcb_nl.c ice_dcbnl_d...
ice_dcbnl_setpfc(9)
NAME ice_dcbnl_setpfc - set local IEEE PFC config SYNOPSIS int ice_dcbnl_setpfc (struct net_device *netdev , struct ieee_pfc *pfc ); ARGUMENTS netdev pointer to relevant netdev pfc pointer to struct holding PFC config SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_dcb_nl.c ice_dcbnl_d...
ice_dcbnl_setstate(9)
NAME ice_dcbnl_setstate - Set CEE DCB state SYNOPSIS u8 ice_dcbnl_setstate (struct net_device *netdev , u8 state ); ARGUMENTS netdev pointer to relevant netdev state state value to set SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_dcb_nl.c ice_dcbnl_devreset(9), ice_dcbnl_getets(9), ic...
ice_dcbnl_setup(9)
NAME ice_dcbnl_setup - setup DCBNL SYNOPSIS void ice_dcbnl_setup (struct ice_vsi *vsi ); ARGUMENTS vsi VSI to get associated netdev from SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_dcb_nl.c ice_dcbnl_devreset(9), ice_dcbnl_getets(9), ice_dcbnl_setets(9), ice_dcbnl_getnumtcs(9), ice_dcbnl_getdcb...
ice_dcbnl_vsi_del_app(9)
NAME ice_dcbnl_vsi_del_app - Delete APP on all VSIs SYNOPSIS void ice_dcbnl_vsi_del_app (struct ice_vsi *vsi , struct ice_dcb_app_priority_table *app ); ARGUMENTS vsi pointer to the main VSI app APP to delete DESCRIPTION Delete given APP from all the VSIs for given PF SEE ALSO Kernel file ./...
ice_ddp_send_hunk(9)
NAME ice_ddp_send_hunk - send one hunk of data to FW SYNOPSIS enum ice_ddp_state ice_ddp_send_hunk (struct ice_ddp_send_ctx *ctx , struct ice_buf_hdr *hunk ); ARGUMENTS ctx current segment sending context hunk next hunk to send, size is always ICE_PKG_BUF_SIZE DESCRIPTION Send the next hunk of...
ice_deactivate_dynamic_port(9)
NAME ice_deactivate_dynamic_port - Deactivate a dynamic port SYNOPSIS void ice_deactivate_dynamic_port (struct ice_dynamic_port *dyn_port ); ARGUMENTS dyn_port dynamic port instance to deactivate DESCRIPTION Undo activation of a dynamic port. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/devlink/port.c ...