id
stringlengths
4
63
text
stringlengths
153
8.81M
ice_sched_is_agg_inuse(9)
NAME ice_sched_is_agg_inuse - check whether the aggregator is in use or not SYNOPSIS bool ice_sched_is_agg_inuse (struct ice_port_info *pi , struct ice_sched_node *node ); ARGUMENTS pi port information structure node node pointer DESCRIPTION This function checks whether the aggregator is atta...
ice_sched_is_leaf_node_present(9)
NAME ice_sched_is_leaf_node_present - check for a leaf node in the sub-tree SYNOPSIS bool ice_sched_is_leaf_node_present (struct ice_sched_node *node ); ARGUMENTS node pointer to the sub-tree node DESCRIPTION This function checks for a leaf node presence in a given sub-tree node. SEE ALSO Kernel file ./d...
ice_sched_move_nodes(9)
NAME ice_sched_move_nodes - move child nodes to a given parent SYNOPSIS int ice_sched_move_nodes (struct ice_port_info *pi , struct ice_sched_node *parent , u16 num_items , u32 *list ); ARGUMENTS pi port information structure parent pointer to parent node num_items number of child node...
ice_sched_move_vsi_to_agg(9)
NAME ice_sched_move_vsi_to_agg - move VSI to aggregator node SYNOPSIS int ice_sched_move_vsi_to_agg (struct ice_port_info *pi , u16 vsi_handle , u32 agg_id , u8 tc ); ARGUMENTS pi port information structure vsi_handle software VSI handle agg_id aggregator ID tc TC numbe...
ice_sched_query_elem(9)
NAME ice_sched_query_elem - query element information from HW SYNOPSIS int ice_sched_query_elem (struct ice_hw *hw , u32 node_teid , struct ice_aqc_txsched_elem_data *buf ); ARGUMENTS hw pointer to the HW struct node_teid node TEID to be queried buf buffer to element information DE...
ice_sched_query_res_alloc(9)
NAME ice_sched_query_res_alloc - query the FW for num of logical sched layers SYNOPSIS int ice_sched_query_res_alloc (struct ice_hw *hw ); ARGUMENTS hw pointer to the HW struct DESCRIPTION query FW for allocated scheduler resources and store in HW struct SEE ALSO Kernel file ./drivers/net/ethernet/inte...
ice_sched_recalc_vsi_support_nodes(9)
NAME ice_sched_recalc_vsi_support_nodes - recalculate VSI support nodes count SYNOPSIS void ice_sched_recalc_vsi_support_nodes (struct ice_hw *hw , struct ice_sched_node *vsi_node , unsigned int new_numqs , u16 *new_num_nodes ); ARGUMENTS hw pointer to the HW struct vsi_node pointer to the leftmos...
ice_sched_remove_elems(9)
NAME ice_sched_remove_elems - remove nodes from HW SYNOPSIS int ice_sched_remove_elems (struct ice_hw *hw , struct ice_sched_node *parent , u32 node_teid ); ARGUMENTS hw pointer to the HW struct parent pointer to the parent node node_teid node teid to be deleted DESCRIPTION This funct...
ice_sched_replay_agg(9)
NAME ice_sched_replay_agg - recreate aggregator node(s) SYNOPSIS void ice_sched_replay_agg (struct ice_hw *hw ); ARGUMENTS hw pointer to the HW struct DESCRIPTION This function recreate aggregator type nodes which are not replayed earlier. It also replay aggregator BW information. These aggregator nodes ar...
ice_sched_replay_agg_vsi_preinit(9)
NAME ice_sched_replay_agg_vsi_preinit - Agg/VSI replay pre initialization SYNOPSIS void ice_sched_replay_agg_vsi_preinit (struct ice_hw *hw ); ARGUMENTS hw pointer to the HW struct DESCRIPTION This function initialize aggregator(s) TC bitmap to zero. A required preinit step for replaying aggregators. SEE A...
ice_sched_replay_node_bw(9)
NAME ice_sched_replay_node_bw - replay node(s) BW SYNOPSIS int ice_sched_replay_node_bw (struct ice_hw *hw , struct ice_sched_node *node , struct ice_bw_type_info *bw_t_info ); ARGUMENTS hw pointer to the HW struct node sched node to configure bw_t_info BW type information DESCRIPTI...
ice_sched_replay_node_prio(9)
NAME ice_sched_replay_node_prio - re-configure node priority SYNOPSIS int ice_sched_replay_node_prio (struct ice_hw *hw , struct ice_sched_node *node , u8 priority ); ARGUMENTS hw pointer to the HW struct node sched node to configure priority priority value DESCRIPTION This functio...
ice_sched_replay_q_bw(9)
NAME ice_sched_replay_q_bw - replay queue type node BW SYNOPSIS int ice_sched_replay_q_bw (struct ice_port_info *pi , struct ice_q_ctx *q_ctx ); ARGUMENTS pi port information structure q_ctx queue context structure DESCRIPTION This function replays queue type node bandwidth. This function need...
ice_sched_replay_vsi_agg(9)
NAME ice_sched_replay_vsi_agg - replay aggregator & VSI to aggregator node(s) SYNOPSIS int ice_sched_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 aggregator node, VSI to aggregator type n...
ice_sched_rm_agg_cfg(9)
NAME ice_sched_rm_agg_cfg - remove the aggregator node SYNOPSIS int ice_sched_rm_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 removes the aggregator node and interme...
ice_sched_rm_agg_vsi_info(9)
NAME ice_sched_rm_agg_vsi_info - remove aggregator related VSI info entry SYNOPSIS void ice_sched_rm_agg_vsi_info (struct ice_port_info *pi , u16 vsi_handle ); ARGUMENTS pi port information structure vsi_handle software VSI handle DESCRIPTION This function removes single aggregator VSI info entry f...
ice_sched_rm_dflt_nodes(9)
NAME ice_sched_rm_dflt_nodes - free the default nodes in the tree SYNOPSIS void ice_sched_rm_dflt_nodes (struct ice_port_info *pi ); ARGUMENTS pi port information structure DESCRIPTION This function frees all the nodes except root and TC that were created by the FW during initialization SEE ALSO Kernel f...
ice_sched_rm_rl_profile(9)
NAME ice_sched_rm_rl_profile - remove RL profile ID SYNOPSIS int ice_sched_rm_rl_profile (struct ice_port_info *pi , u8 layer_num , u8 profile_type , u16 profile_id ); ARGUMENTS pi port information structure layer_num layer number where profiles are saved profile_type pro...
ice_sched_rm_unused_rl_prof(9)
NAME ice_sched_rm_unused_rl_prof - remove unused RL profile SYNOPSIS void ice_sched_rm_unused_rl_prof (struct ice_port_info *pi ); ARGUMENTS pi port information structure DESCRIPTION This function removes unused rate limit profiles from the HW and SW DB. The caller needs to hold scheduler lock. SEE ALSO Ke...
ice_sched_rm_vsi_cfg(9)
NAME ice_sched_rm_vsi_cfg - remove the VSI and its children nodes SYNOPSIS int ice_sched_rm_vsi_cfg (struct ice_port_info *pi , u16 vsi_handle , u8 owner ); ARGUMENTS pi port information structure vsi_handle software VSI handle owner LAN or RDMA DESCRIPTION This function removes the V...
ice_sched_rm_vsi_subtree(9)
NAME ice_sched_rm_vsi_subtree - remove all nodes assigned to a given VSI SYNOPSIS int ice_sched_rm_vsi_subtree (struct ice_port_info *pi , struct ice_sched_node *vsi_node , u8 owner , u8 tc ); ARGUMENTS pi port information structure vsi_node pointer to the leftmost node of the VSI to be removed ...
ice_sched_save_q_bw(9)
NAME ice_sched_save_q_bw - save queue node's BW information SYNOPSIS int ice_sched_save_q_bw (struct ice_q_ctx *q_ctx , enum ice_rl_type rl_type , u32 bw ); ARGUMENTS q_ctx queue context structure rl_type rate limit type min, max, or shared bw bandwidth in Kbps - Kilo bits per sec ...
ice_sched_save_vsi_bw(9)
NAME ice_sched_save_vsi_bw - save VSI node's BW information SYNOPSIS int ice_sched_save_vsi_bw (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 sw VSI handle tc traffic class rl_type ...
ice_sched_set_eir_srl_excl(9)
NAME ice_sched_set_eir_srl_excl - set EIR/SRL exclusiveness SYNOPSIS int ice_sched_set_eir_srl_excl (struct ice_port_info *pi , struct ice_sched_node *node , u8 layer_num , enum ice_rl_type rl_type , u32 bw ); ARGUMENTS pi port information structure node pointer to node structure layer...
ice_sched_set_node_bw(9)
NAME ice_sched_set_node_bw - set node's bandwidth SYNOPSIS int ice_sched_set_node_bw (struct ice_port_info *pi , struct ice_sched_node *node , enum ice_rl_type rl_type , u32 bw , u8 layer_num ); ARGUMENTS pi port information structure node tree node rl_type rate limit type min, max...
ice_sched_set_node_bw_dflt(9)
NAME ice_sched_set_node_bw_dflt - set node's bandwidth limit to default SYNOPSIS int ice_sched_set_node_bw_dflt (struct ice_port_info *pi , struct ice_sched_node *node , enum ice_rl_type rl_type , u8 layer_num ); ARGUMENTS pi port information structure node pointer to node structure rl...
ice_sched_set_node_bw_dflt_lmt(9)
NAME ice_sched_set_node_bw_dflt_lmt - set node's BW limit to default SYNOPSIS int ice_sched_set_node_bw_dflt_lmt (struct ice_port_info *pi , struct ice_sched_node *node , enum ice_rl_type rl_type ); ARGUMENTS pi port information structure node pointer to node structure rl_type rate...
ice_sched_set_node_bw_lmt(9)
NAME ice_sched_set_node_bw_lmt - set node's BW limit SYNOPSIS int ice_sched_set_node_bw_lmt (struct ice_port_info *pi , struct ice_sched_node *node , enum ice_rl_type rl_type , u32 bw ); ARGUMENTS pi port information structure node tree node rl_type rate limit type min, max, or sha...
ice_sched_set_node_bw_lmt_per_tc(9)
NAME ice_sched_set_node_bw_lmt_per_tc - set node BW limit per TC SYNOPSIS int ice_sched_set_node_bw_lmt_per_tc (struct ice_port_info *pi , u32 id , enum ice_agg_type agg_type , u8 tc , enum ice_rl_type rl_type , u32 bw ); ARGUMENTS pi port information structure id ID (software VSI handle or ...
ice_sched_set_node_priority(9)
NAME ice_sched_set_node_priority - set node's priority SYNOPSIS int ice_sched_set_node_priority (struct ice_port_info *pi , struct ice_sched_node *node , u16 priority ); ARGUMENTS pi port information structure node tree node priority number 0-7 representing priority among siblings ...
ice_sched_set_node_weight(9)
NAME ice_sched_set_node_weight - set node's weight SYNOPSIS int ice_sched_set_node_weight (struct ice_port_info *pi , struct ice_sched_node *node , u16 weight ); ARGUMENTS pi port information structure node tree node weight number 1-200 representing weight for WFQ DESCRIPTION Thi...
ice_sched_set_q_bw_lmt(9)
NAME ice_sched_set_q_bw_lmt - sets queue BW limit SYNOPSIS int ice_sched_set_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_...
ice_sched_suspend_resume_elems(9)
NAME ice_sched_suspend_resume_elems - suspend or resume HW nodes SYNOPSIS int ice_sched_suspend_resume_elems (struct ice_hw *hw , u8 num_nodes , u32 *node_teids , bool suspend ); ARGUMENTS hw pointer to the HW struct num_nodes number of nodes node_teids array of node teids to be suspended ...
ice_sched_update_elem(9)
NAME ice_sched_update_elem - update element SYNOPSIS int ice_sched_update_elem (struct ice_hw *hw , struct ice_sched_node *node , struct ice_aqc_txsched_elem_data *info ); ARGUMENTS hw pointer to the HW struct node pointer to node info node info to update DESCRIPTION Update th...
ice_sched_update_parent(9)
NAME ice_sched_update_parent - update the new parent in SW DB SYNOPSIS void ice_sched_update_parent (struct ice_sched_node *new_parent , struct ice_sched_node *node ); ARGUMENTS new_parent pointer to a new parent node node pointer to a child node DESCRIPTION This function removes the child from the o...
ice_sched_update_vsi_child_nodes(9)
NAME ice_sched_update_vsi_child_nodes - update VSI child nodes SYNOPSIS int ice_sched_update_vsi_child_nodes (struct ice_port_info *pi , u16 vsi_handle , u8 tc , u16 new_numqs , u8 owner ); ARGUMENTS pi port information structure vsi_handle software VSI handle tc TC number n...
ice_sched_validate_srl_node(9)
NAME ice_sched_validate_srl_node - Check node for SRL applicability SYNOPSIS int ice_sched_validate_srl_node (struct ice_sched_node *node , u8 sel_layer ); ARGUMENTS node sched node to configure sel_layer selected SRL layer DESCRIPTION This function checks if the SRL can be applied to a selected lay...
ice_schedule_reset(9)
NAME ice_schedule_reset - schedule a reset SYNOPSIS int ice_schedule_reset (struct ice_pf *pf , enum ice_reset_req reset ); ARGUMENTS pf board private structure reset reset being requested SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_dev(9), ice_get_tx_pending(9...
ice_search_prof_id(9)
NAME ice_search_prof_id - Search for a profile tracking ID SYNOPSIS struct ice_prof_map * ice_search_prof_id (struct ice_hw *hw , enum ice_block blk , u64 id ); ARGUMENTS hw pointer to the HW struct blk hardware block id profile tracking ID DESCRIPTION This will search for a...
ice_sect_id(9)
NAME ice_sect_id - returns section ID SYNOPSIS u32 ice_sect_id (enum ice_block blk , enum ice_sect sect ); ARGUMENTS blk block type sect section type DESCRIPTION This helper function returns the proper section ID given a block type and a section type. SEE ALSO Kernel file ./drivers/net/et...
ice_self_test(9)
NAME ice_self_test - handler function for performing a self-test by ethtool SYNOPSIS void ice_self_test (struct net_device *netdev , struct ethtool_test *eth_test , u64 *data ); ARGUMENTS netdev network interface device structure eth_test ethtool_test structure data required by ethtool....
ice_send_component_table(9)
NAME ice_send_component_table - Send PLDM component table to firmware SYNOPSIS int ice_send_component_table (struct pldmfw *context , struct pldmfw_component *component , u8 transfer_flag ); ARGUMENTS context PLDM fw update structure component the component to process transfer_flag ...
ice_send_event_to_aux(9)
NAME ice_send_event_to_aux - send event to RDMA AUX driver SYNOPSIS void ice_send_event_to_aux (struct ice_pf *pf , struct iidc_rdma_event *event ); ARGUMENTS pf pointer to PF struct event event struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_idc.c ice_get_auxiliary_drv(...
ice_send_package_data(9)
NAME ice_send_package_data - Send record package data to firmware SYNOPSIS int ice_send_package_data (struct pldmfw *context , const u8 *data , u16 length ); ARGUMENTS context PLDM fw update structure data pointer to the package data length length of the package data DESCRIPTION Send ...
ice_send_version(9)
NAME ice_send_version - update firmware with driver version SYNOPSIS int ice_send_version (struct ice_pf *pf ); ARGUMENTS pf PF struct DESCRIPTION Returns 0 on success, else error code SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_dev(9), ice_get_tx_pending(9), ice_che...
ice_service_task(9)
NAME ice_service_task - manage and run subtasks SYNOPSIS void ice_service_task (struct work_struct *work ); ARGUMENTS work pointer to work_struct contained by the 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_check_for_hang_sub...
ice_service_task_complete(9)
NAME ice_service_task_complete - finish up the service task SYNOPSIS void ice_service_task_complete (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_service_task_restart(9)
NAME ice_service_task_restart - restart service task and schedule works SYNOPSIS void ice_service_task_restart (struct ice_pf *pf ); ARGUMENTS pf board private structure DESCRIPTION This function is needed for suspend and resume works (e.g WoL scenario) SEE ALSO Kernel file ./drivers/net/ethernet/intel...
ice_service_task_schedule(9)
NAME ice_service_task_schedule - schedule the service task to wake up SYNOPSIS void ice_service_task_schedule (struct ice_pf *pf ); ARGUMENTS pf board private structure DESCRIPTION If not already scheduled, this puts the task into the work queue. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ic...
ice_service_task_stop(9)
NAME ice_service_task_stop - stop service task and cancel works SYNOPSIS int ice_service_task_stop (struct ice_pf *pf ); ARGUMENTS pf board private structure DESCRIPTION Return 0 if the ICE_SERVICE_DIS bit was not already set, 1 otherwise. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main....
ice_service_timer(9)
NAME ice_service_timer - timer callback to schedule service task SYNOPSIS void ice_service_timer (struct timer_list *t ); ARGUMENTS t pointer to timer_list 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_...
ice_set_agg_vsi(9)
NAME ice_set_agg_vsi - sets up scheduler aggregator node and move VSI into it SYNOPSIS void ice_set_agg_vsi (struct ice_vsi *vsi ); ARGUMENTS vsi pointer to the VSI DESCRIPTION This function will allocate new scheduler aggregator now if needed and will move specified VSI into it. SEE ALSO Kernel file ...
ice_set_bw_limit(9)
NAME ice_set_bw_limit - setup BW limit for Tx traffic based on max_tx_rate SYNOPSIS int ice_set_bw_limit (struct ice_vsi *vsi , u64 max_tx_rate , u64 min_tx_rate ); ARGUMENTS vsi VSI to be configured max_tx_rate max Tx rate in Kbps to be configured as maximum BW limit min_tx_rate min Tx rate i...
ice_set_channels(9)
NAME ice_set_channels - set the number channels SYNOPSIS int ice_set_channels (struct net_device *dev , struct ethtool_channels *ch ); ARGUMENTS dev network interface device structure ch ethtool channel data structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ethtool.c ...
ice_set_clear_cir_bw(9)
NAME ice_set_clear_cir_bw - set or clear CIR BW SYNOPSIS void ice_set_clear_cir_bw (struct ice_bw_type_info *bw_t_info , u32 bw ); ARGUMENTS bw_t_info bandwidth type information structure bw bandwidth in Kbps - Kilo bits per sec DESCRIPTION Save or clear CIR bandwidth (BW) in the passed param bw_t...
ice_set_clear_eir_bw(9)
NAME ice_set_clear_eir_bw - set or clear EIR BW SYNOPSIS void ice_set_clear_eir_bw (struct ice_bw_type_info *bw_t_info , u32 bw ); ARGUMENTS bw_t_info bandwidth type information structure bw bandwidth in Kbps - Kilo bits per sec DESCRIPTION Save or clear EIR bandwidth (BW) in the passed param bw_t...
ice_set_clear_shared_bw(9)
NAME ice_set_clear_shared_bw - set or clear shared BW SYNOPSIS void ice_set_clear_shared_bw (struct ice_bw_type_info *bw_t_info , u32 bw ); ARGUMENTS bw_t_info bandwidth type information structure bw bandwidth in Kbps - Kilo bits per sec DESCRIPTION Save or clear shared bandwidth (BW) in the passe...
ice_set_cpu_rx_rmap(9)
NAME ice_set_cpu_rx_rmap - setup CPU reverse map for each queue SYNOPSIS int ice_set_cpu_rx_rmap (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI to be forwarded to SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_arfs.c ice_is_arfs_active(9), ice_is_arfs_using_perfect_flow(9), ice_arfs_updat...
ice_set_ctrlq_len(9)
NAME ice_set_ctrlq_len - helper function to set controlq length SYNOPSIS void ice_set_ctrlq_len (struct ice_hw *hw ); ARGUMENTS hw pointer to the HW instance 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...
ice_set_dcb_cfg(9)
NAME ice_set_dcb_cfg - Set the local LLDP MIB to FW SYNOPSIS int ice_set_dcb_cfg (struct ice_port_info *pi ); ARGUMENTS pi port information structure DESCRIPTION Set DCB configuration to the Firmware SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_dcb.c ice_aq_get_lldp_mib(9), ice_aq_cfg_l...
ice_set_dflt_mib(9)
NAME ice_set_dflt_mib - send a default config MIB to the FW SYNOPSIS void ice_set_dflt_mib (struct ice_pf *pf ); ARGUMENTS pf private PF struct DESCRIPTION This function sends a default configuration MIB to the FW. If this function errors out at any point, the driver is still able to function. The mai...
ice_set_dflt_val_fd_desc(9)
NAME ice_set_dflt_val_fd_desc - SYNOPSIS void ice_set_dflt_val_fd_desc (struct ice_fd_fltr_desc_ctx *fd_fltr_ctx ); ARGUMENTS fd_fltr_ctx pointer to fd filter descriptor SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_fdir.c ice_set_fd_desc_val(9), ice_fdir_get_prgm_desc(9), ice_alloc_fd_res_cntr(9), ice_f...
ice_set_dflt_vsi(9)
NAME ice_set_dflt_vsi - set the default forwarding VSI SYNOPSIS int ice_set_dflt_vsi (struct ice_vsi *vsi ); ARGUMENTS vsi VSI getting set as the default forwarding VSI on the switch DESCRIPTION If the VSI passed in is already the default VSI and it's enabled just return success. Otherwise try to set the VS...
ice_set_dflt_vsi_ctx(9)
NAME ice_set_dflt_vsi_ctx - Set default VSI context before adding a VSI SYNOPSIS void ice_set_dflt_vsi_ctx (struct ice_hw *hw , struct ice_vsi_ctx *ctxt ); ARGUMENTS hw HW structure used to determine the VLAN mode of the device ctxt the VSI context being set DESCRIPTION This initializes a def...
ice_set_dvm(9)
NAME ice_set_dvm - sets up software and hardware for double VLAN mode SYNOPSIS int ice_set_dvm (struct ice_hw *hw ); ARGUMENTS hw pointer to the hardware structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_vlan_mode.c ice_pkg_get_supported_vlan_mode(9), ice_aq_get_vlan_mode(9), ice_aq...
ice_set_dvm_boost_entries(9)
NAME ice_set_dvm_boost_entries - SYNOPSIS int ice_set_dvm_boost_entries (struct ice_hw *hw ); ARGUMENTS hw pointer to the HW structure DESCRIPTION Enable double vlan by updating the appropriate boost tcam entries. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_flex_pipe.c ice_sect_id(9), ic...
ice_set_e82x_time_ref(9)
NAME ice_set_e82x_time_ref - Set new TIME_REF SYNOPSIS void ice_set_e82x_time_ref (struct ice_hw *hw , enum ice_tspll_freq time_ref ); ARGUMENTS hw pointer to the HW structure time_ref new TIME_REF to set DESCRIPTION Update the TIME_REF in the capabilities structure in response to some change, su...
ice_set_ether_flow_seg(9)
NAME ice_set_ether_flow_seg - set address and protocol segments for ether flow SYNOPSIS int ice_set_ether_flow_seg (struct device *dev , struct ice_flow_seg_info *seg , struct ethhdr *eth_spec ); ARGUMENTS dev network interface device structure seg flow segment for programming eth_spec...
ice_set_ethtool_ops(9)
NAME ice_set_ethtool_ops - setup netdev ethtool ops SYNOPSIS void ice_set_ethtool_ops (struct net_device *netdev ); ARGUMENTS netdev network interface device structure DESCRIPTION setup netdev ethtool ops with ice specific ops SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ethtool.c ice_ethtoo...
ice_set_ethtool_repr_ops(9)
NAME ice_set_ethtool_repr_ops - setup VF's port representor ethtool ops SYNOPSIS void ice_set_ethtool_repr_ops (struct net_device *netdev ); ARGUMENTS netdev network interface device structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ethtool.c ice_ethtool_get_maxspeed(9), ice_is_serdes_...
ice_set_ethtool_safe_mode_ops(9)
NAME ice_set_ethtool_safe_mode_ops - setup safe mode ethtool ops SYNOPSIS void ice_set_ethtool_safe_mode_ops (struct net_device *netdev ); ARGUMENTS netdev network interface device structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ethtool.c ice_ethtool_get_maxspeed(9), ice_is_serdes_mu...
ice_set_fc(9)
NAME ice_set_fc - SYNOPSIS int ice_set_fc (struct ice_port_info *pi , u8 *aq_failures , bool ena_auto_link_update ); ARGUMENTS pi port information structure aq_failures pointer to status code, specific to ice_set_fc routine ena_auto_link_update enable automatic link update ...
ice_set_fd_desc_val(9)
NAME ice_set_fd_desc_val - SYNOPSIS void ice_set_fd_desc_val (struct ice_fd_fltr_desc_ctx *ctx , struct ice_fltr_desc *fdir_desc ); ARGUMENTS ctx pointer to fd filter descriptor context fdir_desc populated with fd filter descriptor values SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_...
ice_set_fd_vsi_ctx(9)
NAME ice_set_fd_vsi_ctx - Set FD VSI context before adding a VSI SYNOPSIS void ice_set_fd_vsi_ctx (struct ice_vsi_ctx *ctxt , struct ice_vsi *vsi ); ARGUMENTS ctxt the VSI context being set vsi the VSI being configured SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ic...
ice_set_fdir_input_set(9)
NAME ice_set_fdir_input_set - Set the input set for Flow Director SYNOPSIS int ice_set_fdir_input_set (struct ice_vsi *vsi , struct ethtool_rx_flow_spec *fsp , struct ice_fdir_fltr *input ); ARGUMENTS vsi pointer to target VSI fsp pointer to ethtool Rx flow specification input fi...
ice_set_fdir_ip4_seg(9)
NAME ice_set_fdir_ip4_seg - SYNOPSIS int ice_set_fdir_ip4_seg (struct ice_flow_seg_info *seg , struct ethtool_tcpip4_spec *tcp_ip4_spec , enum ice_flow_seg_hdr l4_proto , bool *perfect_fltr ); ARGUMENTS seg flow segment for programming tcp_ip4_spec mask data from ethtool l4_...
ice_set_fdir_ip4_usr_seg(9)
NAME ice_set_fdir_ip4_usr_seg - SYNOPSIS int ice_set_fdir_ip4_usr_seg (struct ice_flow_seg_info *seg , struct ethtool_usrip4_spec *usr_ip4_spec , bool *perfect_fltr ); ARGUMENTS seg flow segment for programming usr_ip4_spec ethtool userdef packet offset perfect_fltr ...
ice_set_fdir_ip6_seg(9)
NAME ice_set_fdir_ip6_seg - SYNOPSIS int ice_set_fdir_ip6_seg (struct ice_flow_seg_info *seg , struct ethtool_tcpip6_spec *tcp_ip6_spec , enum ice_flow_seg_hdr l4_proto , bool *perfect_fltr ); ARGUMENTS seg flow segment for programming tcp_ip6_spec mask data from ethtool l4_...
ice_set_fdir_ip6_usr_seg(9)
NAME ice_set_fdir_ip6_usr_seg - SYNOPSIS int ice_set_fdir_ip6_usr_seg (struct ice_flow_seg_info *seg , struct ethtool_usrip6_spec *usr_ip6_spec , bool *perfect_fltr ); ARGUMENTS seg flow segment for programming usr_ip6_spec ethtool userdef packet offset perfect_fltr ...
ice_set_fdir_vlan_seg(9)
NAME ice_set_fdir_vlan_seg - set vlan segments for ether flow SYNOPSIS int ice_set_fdir_vlan_seg (struct ice_flow_seg_info *seg , struct ethtool_flow_ext *ext_masks ); ARGUMENTS seg flow segment for programming ext_masks masks for additional RX flow fields RETURN 0 on success and errno in case of e...
ice_set_feature_support(9)
NAME ice_set_feature_support - SYNOPSIS void ice_set_feature_support (struct ice_pf *pf , enum ice_feature f ); ARGUMENTS pf pointer to the struct ice_pf instance f feature enum to set SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_type_str(9), ice_vsi_...
ice_set_features(9)
NAME ice_set_features - set the netdev feature flags SYNOPSIS int ice_set_features (struct net_device *netdev , netdev_features_t features ); ARGUMENTS netdev ptr to the netdev being adjusted features the feature set that the stack is suggesting SEE ALSO Kernel file ./drivers/net/ethernet/intel/i...
ice_set_fec_cfg(9)
NAME ice_set_fec_cfg - Set link FEC options SYNOPSIS int ice_set_fec_cfg (struct net_device *netdev , enum ice_fec_mode req_fec ); ARGUMENTS netdev network interface device structure req_fec FEC mode to configure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ethtool.c ice_ethtool_g...
ice_set_fecparam(9)
NAME ice_set_fecparam - Set FEC link options SYNOPSIS int ice_set_fecparam (struct net_device *netdev , struct ethtool_fecparam *fecparam ); ARGUMENTS netdev network interface device structure fecparam Ethtool structure to retrieve FEC parameters SEE ALSO Kernel file ./drivers/net/ethernet/intel/...
ice_set_init_fdir_seg(9)
NAME ice_set_init_fdir_seg - SYNOPSIS int ice_set_init_fdir_seg (struct ice_flow_seg_info *seg , enum ice_flow_seg_hdr l3_proto , enum ice_flow_seg_hdr l4_proto ); ARGUMENTS seg flow segment for programming l3_proto ICE_FLOW_SEG_HDR_IPV4 or ICE_FLOW_SEG_HDR_IPV6 l4_proto ICE_FLOW_SEG_HDR...
ice_set_key(9)
NAME ice_set_key - generate a variable sized key with multiples of 16-bits SYNOPSIS int ice_set_key (u8 *key , u16 size , u8 *val , u8 *upd , u8 *dc , u8 *nm , u16 off , u16 len ); ARGUMENTS key pointer to where the key will be stored size the size of the complete key in bytes (must be even) ...
ice_set_link(9)
NAME ice_set_link - turn on/off physical link SYNOPSIS int ice_set_link (struct ice_vsi *vsi , bool ena ); ARGUMENTS vsi VSI to modify physical link on ena turn on/off physical link SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_type_str(9), ice_vsi_ctrl_a...
ice_set_link_ksettings(9)
NAME ice_set_link_ksettings - Set Speed and Duplex SYNOPSIS int ice_set_link_ksettings (struct net_device *netdev , const struct ethtool_link_ksettings *ks ); ARGUMENTS netdev network interface device structure ks ethtool ksettings DESCRIPTION Set speed/duplex per media_types advertised/forced ...
ice_set_loopback(9)
NAME ice_set_loopback - turn on/off loopback mode on underlying PF SYNOPSIS int ice_set_loopback (struct ice_vsi *vsi , bool ena ); ARGUMENTS vsi ptr to VSI ena flag to indicate the on/off setting SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_dev(9), ice_g...
ice_set_mac_address(9)
NAME ice_set_mac_address - NDO callback to set MAC address SYNOPSIS int ice_set_mac_address (struct net_device *netdev , void *pi ); ARGUMENTS netdev network interface device structure pi pointer to an address structure DESCRIPTION Returns 0 on success, negative on failure SEE ALSO Kernel fi...
ice_set_mac_type(9)
NAME ice_set_mac_type - Sets MAC type SYNOPSIS int ice_set_mac_type (struct ice_hw *hw ); ARGUMENTS hw pointer to the HW structure DESCRIPTION This function sets the MAC type of the adapter based on the vendor ID and device ID stored in the HW structure. SEE ALSO Kernel file ./drivers/net/ethernet/inte...
ice_set_max_bw_limit(9)
NAME ice_set_max_bw_limit - setup maximum BW limit for Tx based on max_tx_rate SYNOPSIS int ice_set_max_bw_limit (struct ice_vsi *vsi , u64 max_tx_rate ); ARGUMENTS vsi VSI to be configured max_tx_rate max Tx rate in Kbps to be configured as BW limit DESCRIPTION If the max_tx_rate is specified as 0 t...
ice_set_min_bw_limit(9)
NAME ice_set_min_bw_limit - setup minimum BW limit for Tx based on min_tx_rate SYNOPSIS int ice_set_min_bw_limit (struct ice_vsi *vsi , u64 min_tx_rate ); ARGUMENTS vsi VSI to be configured min_tx_rate min Tx rate in Kbps to be configured as BW limit DESCRIPTION If the min_tx_rate is specified as 0 t...
ice_set_netdev_features(9)
NAME ice_set_netdev_features - set features for the given netdev SYNOPSIS void ice_set_netdev_features (struct net_device *netdev ); ARGUMENTS netdev netdev instance 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_set_object_tx_max(9)
NAME ice_set_object_tx_max - sets node scheduling parameter SYNOPSIS int ice_set_object_tx_max (struct ice_port_info *pi , struct ice_sched_node *node , u64 bw , struct netlink_ext_ack *extack ); ARGUMENTS pi devlink struct instance node node struct instance bw bandwidth in by...
ice_set_object_tx_priority(9)
NAME ice_set_object_tx_priority - sets node scheduling parameter SYNOPSIS int ice_set_object_tx_priority (struct ice_port_info *pi , struct ice_sched_node *node , u32 priority , struct netlink_ext_ack *extack ); ARGUMENTS pi devlink struct instance node node struct instance priority ...
ice_set_object_tx_share(9)
NAME ice_set_object_tx_share - sets node scheduling parameter SYNOPSIS int ice_set_object_tx_share (struct ice_port_info *pi , struct ice_sched_node *node , u64 bw , struct netlink_ext_ack *extack ); ARGUMENTS pi devlink struct instance node node struct instance bw bandwidth i...
ice_set_object_tx_weight(9)
NAME ice_set_object_tx_weight - sets node scheduling parameter SYNOPSIS int ice_set_object_tx_weight (struct ice_port_info *pi , struct ice_sched_node *node , u32 weight , struct netlink_ext_ack *extack ); ARGUMENTS pi devlink struct instance node node struct instance weight value...
ice_set_ops(9)
NAME ice_set_ops - set netdev and ethtools ops for the given netdev SYNOPSIS void ice_set_ops (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI associated with the new netdev 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_subt...
ice_set_pauseparam(9)
NAME ice_set_pauseparam - Set Flow Control parameter SYNOPSIS int ice_set_pauseparam (struct net_device *netdev , struct ethtool_pauseparam *pause ); ARGUMENTS netdev network interface device structure pause return Tx/Rx flow control status SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice...