id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
ice_replay_tc_fltrs(9) | NAME ice_replay_tc_fltrs - replay TC filters
SYNOPSIS void ice_replay_tc_fltrs (struct ice_pf *pf );
ARGUMENTS pf pointer to PF struct
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_tc_lib.c ice_tc_count_lkups(9), ice_tc_fill_rules(9), ice_tc_tun_get_type(9), ice_locate_vsi_using_queue(9), ... |
ice_replay_vsi(9) | NAME ice_replay_vsi - replay VSI configuration
SYNOPSIS int ice_replay_vsi (struct ice_hw *hw , u16 vsi_handle );
ARGUMENTS hw pointer to the HW struct
vsi_handle driver VSI handle
DESCRIPTION Restore all VSI configuration after reset. It is required to call this function with main VSI first.
SEE ... |
ice_replay_vsi_adv_rule(9) | NAME ice_replay_vsi_adv_rule - Replay advanced rule for requested VSI
SYNOPSIS int ice_replay_vsi_adv_rule (struct ice_hw *hw , u16 vsi_handle , struct list_head *list_head );
ARGUMENTS hw pointer to the hardware structure
vsi_handle driver VSI handle
list_head list for which filters need ... |
ice_replay_vsi_agg(9) | NAME ice_replay_vsi_agg - replay VSI to aggregator node
SYNOPSIS int ice_replay_vsi_agg (struct ice_hw *hw , u16 vsi_handle );
ARGUMENTS hw pointer to the HW struct
vsi_handle software VSI handle
DESCRIPTION This function replays association of VSI to aggregator type nodes, and node bandwidth infor... |
ice_replay_vsi_all_fltr(9) | NAME ice_replay_vsi_all_fltr - replay all filters stored in bookkeeping lists
SYNOPSIS int ice_replay_vsi_all_fltr (struct ice_hw *hw , u16 vsi_handle );
ARGUMENTS hw pointer to the hardware structure
vsi_handle driver VSI handle
DESCRIPTION Replays filters for requested VSI via vsi_handle.
SEE AL... |
ice_replay_vsi_fltr(9) | NAME ice_replay_vsi_fltr - Replay filters for requested VSI
SYNOPSIS int ice_replay_vsi_fltr (struct ice_hw *hw , u16 vsi_handle , u8 recp_id , struct list_head *list_head );
ARGUMENTS hw pointer to the hardware structure
vsi_handle driver VSI handle
recp_id Recipe ID for which rules nee... |
ice_report_mdd_event(9) | NAME ice_report_mdd_event - Report an MDD event through devlink health
SYNOPSIS void ice_report_mdd_event (struct ice_pf *pf , enum ice_mdd_src src , u8 pf_num , u16 vf_num , u8 event , u16 queue );
ARGUMENTS pf the PF device structure
src the HW block that was the source of this MDD event
... |
ice_repr_create(9) | NAME ice_repr_create - add representor for generic VSI
SYNOPSIS struct ice_repr * ice_repr_create (struct ice_vsi *src_vsi );
ARGUMENTS src_vsi pointer to VSI structure of device to represent
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_repr.c ice_repr_inc_tx_stats(9), ice_repr_inc_rx_stats(9), ice_... |
ice_repr_create_sf(9) | NAME ice_repr_create_sf - add representor for SF VSI
SYNOPSIS struct ice_repr * ice_repr_create_sf (struct ice_dynamic_port *sf );
ARGUMENTS sf SF to create port representor on
DESCRIPTION Set correct representor type for SF and functions pointer.
RETURN created port representor on success, error otherwise... |
ice_repr_create_vf(9) | NAME ice_repr_create_vf - add representor for VF VSI
SYNOPSIS struct ice_repr * ice_repr_create_vf (struct ice_vf *vf );
ARGUMENTS vf VF to create port representor on
DESCRIPTION Set correct representor type for VF and functions pointer.
RETURN created port representor on success, error otherwise
SEE ALSO... |
ice_repr_destroy(9) | NAME ice_repr_destroy - remove representor from VF
SYNOPSIS void ice_repr_destroy (struct ice_repr *repr );
ARGUMENTS repr pointer to representor structure
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_repr.c ice_repr_inc_tx_stats(9), ice_repr_inc_rx_stats(9), ice_repr_get_stats64(9), ice_netdev_t... |
ice_repr_ethtool_reset(9) | NAME ice_repr_ethtool_reset - triggers a VF reset
SYNOPSIS int ice_repr_ethtool_reset (struct net_device *dev , u32 *flags );
ARGUMENTS dev network interface device structure
flags set of reset flags
RETURN 0 on success, -EOPNOTSUPP when using unsupported set of flags -EBUSY when VF is not read... |
ice_repr_get_stats64(9) | NAME ice_repr_get_stats64 - get VF stats for VFPR use
SYNOPSIS void ice_repr_get_stats64 (struct net_device *netdev , struct rtnl_link_stats64 *stats );
ARGUMENTS netdev pointer to port representor netdev
stats pointer to struct where stats can be stored
SEE ALSO Kernel file ./drivers/net/ethern... |
ice_repr_inc_rx_stats(9) | NAME ice_repr_inc_rx_stats - increment Rx statistic by one packet
SYNOPSIS void ice_repr_inc_rx_stats (struct net_device *netdev , unsigned int len );
ARGUMENTS netdev repr netdev to increment stats on
len length of the packet
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_repr.c i... |
ice_repr_inc_tx_stats(9) | NAME ice_repr_inc_tx_stats - increment Tx statistic by one packet
SYNOPSIS void ice_repr_inc_tx_stats (struct ice_repr *repr , unsigned int len , int xmit_status );
ARGUMENTS repr repr to increment stats on
len length of the packet
xmit_status value returned by xmit function
SEE ALSO K... |
ice_repr_reg_netdev(9) | NAME ice_repr_reg_netdev - register port representor netdev
SYNOPSIS int ice_repr_reg_netdev (struct net_device *netdev , const struct net_device_ops *ops );
ARGUMENTS netdev pointer to port representor netdev
ops new ops for netdev
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_r... |
ice_repr_sp_stats64(9) | NAME ice_repr_sp_stats64 - get slow path stats for port representor
SYNOPSIS int ice_repr_sp_stats64 (const struct net_device *dev , struct rtnl_link_stats64 *stats );
ARGUMENTS dev network interface device structure
stats netlink stats structure
SEE ALSO Kernel file ./drivers/net/ethernet/in... |
ice_repr_start_tx_queues(9) | NAME ice_repr_start_tx_queues - start Tx queues of port representor
SYNOPSIS void ice_repr_start_tx_queues (struct ice_repr *repr );
ARGUMENTS repr pointer to repr structure
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_repr.c ice_repr_inc_tx_stats(9), ice_repr_inc_rx_stats(9), ice_repr_get_stats6... |
ice_repr_stop_tx_queues(9) | NAME ice_repr_stop_tx_queues - stop Tx queues of port representor
SYNOPSIS void ice_repr_stop_tx_queues (struct ice_repr *repr );
ARGUMENTS repr pointer to repr structure
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_repr.c ice_repr_inc_tx_stats(9), ice_repr_inc_rx_stats(9), ice_repr_get_stats64(9... |
ice_repr_vf_open(9) | NAME ice_repr_vf_open - Enable port representor's network interface
SYNOPSIS int ice_repr_vf_open (struct net_device *netdev );
ARGUMENTS netdev network interface device structure
DESCRIPTION The open entry point is called when a port representor's network interface is made active by the system (IFF_UP). Corres... |
ice_repr_vf_stop(9) | NAME ice_repr_vf_stop - Disable port representor's network interface
SYNOPSIS int ice_repr_vf_stop (struct net_device *netdev );
ARGUMENTS netdev network interface device structure
DESCRIPTION The stop entry point is called when a port representor's network interface is de-activated by the system. Corresponding... |
ice_req_irq_msix_misc(9) | NAME ice_req_irq_msix_misc - Setup the misc vector to handle non queue events
SYNOPSIS int ice_req_irq_msix_misc (struct ice_pf *pf );
ARGUMENTS pf board private structure
DESCRIPTION This sets up the handler for MSIX 0, which is used to manage the non-queue interrupts, e.g. AdminQ and errors. This is not u... |
ice_request_fw(9) | NAME ice_request_fw - Device initialization routine
SYNOPSIS int ice_request_fw (struct ice_pf *pf , const struct firmware **firmware );
ARGUMENTS pf pointer to the PF instance
firmware double pointer to firmware struct
RETURN zero when successful, negative values otherwise.
SEE ALSO Kernel fil... |
ice_reserve_sf_num(9) | NAME ice_reserve_sf_num - Reserve a subfunction number for this port
SYNOPSIS int ice_reserve_sf_num (struct ice_pf *pf , const struct devlink_port_new_attrs *new_attr , struct netlink_ext_ack *extack , u32 *sfnum );
ARGUMENTS pf pointer to the pf structure
new_attr devlink port attributes request... |
ice_reset(9) | NAME ice_reset - Perform different types of reset
SYNOPSIS int ice_reset (struct ice_hw *hw , enum ice_reset_req req );
ARGUMENTS hw pointer to the hardware structure
req reset request
DESCRIPTION This function triggers a reset as specified by the req parameter.
NOTE If anything other than ... |
ice_reset_all_vfs(9) | NAME ice_reset_all_vfs - reset all allocated VFs in one go
SYNOPSIS void ice_reset_all_vfs (struct ice_pf *pf );
ARGUMENTS pf pointer to the PF structure
DESCRIPTION Reset all VFs at once, in response to a PF or other device reset. First, tell the hardware to reset each VF, then do all the waiting in one ... |
ice_reset_subtask(9) | NAME ice_reset_subtask - Set up for resetting the device and driver
SYNOPSIS void ice_reset_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_reset_vf(9) | NAME ice_reset_vf - Reset a particular VF
SYNOPSIS int ice_reset_vf (struct ice_vf *vf , u32 flags );
ARGUMENTS vf pointer to the VF structure
flags flags controlling behavior of the reset
DESCRIPTION Flags: ICE_VF_RESET_VFLR - Indicates a reset is due to VFLR event ICE_VF_RESET_NOTIFY - Se... |
ice_reset_vf_mbx_cnt(9) | NAME ice_reset_vf_mbx_cnt - reset VF mailbox message count
SYNOPSIS void ice_reset_vf_mbx_cnt (struct ice_vf *vf );
ARGUMENTS vf pointer to the VF structure
DESCRIPTION This function clears the VF mailbox message count, and should be called on VF reset.
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i... |
ice_restore_all_vfs_msi_state(9) | NAME ice_restore_all_vfs_msi_state - restore VF MSI state after PF FLR
SYNOPSIS void ice_restore_all_vfs_msi_state (struct ice_pf *pf );
ARGUMENTS pf pointer to the PF structure
DESCRIPTION Called when recovering from a PF FLR to restore interrupt capability to the VFs.
SEE ALSO Kernel file ./drivers/net... |
ice_resume(9) | NAME ice_resume - PM callback for waking up from D3
SYNOPSIS int ice_resume (struct device *dev );
ARGUMENTS dev generic device information 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_mac... |
ice_rm_agg_cfg_tc(9) | NAME ice_rm_agg_cfg_tc - remove aggregator configuration for TC
SYNOPSIS int ice_rm_agg_cfg_tc (struct ice_port_info *pi , struct ice_sched_agg_info *agg_info , u8 tc , bool rm_vsi_info );
ARGUMENTS pi port information structure
agg_info aggregator ID
tc TC number
rm_vsi_i... |
ice_rm_all_sw_replay_rule_info(9) | NAME ice_rm_all_sw_replay_rule_info - deletes filter replay rules
SYNOPSIS void ice_rm_all_sw_replay_rule_info (struct ice_hw *hw );
ARGUMENTS hw pointer to the HW struct
DESCRIPTION Deletes the filter replay rules.
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_switch.c ice_init_def_sw_re... |
ice_rm_dflt_leaf_node(9) | NAME ice_rm_dflt_leaf_node - remove the default leaf node in the tree
SYNOPSIS void ice_rm_dflt_leaf_node (struct ice_port_info *pi );
ARGUMENTS pi port information structure
DESCRIPTION This function removes the leaf node that was created by the FW during initialization
SEE ALSO Kernel file ./drivers/... |
ice_rm_vsi_lan_cfg(9) | NAME ice_rm_vsi_lan_cfg - remove VSI and its LAN children nodes
SYNOPSIS int ice_rm_vsi_lan_cfg (struct ice_port_info *pi , u16 vsi_handle );
ARGUMENTS pi port information structure
vsi_handle software VSI handle
DESCRIPTION This function clears the VSI and its LAN children nodes from scheduler tre... |
ice_rm_vsi_rdma_cfg(9) | NAME ice_rm_vsi_rdma_cfg - remove VSI and its RDMA children nodes
SYNOPSIS int ice_rm_vsi_rdma_cfg (struct ice_port_info *pi , u16 vsi_handle );
ARGUMENTS pi port information structure
vsi_handle software VSI handle
DESCRIPTION This function clears the VSI and its RDMA children nodes from scheduler... |
ice_rss_cfg_raw_symm(9) | NAME ice_rss_cfg_raw_symm - Configure symmetric RSS for a raw parser profile
SYNOPSIS void ice_rss_cfg_raw_symm (struct ice_hw *hw , const struct ice_parser_profile *prof , u64 prof_id );
ARGUMENTS hw device HW
prof parser profile describing extracted FV (field vector) entries
prof_id ... |
ice_rss_clean(9) | NAME ice_rss_clean - Delete RSS related VSI structures and configuration
SYNOPSIS void ice_rss_clean (struct ice_vsi *vsi );
ARGUMENTS vsi the VSI being removed
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_type_str(9), ice_vsi_ctrl_all_rx_rings(9), ice_vsi_alloc_arra... |
ice_rss_config_xor(9) | NAME ice_rss_config_xor - set the symmetric registers for a profile's protocol
SYNOPSIS void ice_rss_config_xor (struct ice_hw *hw , u8 prof_id , u8 src , u8 dst , u8 len );
ARGUMENTS hw pointer to the hardware structure
prof_id RSS hardware profile id
src the FV index used by the... |
ice_rss_config_xor_word(9) | NAME ice_rss_config_xor_word - set the HSYMM registers for one input set word
SYNOPSIS void ice_rss_config_xor_word (struct ice_hw *hw , u8 prof_id , u8 src , u8 dst );
ARGUMENTS hw pointer to the hardware structure
prof_id RSS hardware profile id
src the FV index used by the prot... |
ice_rss_set_symm(9) | NAME ice_rss_set_symm - set the symmetric settings for an RSS profile
SYNOPSIS void ice_rss_set_symm (struct ice_hw *hw , struct ice_flow_prof *prof );
ARGUMENTS hw pointer to the hardware structure
prof pointer to flow profile
DESCRIPTION The symmetric hash will result from XORing the protoc... |
ice_rss_update_raw_symm(9) | NAME ice_rss_update_raw_symm - update symmetric hash configuration for raw pattern
SYNOPSIS void ice_rss_update_raw_symm (struct ice_hw *hw , struct ice_rss_raw_cfg *cfg , u64 id );
ARGUMENTS hw pointer to the hardware structure
cfg configure parameters for raw pattern
id pro... |
ice_run_xdp(9) | NAME ice_run_xdp - Executes an XDP program on initialized xdp_buff
SYNOPSIS u32 ice_run_xdp (struct ice_rx_ring *rx_ring , struct libeth_xdp_buff *xdp , struct bpf_prog *xdp_prog , struct ice_tx_ring *xdp_ring , union ice_32b_rx_flex_desc *eop_desc );
ARGUMENTS rx_ring Rx ring
xdp xdp_buff used as... |
ice_run_xdp_zc(9) | NAME ice_run_xdp_zc - Executes an XDP program in zero-copy path
SYNOPSIS int ice_run_xdp_zc (struct ice_rx_ring *rx_ring , struct xdp_buff *xdp , struct bpf_prog *xdp_prog , struct ice_tx_ring *xdp_ring , struct xsk_buff_pool *xsk_pool );
ARGUMENTS rx_ring Rx ring
xdp xdp_buff used as input to the... |
ice_rx_csum(9) | NAME ice_rx_csum - Indicate in skb if checksum is good
SYNOPSIS void ice_rx_csum (struct ice_rx_ring *ring , struct sk_buff *skb , union ice_32b_rx_flex_desc *rx_desc , u16 ptype );
ARGUMENTS ring the ring we care about
skb skb currently being received and modified
rx_desc the recei... |
ice_rx_flow_steer(9) | NAME ice_rx_flow_steer - steer the Rx flow to where application is being run
SYNOPSIS int ice_rx_flow_steer (struct net_device *netdev , const struct sk_buff *skb , u16 rxq_idx , u32 flow_id );
ARGUMENTS netdev ptr to the netdev being adjusted
skb buffer with required header information
r... |
ice_rx_gcs(9) | NAME ice_rx_gcs - Set generic checksum in skb
SYNOPSIS void ice_rx_gcs (struct sk_buff *skb , const union ice_32b_rx_flex_desc *rx_desc );
ARGUMENTS skb skb currently being received and modified
rx_desc receive descriptor
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_txrx_lib.c ice... |
ice_rx_hash_to_skb(9) | NAME ice_rx_hash_to_skb - set the hash value in the skb
SYNOPSIS void ice_rx_hash_to_skb (const struct ice_rx_ring *rx_ring , const union ice_32b_rx_flex_desc *rx_desc , struct sk_buff *skb , u16 rx_ptype );
ARGUMENTS rx_ring descriptor ring
rx_desc specific descriptor
skb pointer to c... |
ice_rx_xsk_pool(9) | NAME ice_rx_xsk_pool - assign XSK buff pool to Rx ring
SYNOPSIS void ice_rx_xsk_pool (struct ice_rx_ring *ring );
ARGUMENTS ring Rx ring to use
DESCRIPTION Sets XSK buff pool pointer on Rx ring.
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice.h ice_vector_ch_enabled(9), ice_ptp_pf_handl... |
ice_save_agg_tc_bitmap(9) | NAME ice_save_agg_tc_bitmap - save aggregator TC bitmap
SYNOPSIS int ice_save_agg_tc_bitmap (struct ice_port_info *pi , u32 agg_id , unsigned long *tc_bitmap );
ARGUMENTS pi port information structure
agg_id aggregator ID
tc_bitmap 8 bits TC bitmap
DESCRIPTION Save aggregator TC bitma... |
ice_save_agg_vsi_tc_bitmap(9) | NAME ice_save_agg_vsi_tc_bitmap - save aggregator VSI TC bitmap
SYNOPSIS int ice_save_agg_vsi_tc_bitmap (struct ice_port_info *pi , u32 agg_id , u16 vsi_handle , unsigned long *tc_bitmap );
ARGUMENTS pi port information structure
agg_id aggregator ID
vsi_handle software VSI handle
... |
ice_save_vsi_ctx(9) | NAME ice_save_vsi_ctx - save the VSI context for a given VSI handle
SYNOPSIS void ice_save_vsi_ctx (struct ice_hw *hw , u16 vsi_handle , struct ice_vsi_ctx *vsi );
ARGUMENTS hw pointer to the HW struct
vsi_handle VSI handle
vsi VSI context pointer
DESCRIPTION save the VSI context en... |
ice_sb_init_regs(9) | NAME ice_sb_init_regs - Initialize Sideband registers
SYNOPSIS void ice_sb_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_control... |
ice_sbq_rw_reg(9) | NAME ice_sbq_rw_reg - Fill Sideband Queue command
SYNOPSIS int ice_sbq_rw_reg (struct ice_hw *hw , struct ice_sbq_msg_input *in , u16 flags );
ARGUMENTS hw pointer to the HW struct
in message info to be filled in descriptor
flags control queue descriptor flags
SEE ALSO Kernel ... |
ice_sbq_send_cmd(9) | NAME ice_sbq_send_cmd - send Sideband Queue command to Sideband Queue
SYNOPSIS int ice_sbq_send_cmd (struct ice_hw *hw , struct ice_sbq_cmd_desc *desc , void *buf , u16 buf_size , struct ice_sq_cd *cd );
ARGUMENTS hw pointer to the HW struct
desc descriptor describing the command
buf ... |
ice_sched_add_agg_cfg(9) | NAME ice_sched_add_agg_cfg - create an aggregator node
SYNOPSIS int ice_sched_add_agg_cfg (struct ice_port_info *pi , u32 agg_id , u8 tc );
ARGUMENTS pi port information structure
agg_id aggregator ID
tc TC number
DESCRIPTION This function creates an aggregator node and interme... |
ice_sched_add_elems(9) | NAME ice_sched_add_elems - add nodes to HW and SW DB
SYNOPSIS int ice_sched_add_elems (struct ice_port_info *pi , struct ice_sched_node *tc_node , struct ice_sched_node *parent , u8 layer , u16 num_nodes , u16 *num_nodes_added , u32 *first_node_teid , struct ice_sched_node **preal‐ loc_nodes );
ARGUMENTS pi ... |
ice_sched_add_node(9) | NAME ice_sched_add_node - Insert the Tx scheduler node in SW DB
SYNOPSIS int ice_sched_add_node (struct ice_port_info *pi , u8 layer , struct ice_aqc_txsched_elem_data *info , struct ice_sched_node *prealloc_node );
ARGUMENTS pi port information structure
layer Scheduler layer of the node
... |
ice_sched_add_nodes_to_hw_layer(9) | NAME ice_sched_add_nodes_to_hw_layer - Add nodes to HW layer
SYNOPSIS int ice_sched_add_nodes_to_hw_layer (struct ice_port_info *pi , struct ice_sched_node *tc_node , struct ice_sched_node *parent , u8 layer , u16 num_nodes , u32 *first_node_teid , u16 *num_nodes_added );
ARGUMENTS pi port information struct... |
ice_sched_add_nodes_to_layer(9) | NAME ice_sched_add_nodes_to_layer - Add nodes to a given layer
SYNOPSIS int ice_sched_add_nodes_to_layer (struct ice_port_info *pi , struct ice_sched_node *tc_node , struct ice_sched_node *parent , u8 layer , u16 num_nodes , u32 *first_node_teid , u16 *num_nodes_added );
ARGUMENTS pi port information structu... |
ice_sched_add_rl_profile(9) | NAME ice_sched_add_rl_profile - add RL profile
SYNOPSIS struct ice_aqc_rl_profile_info * ice_sched_add_rl_profile (struct ice_port_info *pi , enum ice_rl_type rl_type , u32 bw , u8 layer_num );
ARGUMENTS pi port information structure
rl_type type of rate limit BW - min, max, or shared
bw ... |
ice_sched_add_root_node(9) | NAME ice_sched_add_root_node - Insert the Tx scheduler root node in SW DB
SYNOPSIS int ice_sched_add_root_node (struct ice_port_info *pi , struct ice_aqc_txsched_elem_data *info );
ARGUMENTS pi port information structure
info Scheduler element information from firmware
DESCRIPTION This functi... |
ice_sched_add_vsi_child_nodes(9) | NAME ice_sched_add_vsi_child_nodes - add VSI child nodes to tree
SYNOPSIS int ice_sched_add_vsi_child_nodes (struct ice_port_info *pi , u16 vsi_handle , struct ice_sched_node *tc_node , u16 *num_nodes , u8 owner );
ARGUMENTS pi port information structure
vsi_handle software VSI handle
tc_nod... |
ice_sched_add_vsi_support_nodes(9) | NAME ice_sched_add_vsi_support_nodes - add VSI supported nodes into Tx tree
SYNOPSIS int ice_sched_add_vsi_support_nodes (struct ice_port_info *pi , u16 vsi_handle , struct ice_sched_node *tc_node , u16 *num_nodes );
ARGUMENTS pi port information structure
vsi_handle software VSI handle
tc_n... |
ice_sched_add_vsi_to_topo(9) | NAME ice_sched_add_vsi_to_topo - add a new VSI into tree
SYNOPSIS int ice_sched_add_vsi_to_topo (struct ice_port_info *pi , u16 vsi_handle , u8 tc );
ARGUMENTS pi port information structure
vsi_handle software VSI handle
tc TC number
DESCRIPTION This function adds a new VSI into sc... |
ice_sched_assoc_vsi_to_agg(9) | NAME ice_sched_assoc_vsi_to_agg - associate/move VSI to new/default aggregator
SYNOPSIS int ice_sched_assoc_vsi_to_agg (struct ice_port_info *pi , u32 agg_id , u16 vsi_handle , unsigned long *tc_bitmap );
ARGUMENTS pi port information structure
agg_id aggregator ID
vsi_handle software V... |
ice_sched_bw_to_rl_profile(9) | NAME ice_sched_bw_to_rl_profile - convert BW to profile parameters
SYNOPSIS int ice_sched_bw_to_rl_profile (struct ice_hw *hw , u32 bw , struct ice_aqc_rl_profile_elem *profile );
ARGUMENTS hw pointer to the HW struct
bw bandwidth in Kbps
profile profile parameters to return
DES... |
ice_sched_calc_vsi_child_nodes(9) | NAME ice_sched_calc_vsi_child_nodes - calculate number of VSI child nodes
SYNOPSIS void ice_sched_calc_vsi_child_nodes (struct ice_hw *hw , u16 num_new_qs , u16 *num_nodes );
ARGUMENTS hw pointer to the HW struct
num_new_qs number of new queues that will be added to the tree
num_nodes num ... |
ice_sched_calc_vsi_support_nodes(9) | NAME ice_sched_calc_vsi_support_nodes - calculate number of VSI support nodes
SYNOPSIS void ice_sched_calc_vsi_support_nodes (struct ice_port_info *pi , struct ice_sched_node *tc_node , u16 *num_nodes );
ARGUMENTS pi pointer to the port info structure
tc_node pointer to TC node
num_nodes ... |
ice_sched_calc_wakeup(9) | NAME ice_sched_calc_wakeup - calculate RL profile wakeup parameter
SYNOPSIS u16 ice_sched_calc_wakeup (struct ice_hw *hw , s32 bw );
ARGUMENTS hw pointer to the HW struct
bw bandwidth in Kbps
DESCRIPTION This function calculates the wakeup parameter of RL profile.
SEE ALSO Kernel file ... |
ice_sched_cfg_agg(9) | NAME ice_sched_cfg_agg - configure aggregator node
SYNOPSIS int ice_sched_cfg_agg (struct ice_port_info *pi , u32 agg_id , enum ice_agg_type agg_type , unsigned long *tc_bitmap );
ARGUMENTS pi port information structure
agg_id aggregator ID
agg_type aggregator type queue, VSI, or aggr... |
ice_sched_cfg_node_bw_alloc(9) | NAME ice_sched_cfg_node_bw_alloc - configure node BW weight/alloc params
SYNOPSIS int ice_sched_cfg_node_bw_alloc (struct ice_hw *hw , struct ice_sched_node *node , enum ice_rl_type rl_type , u16 bw_alloc );
ARGUMENTS hw pointer to the HW struct
node sched node to configure
rl_type ... |
ice_sched_cfg_node_bw_lmt(9) | NAME ice_sched_cfg_node_bw_lmt - configure node sched params
SYNOPSIS int ice_sched_cfg_node_bw_lmt (struct ice_hw *hw , struct ice_sched_node *node , enum ice_rl_type rl_type , u16 rl_prof_id );
ARGUMENTS hw pointer to the HW struct
node sched node to configure
rl_type rate limit ... |
ice_sched_cfg_vsi(9) | NAME ice_sched_cfg_vsi - configure the new/existing VSI
SYNOPSIS int ice_sched_cfg_vsi (struct ice_port_info *pi , u16 vsi_handle , u8 tc , u16 maxqs , u8 owner , bool enable );
ARGUMENTS pi port information structure
vsi_handle software VSI handle
tc TC number
maxqs m... |
ice_sched_cleanup_all(9) | NAME ice_sched_cleanup_all - cleanup scheduler elements from SW DB for all ports
SYNOPSIS void ice_sched_cleanup_all (struct ice_hw *hw );
ARGUMENTS hw pointer to the HW struct
DESCRIPTION Cleanup scheduling elements from SW DB for all the ports
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice... |
ice_sched_clear_agg(9) | NAME ice_sched_clear_agg - clears the aggregator related information
SYNOPSIS void ice_sched_clear_agg (struct ice_hw *hw );
ARGUMENTS hw pointer to the hardware structure
DESCRIPTION This function removes aggregator list and free up aggregator related memory previously allocated.
SEE ALSO Kernel file ... |
ice_sched_clear_port(9) | NAME ice_sched_clear_port - clear the scheduler elements from SW DB for a port
SYNOPSIS void ice_sched_clear_port (struct ice_port_info *pi );
ARGUMENTS pi port information structure
DESCRIPTION Cleanup scheduling elements from SW DB
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_sched.c i... |
ice_sched_clear_rl_prof(9) | NAME ice_sched_clear_rl_prof - clears RL prof entries
SYNOPSIS void ice_sched_clear_rl_prof (struct ice_port_info *pi );
ARGUMENTS pi port information structure
DESCRIPTION This function removes all RL profile from HW as well as from SW DB.
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_sche... |
ice_sched_clear_tx_topo(9) | NAME ice_sched_clear_tx_topo - clears the scheduler tree nodes
SYNOPSIS void ice_sched_clear_tx_topo (struct ice_port_info *pi );
ARGUMENTS pi port information structure
DESCRIPTION This function removes all the nodes from HW as well as from SW DB.
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/... |
ice_sched_del_rl_profile(9) | NAME ice_sched_del_rl_profile - remove RL profile
SYNOPSIS int ice_sched_del_rl_profile (struct ice_hw *hw , struct ice_aqc_rl_profile_info *rl_info );
ARGUMENTS hw pointer to the HW struct
rl_info rate limit profile information
DESCRIPTION If the profile ID is not referenced anymore, it removes... |
ice_sched_find_next_vsi_node(9) | NAME ice_sched_find_next_vsi_node - find the next node for a given VSI
SYNOPSIS struct ice_sched_node * ice_sched_find_next_vsi_node (struct ice_sched_node *vsi_node );
ARGUMENTS vsi_node VSI support node to start search with
RETURN Next VSI support node, or NULL.
DESCRIPTION The function returns a pointer to th... |
ice_sched_find_node_by_teid(9) | NAME ice_sched_find_node_by_teid - Find the Tx scheduler node in SW DB
SYNOPSIS struct ice_sched_node * ice_sched_find_node_by_teid (struct ice_sched_node *start_node , u32 teid );
ARGUMENTS start_node pointer to the starting ice_sched_node struct in a sub-tree
teid node TEID to search
DESCRIPTION Th... |
ice_sched_find_node_in_subtree(9) | NAME ice_sched_find_node_in_subtree - Find node in part of base node subtree
SYNOPSIS bool ice_sched_find_node_in_subtree (struct ice_hw *hw , struct ice_sched_node *base , struct ice_sched_node *node );
ARGUMENTS hw pointer to the HW struct
base pointer to the base node
node po... |
ice_sched_get_agg_layer(9) | NAME ice_sched_get_agg_layer - get the current aggregator layer number
SYNOPSIS u8 ice_sched_get_agg_layer (struct ice_hw *hw );
ARGUMENTS hw pointer to the HW struct
DESCRIPTION This function returns the current aggregator layer number
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_sched.c ... |
ice_sched_get_agg_node(9) | NAME ice_sched_get_agg_node - Get an aggregator node based on aggregator ID
SYNOPSIS struct ice_sched_node * ice_sched_get_agg_node (struct ice_port_info *pi , struct ice_sched_node *tc_node , u32 agg_id );
ARGUMENTS pi pointer to the port information structure
tc_node pointer to the TC node
... |
ice_sched_get_ena_tc_bitmap(9) | NAME ice_sched_get_ena_tc_bitmap - get enabled TC bitmap
SYNOPSIS void ice_sched_get_ena_tc_bitmap (struct ice_port_info *pi , unsigned long *tc_bitmap , unsigned long *ena_tc_bitmap );
ARGUMENTS pi port info struct
tc_bitmap 8 bits TC bitmap to check
ena_tc_bitmap
8 bits... |
ice_sched_get_first_node(9) | NAME ice_sched_get_first_node - get the first node of the given layer
SYNOPSIS struct ice_sched_node * ice_sched_get_first_node (struct ice_port_info *pi , struct ice_sched_node *parent , u8 layer );
ARGUMENTS pi port information structure
parent pointer the base node of the subtree
laye... |
ice_sched_get_free_qgrp(9) | NAME ice_sched_get_free_qgrp - Scan all queue group siblings and find a free node
SYNOPSIS struct ice_sched_node * ice_sched_get_free_qgrp (struct ice_port_info *pi , struct ice_sched_node *vsi_node , struct ice_sched_node *qgrp_node , u8 owner );
ARGUMENTS pi port information structure
vsi_node s... |
ice_sched_get_free_qparent(9) | NAME ice_sched_get_free_qparent - Get a free LAN or RDMA queue group node
SYNOPSIS struct ice_sched_node * ice_sched_get_free_qparent (struct ice_port_info *pi , u16 vsi_handle , u8 tc , u8 owner );
ARGUMENTS pi port information structure
vsi_handle software VSI handle
tc branch num... |
ice_sched_get_free_vsi_parent(9) | NAME ice_sched_get_free_vsi_parent - Find a free parent node in aggregator subtree
SYNOPSIS struct ice_sched_node * ice_sched_get_free_vsi_parent (struct ice_hw *hw , struct ice_sched_node *node , u16 *num_nodes );
ARGUMENTS hw pointer to the HW struct
node pointer to a child node
num_... |
ice_sched_get_node_by_id_type(9) | NAME ice_sched_get_node_by_id_type - get node from ID type
SYNOPSIS struct ice_sched_node * ice_sched_get_node_by_id_type (struct ice_port_info *pi , u32 id , enum ice_agg_type agg_type , u8 tc );
ARGUMENTS pi port information structure
id identifier
agg_type type of aggregator
... |
ice_sched_get_node_rl_prof_id(9) | NAME ice_sched_get_node_rl_prof_id - get node's rate limit profile ID
SYNOPSIS u16 ice_sched_get_node_rl_prof_id (struct ice_sched_node *node , enum ice_rl_type rl_type );
ARGUMENTS node sched node
rl_type rate limit type
DESCRIPTION If existing profile matches, it returns the corresponding rate l... |
ice_sched_get_psm_clk_freq(9) | NAME ice_sched_get_psm_clk_freq - determine the PSM clock frequency
SYNOPSIS void ice_sched_get_psm_clk_freq (struct ice_hw *hw );
ARGUMENTS hw pointer to the HW struct
DESCRIPTION Determine the PSM clock frequency and store in HW struct
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_sched.c... |
ice_sched_get_qgrp_layer(9) | NAME ice_sched_get_qgrp_layer - get the current queue group layer number
SYNOPSIS u8 ice_sched_get_qgrp_layer (struct ice_hw *hw );
ARGUMENTS hw pointer to the HW struct
DESCRIPTION This function returns the current queue group layer number
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_sche... |
ice_sched_get_rl_prof_layer(9) | NAME ice_sched_get_rl_prof_layer - selects rate limit profile creation layer
SYNOPSIS u8 ice_sched_get_rl_prof_layer (struct ice_port_info *pi , enum ice_rl_type rl_type , u8 layer_index );
ARGUMENTS pi port information structure
rl_type type of rate limit BW - min, max, or shared
layer_i... |
ice_sched_get_srl_node(9) | NAME ice_sched_get_srl_node - get shared rate limit node
SYNOPSIS struct ice_sched_node * ice_sched_get_srl_node (struct ice_sched_node *node , u8 srl_layer );
ARGUMENTS node tree node
srl_layer shared rate limit layer
DESCRIPTION This function returns SRL node to be used for shared rate limit purpo... |
ice_sched_get_tc_node(9) | NAME ice_sched_get_tc_node - get pointer to TC node
SYNOPSIS struct ice_sched_node * ice_sched_get_tc_node (struct ice_port_info *pi , u8 tc );
ARGUMENTS pi port information structure
tc TC number
DESCRIPTION This function returns the TC node pointer
SEE ALSO Kernel file ./drivers/net/... |
ice_sched_get_vsi_layer(9) | NAME ice_sched_get_vsi_layer - get the current VSI layer number
SYNOPSIS u8 ice_sched_get_vsi_layer (struct ice_hw *hw );
ARGUMENTS hw pointer to the HW struct
DESCRIPTION This function returns the current VSI layer number
SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_sched.c ice_sched_add_r... |
ice_sched_get_vsi_node(9) | NAME ice_sched_get_vsi_node - Get a VSI node based on VSI ID
SYNOPSIS struct ice_sched_node * ice_sched_get_vsi_node (struct ice_port_info *pi , struct ice_sched_node *tc_node , u16 vsi_handle );
ARGUMENTS pi pointer to the port information structure
tc_node pointer to the TC node
vsi_han... |
ice_sched_init_port(9) | NAME ice_sched_init_port - Initialize scheduler by querying information from FW
SYNOPSIS int ice_sched_init_port (struct ice_port_info *pi );
ARGUMENTS pi port info structure for the tree to cleanup
DESCRIPTION This function is the initial call to find the total number of Tx scheduler resources, default top... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.