id
stringlengths
4
63
text
stringlengths
153
8.81M
ice_stop_phy_timer_eth56g(9)
NAME ice_stop_phy_timer_eth56g - Stop the PHY clock timer SYNOPSIS int ice_stop_phy_timer_eth56g (struct ice_hw *hw , u8 port , bool soft_reset ); ARGUMENTS hw pointer to the HW struct port the PHY port to stop soft_reset if true, hold the SOFT_RESET bit of PHY_REG_PS DESCRIPTION Sto...
ice_subscribable_recp_shared(9)
NAME ice_subscribable_recp_shared - share an existing subscribable recipe SYNOPSIS void ice_subscribable_recp_shared (struct ice_hw *hw , u16 rid ); ARGUMENTS hw pointer to the hardware structure rid recipe ID to subscribe to SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_swit...
ice_subscribe_recipe(9)
NAME ice_subscribe_recipe - subscribe to an existing recipe SYNOPSIS int ice_subscribe_recipe (struct ice_hw *hw , u16 rid ); ARGUMENTS hw pointer to the hardware structure rid recipe ID to subscribe to RETURN 0 on success, and others on error SEE ALSO Kernel file ./drivers/net/ethernet...
ice_suspend(9)
NAME ice_suspend - SYNOPSIS int ice_suspend (struct device *dev ); ARGUMENTS dev generic device information structure DESCRIPTION Power Management callback to quiesce the device and prepare for D3 transition. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_dev(9), ice_get_...
ice_sw_fv_handler(9)
NAME ice_sw_fv_handler - SYNOPSIS void * ice_sw_fv_handler (u32 sect_type , void *section , u32 index , u32 *offset ); ARGUMENTS sect_type section type section pointer to section index index of the field vector entry to be returned offset ptr to variable that receives the offs...
ice_switch_flash_banks(9)
NAME ice_switch_flash_banks - Tell firmware to switch NVM banks SYNOPSIS int ice_switch_flash_banks (struct ice_pf *pf , u8 activate_flags , u8 *emp_reset_available , struct netlink_ext_ack *extack ); ARGUMENTS pf Pointer to the PF data structure activate_flags flags used for the a...
ice_sync_arfs_fltrs(9)
NAME ice_sync_arfs_fltrs - update all aRFS filters SYNOPSIS void ice_sync_arfs_fltrs (struct ice_pf *pf ); ARGUMENTS pf board private structure 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_update_active_fltr_cnt...
ice_sync_fltr_subtask(9)
NAME ice_sync_fltr_subtask - Sync the VSI filter list with HW SYNOPSIS void ice_sync_fltr_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_...
ice_sync_phy_timer_e82x(9)
NAME ice_sync_phy_timer_e82x - Synchronize the PHY timer with PHC timer SYNOPSIS int ice_sync_phy_timer_e82x (struct ice_hw *hw , u8 port ); ARGUMENTS hw pointer to the HW struct port the PHY port to synchronize DESCRIPTION Perform an adjustment to ensure that the PHY and PHC timers are in ...
ice_sync_phy_timer_eth56g(9)
NAME ice_sync_phy_timer_eth56g - Synchronize the PHY timer with PHC timer SYNOPSIS int ice_sync_phy_timer_eth56g (struct ice_hw *hw , u8 port ); ARGUMENTS hw pointer to the HW struct port the PHY port to synchronize DESCRIPTION Perform an adjustment to ensure that the PHY and PHC timers are...
ice_tc_count_lkups(9)
NAME ice_tc_count_lkups - determine lookup count for switch filter SYNOPSIS int ice_tc_count_lkups (u32 flags , struct ice_tc_flower_fltr *fltr ); ARGUMENTS flags TC-flower flags fltr Pointer to outer TC filter structure RETURN lookup count based on TC flower input for a switch filter. SEE ALSO...
ice_tc_fill_rules(9)
NAME ice_tc_fill_rules - fill filter rules based on TC fltr SYNOPSIS int ice_tc_fill_rules (struct ice_hw *hw , u32 flags , struct ice_tc_flower_fltr *tc_fltr , struct ice_adv_lkup_elem *list , struct ice_adv_rule_info *rule_info , u16 *l4_proto ); ARGUMENTS hw pointer to HW structure flags tc ...
ice_tc_forward_action(9)
NAME ice_tc_forward_action - Determine destination VSI and queue for the action SYNOPSIS struct ice_vsi * ice_tc_forward_action (struct ice_vsi *vsi , struct ice_tc_flower_fltr *tc_fltr ); ARGUMENTS vsi Pointer to VSI tc_fltr Pointer to TC flower filter structure DESCRIPTION Validates the tc forw...
ice_tc_indir_block_register(9)
NAME ice_tc_indir_block_register - Register TC indirect block notifications SYNOPSIS int ice_tc_indir_block_register (struct ice_vsi *vsi ); ARGUMENTS vsi VSI struct which has the netdev DESCRIPTION Returns 0 on success, negative value on failure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice...
ice_tc_indir_block_unregister(9)
NAME ice_tc_indir_block_unregister - Unregister TC indirect block notifications SYNOPSIS void ice_tc_indir_block_unregister (struct ice_vsi *vsi ); ARGUMENTS vsi VSI struct which has the netdev SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_dev(9), ice_get_tx_pending(9), ...
ice_tc_set_ipv4(9)
NAME ice_tc_set_ipv4 - Parse IPv4 addresses from TC flower filter SYNOPSIS int ice_tc_set_ipv4 (struct flow_match_ipv4_addrs *match , struct ice_tc_flower_fltr *fltr , struct ice_tc_flower_lyr_2_4_hdrs *headers , bool is_encap ); ARGUMENTS match Pointer to flow match structure fltr Pointer to fil...
ice_tc_set_ipv6(9)
NAME ice_tc_set_ipv6 - Parse IPv6 addresses from TC flower filter SYNOPSIS int ice_tc_set_ipv6 (struct flow_match_ipv6_addrs *match , struct ice_tc_flower_fltr *fltr , struct ice_tc_flower_lyr_2_4_hdrs *headers , bool is_encap ); ARGUMENTS match Pointer to flow match structure fltr Pointer to fil...
ice_tc_set_port(9)
NAME ice_tc_set_port - Parse ports from TC flower filter SYNOPSIS int ice_tc_set_port (struct flow_match_ports match , struct ice_tc_flower_fltr *fltr , struct ice_tc_flower_lyr_2_4_hdrs *headers , bool is_encap ); ARGUMENTS match Flow match structure fltr Pointer to filter structure head...
ice_tc_set_pppoe(9)
NAME ice_tc_set_pppoe - Parse PPPoE fields from TC flower filter SYNOPSIS u16 ice_tc_set_pppoe (struct flow_match_pppoe *match , struct ice_tc_flower_fltr *fltr , struct ice_tc_flower_lyr_2_4_hdrs *headers ); ARGUMENTS match Pointer to flow match structure fltr Pointer to filter structure ...
ice_tc_set_tos_ttl(9)
NAME ice_tc_set_tos_ttl - Parse IP ToS/TTL from TC flower filter SYNOPSIS void ice_tc_set_tos_ttl (struct flow_match_ip *match , struct ice_tc_flower_fltr *fltr , struct ice_tc_flower_lyr_2_4_hdrs *headers , bool is_encap ); ARGUMENTS match Pointer to flow match structure fltr Pointer to filter s...
ice_tc_tun_get_type(9)
NAME ice_tc_tun_get_type - get the tunnel type SYNOPSIS int ice_tc_tun_get_type (struct net_device *tunnel_dev ); ARGUMENTS tunnel_dev ptr to tunnel device DESCRIPTION This function detects appropriate tunnel_type if specified device is tunnel device such as VXLAN/Geneve SEE ALSO Kernel file ./drivers/net/ethe...
ice_tcam_ent_rsrc_type(9)
NAME ice_tcam_ent_rsrc_type - get TCAM entry resource type for a block type SYNOPSIS bool ice_tcam_ent_rsrc_type (enum ice_block blk , u16 *rsrc_type ); ARGUMENTS blk the block type rsrc_type pointer to variable to receive the resource type SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/i...
ice_tcam_write_entry(9)
NAME ice_tcam_write_entry - write TCAM entry SYNOPSIS int ice_tcam_write_entry (struct ice_hw *hw , enum ice_block blk , u16 idx , u8 prof_id , u8 ptg , u16 vsig , u8 cdid , u16 flags , u8 vl_msk[ICE_TCAM_KEY_VAL_SZ] , u8 dc_msk[ICE_TCAM_KEY_VAL_SZ] , u8 nm_msk[ICE_TCAM_KEY_VAL_SZ] ); ARGUMENTS h...
ice_tear_down_devlink_rate_tree(9)
NAME ice_tear_down_devlink_rate_tree - removes devlink-rate exported tree SYNOPSIS void ice_tear_down_devlink_rate_tree (struct ice_pf *pf ); ARGUMENTS pf pf struct DESCRIPTION This function tears down tree exported during VF's creation. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/devlink...
ice_test_staterr(9)
NAME ice_test_staterr - tests bits in Rx descriptor status and error fields SYNOPSIS bool ice_test_staterr (__le16 status_err_n , const u16 stat_err_bits ); ARGUMENTS status_err_n Rx descriptor status_error0 or status_error1 bits stat_err_bits value to mask DESCRIPTION This function does s...
ice_traverse_tx_tree(9)
NAME ice_traverse_tx_tree - traverse Tx scheduler tree SYNOPSIS void ice_traverse_tx_tree (struct devlink *devlink , struct ice_sched_node *node , struct ice_sched_node *tc_node , struct ice_pf *pf ); ARGUMENTS devlink devlink struct node current node, used for recursion tc_node tc_node...
ice_trigger_sw_intr(9)
NAME ice_trigger_sw_intr - trigger a software interrupt SYNOPSIS void ice_trigger_sw_intr (struct ice_hw *hw , const struct ice_q_vector *q_vector ); ARGUMENTS hw pointer to the HW structure q_vector interrupt vector to trigger the software interrupt for SEE ALSO Kernel file ./drivers/net/etherne...
ice_trigger_vf_reset(9)
NAME ice_trigger_vf_reset - Reset a VF on HW SYNOPSIS void ice_trigger_vf_reset (struct ice_vf *vf , bool is_vflr , bool is_pfr ); ARGUMENTS vf pointer to the VF structure is_vflr true if VFLR was issued, false if not is_pfr true if the reset was triggered due to a previous PFR DESC...
ice_tso(9)
NAME ice_tso - computes mss and TSO length to prepare for TSO SYNOPSIS int ice_tso (struct ice_tx_buf *first , struct ice_tx_offload_params *off ); ARGUMENTS first pointer to struct ice_tx_buf off pointer to struct that holds offload parameters DESCRIPTION Returns 0 or error (negative) if TSO c...
ice_tspll_bypass_mux_active_e825c(9)
NAME ice_tspll_bypass_mux_active_e825c - check if the given port is set active SYNOPSIS int ice_tspll_bypass_mux_active_e825c (struct ice_hw *hw , u8 port , bool *active , enum ice_synce_clk output ); ARGUMENTS hw Pointer to the HW struct port Number of the port active Output flag...
ice_tspll_cfg(9)
NAME ice_tspll_cfg - Configure the Clock Generation Unit TSPLL SYNOPSIS int ice_tspll_cfg (struct ice_hw *hw , enum ice_tspll_freq clk_freq , enum ice_clk_src clk_src ); ARGUMENTS hw Pointer to the HW struct clk_freq Clock frequency to program clk_src Clock source to select (TIME_REF, ...
ice_tspll_cfg_bypass_mux_e825c(9)
NAME ice_tspll_cfg_bypass_mux_e825c - configure reference clock mux SYNOPSIS int ice_tspll_cfg_bypass_mux_e825c (struct ice_hw *hw , bool ena , u32 port_num , enum ice_synce_clk output ); ARGUMENTS hw Pointer to the HW struct ena true to enable the reference, false if disable port_num...
ice_tspll_cfg_e825c(9)
NAME ice_tspll_cfg_e825c - Configure the TSPLL for E825-C SYNOPSIS int ice_tspll_cfg_e825c (struct ice_hw *hw , enum ice_tspll_freq clk_freq , enum ice_clk_src clk_src ); ARGUMENTS hw Pointer to the HW struct clk_freq Clock frequency to program clk_src Clock source to select (TIME_REF,...
ice_tspll_cfg_e82x(9)
NAME ice_tspll_cfg_e82x - Configure the Clock Generation Unit TSPLL SYNOPSIS int ice_tspll_cfg_e82x (struct ice_hw *hw , enum ice_tspll_freq clk_freq , enum ice_clk_src clk_src ); ARGUMENTS hw Pointer to the HW struct clk_freq Clock frequency to program clk_src Clock source to select (...
ice_tspll_cfg_pps_out_e825c(9)
NAME ice_tspll_cfg_pps_out_e825c - Enable/disable 1PPS output and set amplitude SYNOPSIS int ice_tspll_cfg_pps_out_e825c (struct ice_hw *hw , bool enable ); ARGUMENTS hw pointer to the HW struct enable true to enable 1PPS output, false to disable it RETURN 0 on success, other negative error cod...
ice_tspll_cfg_synce_ethdiv_e825c(9)
NAME ice_tspll_cfg_synce_ethdiv_e825c - set the divider on the mux SYNOPSIS int ice_tspll_cfg_synce_ethdiv_e825c (struct ice_hw *hw , enum ice_synce_clk output ); ARGUMENTS hw Pointer to the HW struct output Output pin, we have two in E825C DESCRIPTION Set the correct CGU divider for RCLKA or R...
ice_tspll_check_params(9)
NAME ice_tspll_check_params - Check if TSPLL params are correct SYNOPSIS bool ice_tspll_check_params (struct ice_hw *hw , enum ice_tspll_freq clk_freq , enum ice_clk_src clk_src ); ARGUMENTS hw Pointer to the HW struct clk_freq Clock frequency to program clk_src Clock source to select ...
ice_tspll_clk_freq_str(9)
NAME ice_tspll_clk_freq_str - Convert time_ref_freq to string SYNOPSIS const char * ice_tspll_clk_freq_str (enum ice_tspll_freq clk_freq ); ARGUMENTS clk_freq Clock frequency RETURN specified TIME_REF clock frequency converted to a string. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_tspll.c ...
ice_tspll_clk_src_str(9)
NAME ice_tspll_clk_src_str - Convert time_ref_src to string SYNOPSIS const char * ice_tspll_clk_src_str (enum ice_clk_src clk_src ); ARGUMENTS clk_src Clock source RETURN specified clock source converted to its string name SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_tspll.c ice_tspll_clk_freq_s...
ice_tspll_default_freq(9)
NAME ice_tspll_default_freq - Return default frequency for a MAC type SYNOPSIS enum ice_tspll_freq ice_tspll_default_freq (enum ice_mac_type mac_type ); ARGUMENTS mac_type MAC type RETURN default TSPLL frequency for a correct MAC type, -ERANGE otherwise. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ic...
ice_tspll_dis_sticky_bits(9)
NAME ice_tspll_dis_sticky_bits - disable TSPLL sticky bits SYNOPSIS int ice_tspll_dis_sticky_bits (struct ice_hw *hw ); ARGUMENTS hw Pointer to the HW struct DESCRIPTION Configure the Clock Generation Unit TSPLL sticky bits so they don't latch on losing TSPLL lock, but always show current state. RETURN 0 o...
ice_tspll_dis_sticky_bits_e825c(9)
NAME ice_tspll_dis_sticky_bits_e825c - disable TSPLL sticky bits for E825-C SYNOPSIS int ice_tspll_dis_sticky_bits_e825c (struct ice_hw *hw ); ARGUMENTS hw Pointer to the HW struct DESCRIPTION Configure the Clock Generation Unit TSPLL sticky bits so they don't latch on losing TSPLL lock, but always show cur...
ice_tspll_dis_sticky_bits_e82x(9)
NAME ice_tspll_dis_sticky_bits_e82x - disable TSPLL sticky bits SYNOPSIS int ice_tspll_dis_sticky_bits_e82x (struct ice_hw *hw ); ARGUMENTS hw Pointer to the HW struct DESCRIPTION Configure the Clock Generation Unit TSPLL sticky bits so they don't latch on losing TSPLL lock, but always show current state. ...
ice_tspll_get_div_e825c(9)
NAME ice_tspll_get_div_e825c - get the divider for the given speed SYNOPSIS int ice_tspll_get_div_e825c (u16 link_speed , unsigned int *divider ); ARGUMENTS link_speed link speed of the port divider output value, calculated divider DESCRIPTION Get CGU divider value based on the link speed. RETURN * 0 -...
ice_tspll_init(9)
NAME ice_tspll_init - Initialize TSPLL with settings from firmware SYNOPSIS int ice_tspll_init (struct ice_hw *hw ); ARGUMENTS hw Pointer to the HW structure DESCRIPTION Initialize the Clock Generation Unit of the E82X/E825 device. RETURN 0 on success, other error codes when failed to read/write/cfg CGU. ...
ice_tspll_log_cfg(9)
NAME ice_tspll_log_cfg - Log current/new TSPLL configuration SYNOPSIS void ice_tspll_log_cfg (struct ice_hw *hw , bool enable , u8 clk_src , u8 tspll_freq , bool lock , bool new_cfg ); ARGUMENTS hw Pointer to the HW struct enable CGU enabled/disabled clk_src Current clock source ...
ice_tstamp(9)
NAME ice_tstamp - set up context descriptor for hardware timestamp SYNOPSIS void ice_tstamp (struct ice_tx_ring *tx_ring , struct sk_buff *skb , struct ice_tx_buf *first , struct ice_tx_offload_params *off ); ARGUMENTS tx_ring pointer to the Tx ring to send buffer on skb pointer to the SKB we're s...
ice_tunnel_idx_to_entry(9)
NAME ice_tunnel_idx_to_entry - convert linear index to the sparse one SYNOPSIS u16 ice_tunnel_idx_to_entry (struct ice_hw *hw , enum ice_tunnel_type type , u16 idx ); ARGUMENTS hw pointer to the HW structure type type of tunnel idx linear index DESCRIPTION Stack assumes we hav...
ice_tx_csum(9)
NAME ice_tx_csum - Enable Tx checksum offloads SYNOPSIS int ice_tx_csum (struct ice_tx_buf *first , struct ice_tx_offload_params *off ); ARGUMENTS first pointer to the first descriptor off pointer to struct that holds offload parameters DESCRIPTION Returns 0 or error (negative) if checksum offl...
ice_tx_map(9)
NAME ice_tx_map - Build the Tx descriptor SYNOPSIS void ice_tx_map (struct ice_tx_ring *tx_ring , struct ice_tx_buf *first , struct ice_tx_offload_params *off ); ARGUMENTS tx_ring ring to send buffer on first first buffer info buffer to use off pointer to struct that holds offload pa...
ice_tx_prepare_vlan_flags(9)
NAME ice_tx_prepare_vlan_flags - prepare generic Tx VLAN tagging flags for HW SYNOPSIS void ice_tx_prepare_vlan_flags (struct ice_tx_ring *tx_ring , struct ice_tx_buf *first ); ARGUMENTS tx_ring ring to send buffer on first pointer to struct ice_tx_buf DESCRIPTION Checks the skb and set up correspo...
ice_tx_prepare_vlan_flags_dcb(9)
NAME ice_tx_prepare_vlan_flags_dcb - prepare VLAN tagging for DCB SYNOPSIS void ice_tx_prepare_vlan_flags_dcb (struct ice_tx_ring *tx_ring , struct ice_tx_buf *first ); ARGUMENTS tx_ring ring to send buffer on first pointer to struct ice_tx_buf DESCRIPTION This should not be called if the outer VLA...
ice_tx_timeout(9)
NAME ice_tx_timeout - Respond to a Tx Hang SYNOPSIS void ice_tx_timeout (struct net_device *netdev , unsigned int txqueue ); ARGUMENTS netdev network interface device structure txqueue Tx queue SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_dev(9), ice_get_tx_pend...
ice_tx_xsk_pool(9)
NAME ice_tx_xsk_pool - assign XSK buff pool to XDP ring SYNOPSIS void ice_tx_xsk_pool (struct ice_vsi *vsi , u16 qid ); ARGUMENTS vsi pointer to VSI qid index of a queue to look at XSK buff pool presence DESCRIPTION Sets XSK buff pool pointer on XDP ring. XDP ring is picked from Rx ring, ...
ice_txd_use_count(9)
NAME ice_txd_use_count - estimate the number of descriptors needed for Tx SYNOPSIS unsigned int ice_txd_use_count (unsigned int size ); ARGUMENTS size transmit request size in bytes DESCRIPTION Due to hardware alignment restrictions (4K alignment), we need to assume that we can have no more than 12K of data p...
ice_unload(9)
NAME ice_unload - unload pf by stopping VSI and deinit hw SYNOPSIS void ice_unload (struct ice_pf *pf ); ARGUMENTS pf pointer to the pf instance DESCRIPTION This function has to be called under devl_lock. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_dev(9), ice_get_tx_...
ice_unmap_and_free_tx_buf(9)
NAME ice_unmap_and_free_tx_buf - Release a Tx buffer SYNOPSIS void ice_unmap_and_free_tx_buf (struct ice_tx_ring *ring , struct ice_tx_buf *tx_buf ); ARGUMENTS ring the ring that owns the buffer tx_buf the buffer to free SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_txrx.c ice_prgm_fd...
ice_unmap_xdp_rings(9)
NAME ice_unmap_xdp_rings - Unmap XDP rings from interrupt vectors SYNOPSIS void ice_unmap_xdp_rings (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI with XDP rings being unmapped 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...
ice_unpack_rxq_ctx(9)
NAME ice_unpack_rxq_ctx - Unpack Rx queue context from a HW buffer SYNOPSIS void ice_unpack_rxq_ctx (const ice_rxq_ctx_buf_t *buf , struct ice_rlan_ctx *ctx ); ARGUMENTS buf the HW buffer to unpack from ctx the Rx queue context to unpack DESCRIPTION Unpack the Rx queue context from the HW buf...
ice_unpack_txq_ctx_full(9)
NAME ice_unpack_txq_ctx_full - Unpack Tx queue context from a HW buffer SYNOPSIS void ice_unpack_txq_ctx_full (const ice_txq_ctx_buf_full_t *buf , struct ice_tlan_ctx *ctx ); ARGUMENTS buf the HW buffer to unpack from ctx the Tx queue context to unpack DESCRIPTION Unpack the Tx queue context ...
ice_unregister_lag_handler(9)
NAME ice_unregister_lag_handler - unregister LAG handler on netdev SYNOPSIS void ice_unregister_lag_handler (struct ice_lag *lag ); ARGUMENTS lag LAG struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lag.c ice_lag_set_primary(9), ice_lag_set_bkup(9), netif_is_same_ice(9), ice_lag_config_eswitc...
ice_up(9)
NAME ice_up - Bring the connection back up after being down SYNOPSIS int ice_up (struct ice_vsi *vsi ); ARGUMENTS vsi VSI being configured 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_fltr(9), ...
ice_up_complete(9)
NAME ice_up_complete - Finish the last steps of bringing up a connection SYNOPSIS int ice_up_complete (struct ice_vsi *vsi ); ARGUMENTS vsi The VSI being configured DESCRIPTION Return 0 on success and negative value on error SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_de...
ice_upd_dvm_boost_entry(9)
NAME ice_upd_dvm_boost_entry - SYNOPSIS int ice_upd_dvm_boost_entry (struct ice_hw *hw , struct ice_dvm_entry *entry ); ARGUMENTS hw pointer to the HW structure entry pointer to double vlan boost entry info SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_flex_pipe.c ice_sect_id(9...
ice_upd_prof_hw(9)
NAME ice_upd_prof_hw - update hardware using the change list SYNOPSIS int ice_upd_prof_hw (struct ice_hw *hw , enum ice_block blk , struct list_head *chgs ); ARGUMENTS hw pointer to the HW struct blk hardware block chgs the list of changes to make in hardware SEE ALSO Kernel ...
ice_update_dcb_stats(9)
NAME ice_update_dcb_stats - Update DCB stats counters SYNOPSIS void ice_update_dcb_stats (struct ice_pf *pf ); ARGUMENTS pf PF whose stats needs to be updated 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_update_eth_stats(9)
NAME ice_update_eth_stats - Update VSI-specific ethernet statistics counters SYNOPSIS void ice_update_eth_stats (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI to be updated 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...
ice_update_fd_mask(9)
NAME ice_update_fd_mask - set Flow Director Field Vector mask for a profile SYNOPSIS void ice_update_fd_mask (struct ice_hw *hw , u16 prof_id , u32 mask_sel ); ARGUMENTS hw pointer to the HW struct prof_id profile ID mask_sel mask select DESCRIPTION This function enable any of the mas...
ice_update_fd_swap(9)
NAME ice_update_fd_swap - set register appropriately for a FD FV extraction SYNOPSIS int ice_update_fd_swap (struct ice_hw *hw , u16 prof_id , struct ice_fv_word *es ); ARGUMENTS hw pointer to the HW struct prof_id profile ID es extraction sequence (length of array is determined ...
ice_update_legacy_cached_mac(9)
NAME ice_update_legacy_cached_mac - update cached hardware MAC for legacy VF SYNOPSIS void ice_update_legacy_cached_mac (struct ice_vf *vf , struct virtchnl_ether_addr *vc_ether_addr ); ARGUMENTS vf VF to update vc_ether_addr structure from VIRTCHNL with MAC to check DESCRIPTION o...
ice_update_link_info(9)
NAME ice_update_link_info - update status of the HW network link SYNOPSIS int ice_update_link_info (struct ice_port_info *pi ); ARGUMENTS pi port info structure of the interested logical port SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_common.c ice_dump_phy_type(9), ice_set_mac_type(9), ice_is...
ice_update_per_q_fltr(9)
NAME ice_update_per_q_fltr - SYNOPSIS void ice_update_per_q_fltr (struct ice_vsi *vsi , u32 q_index , bool inc ); ARGUMENTS vsi ptr to VSI q_index queue index inc true to increment or false to decrement per queue filter count DESCRIPTION This function is used to keep track of per ...
ice_update_pf_netdev_link(9)
NAME ice_update_pf_netdev_link - Update PF netdev link status SYNOPSIS void ice_update_pf_netdev_link (struct ice_pf *pf ); ARGUMENTS pf pointer to the PF 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_update_pf_stats(9)
NAME ice_update_pf_stats - Update PF port stats counters SYNOPSIS void ice_update_pf_stats (struct ice_pf *pf ); ARGUMENTS pf PF whose stats needs to be updated 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_update_phy_type(9)
NAME ice_update_phy_type - SYNOPSIS void ice_update_phy_type (u64 *phy_type_low , u64 *phy_type_high , u16 link_speeds_bitmap ); ARGUMENTS phy_type_low pointer to the lower part of phy_type phy_type_high pointer to the higher part of phy_type link_speeds_bitmap ta...
ice_update_pkg(9)
NAME ice_update_pkg - SYNOPSIS int ice_update_pkg (struct ice_hw *hw , struct ice_buf *bufs , u32 count ); ARGUMENTS hw pointer to the hardware structure bufs pointer to an array of buffers count the number of buffers in the array DESCRIPTION Obtains change lock and updates pack...
ice_update_pkg_no_lock(9)
NAME ice_update_pkg_no_lock - SYNOPSIS int ice_update_pkg_no_lock (struct ice_hw *hw , struct ice_buf *bufs , u32 count ); ARGUMENTS hw pointer to the hardware structure bufs pointer to an array of buffers count the number of buffers in the array SEE ALSO Kernel file ./drivers/n...
ice_update_pkt_fwd_rule(9)
NAME ice_update_pkt_fwd_rule - SYNOPSIS int ice_update_pkt_fwd_rule (struct ice_hw *hw , struct ice_fltr_info *f_info ); ARGUMENTS hw pointer to the hardware structure f_info filter information for switch rule DESCRIPTION Call AQ command to update a previously created switch rule with a VSI lis...
ice_update_port_tc_tree_cfg(9)
NAME ice_update_port_tc_tree_cfg - update TC tree configuration SYNOPSIS int ice_update_port_tc_tree_cfg (struct ice_port_info *pi , struct ice_aqc_port_ets_elem *buf ); ARGUMENTS pi port information structure buf pointer to buffer DESCRIPTION update the SW DB with the new TC changes SEE AL...
ice_update_prof_masking(9)
NAME ice_update_prof_masking - set registers according to masking SYNOPSIS int ice_update_prof_masking (struct ice_hw *hw , enum ice_block blk , u16 prof_id , u16 *masks ); ARGUMENTS hw pointer to the HW struct blk hardware block prof_id profile ID masks masks SEE A...
ice_update_recipe_lkup_idx(9)
NAME ice_update_recipe_lkup_idx - update a default recipe based on the lkup_idx SYNOPSIS int ice_update_recipe_lkup_idx (struct ice_hw *hw , struct ice_update_recipe_lkup_idx_params *params ); ARGUMENTS hw pointer to the HW struct params parameters used to update the default recipe DESCRIPTION ...
ice_update_ring_dest_vsi(9)
NAME ice_update_ring_dest_vsi - update dest ring and dest VSI SYNOPSIS void ice_update_ring_dest_vsi (struct ice_vsi *vsi , u16 *dest_vsi , u32 *ring ); ARGUMENTS vsi pointer to target VSI dest_vsi ptr to dest VSI index ring ptr to dest ring DESCRIPTION This function updates destina...
ice_update_rx_ring_stats(9)
NAME ice_update_rx_ring_stats - Update Rx ring specific counters SYNOPSIS void ice_update_rx_ring_stats (struct ice_rx_ring *rx_ring , u64 pkts , u64 bytes ); ARGUMENTS rx_ring ring to update pkts number of processed packets bytes number of processed bytes SEE ALSO Kernel file ...
ice_update_sw_rule_bridge_mode(9)
NAME ice_update_sw_rule_bridge_mode - SYNOPSIS int ice_update_sw_rule_bridge_mode (struct ice_hw *hw ); ARGUMENTS hw pointer to the HW struct DESCRIPTION Updates unicast switch filter rules based on VEB/VEPA mode SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_switch.c ice_init_def_sw_recp(...
ice_update_tx_ring_stats(9)
NAME ice_update_tx_ring_stats - Update Tx ring specific counters SYNOPSIS void ice_update_tx_ring_stats (struct ice_tx_ring *tx_ring , u64 pkts , u64 bytes ); ARGUMENTS tx_ring ring to update pkts number of processed packets bytes number of processed bytes SEE ALSO Kernel file ...
ice_update_tx_topo_user_sel(9)
NAME ice_update_tx_topo_user_sel - Save user's preference in flash SYNOPSIS int ice_update_tx_topo_user_sel (struct ice_pf *pf , int layers ); ARGUMENTS pf pointer to pf structure layers value to be saved in flash DESCRIPTION Variable "layers" defines user's preference about number of layers in...
ice_update_vsi(9)
NAME ice_update_vsi - SYNOPSIS int ice_update_vsi (struct ice_hw *hw , u16 vsi_handle , struct ice_vsi_ctx *vsi_ctx , struct ice_sq_cd *cd ); ARGUMENTS hw pointer to the HW struct vsi_handle unique VSI handle vsi_ctx pointer to a VSI context struct cd pointer to command ...
ice_update_vsi_list_rule(9)
NAME ice_update_vsi_list_rule - SYNOPSIS int ice_update_vsi_list_rule (struct ice_hw *hw , u16 *vsi_handle_arr , u16 num_vsi , u16 vsi_list_id , bool remove , enum ice_adminq_opc opc , enum ice_sw_lkup_type lkup_type ); ARGUMENTS hw pointer to the hardware structure vsi_handle_arr ...
ice_update_vsi_ring_stats(9)
NAME ice_update_vsi_ring_stats - Update VSI stats counters SYNOPSIS void ice_update_vsi_ring_stats (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI to be updated 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_update_vsi_rx_ring_stats(9)
NAME ice_update_vsi_rx_ring_stats - Update VSI Rx ring stats counters SYNOPSIS void ice_update_vsi_rx_ring_stats (struct ice_vsi *vsi , struct ice_vsi_rx_stats *vsi_stats , struct ice_rx_ring **rings , u16 count ); ARGUMENTS vsi the VSI to be updated vsi_stats accumulated stats for this VSI ...
ice_update_vsi_stats(9)
NAME ice_update_vsi_stats - Update VSI stats counters SYNOPSIS void ice_update_vsi_stats (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI to be updated 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_update_vsi_tx_ring_stats(9)
NAME ice_update_vsi_tx_ring_stats - Update VSI Tx ring stats counters SYNOPSIS void ice_update_vsi_tx_ring_stats (struct ice_vsi *vsi , struct ice_vsi_tx_stats *vsi_stats , struct ice_tx_ring **rings , u16 count ); ARGUMENTS vsi the VSI to be updated vsi_stats accumulated stats for this VSI ...
ice_validate_mqprio_qopt(9)
NAME ice_validate_mqprio_qopt - Validate TCF input parameters SYNOPSIS int ice_validate_mqprio_qopt (struct ice_vsi *vsi , struct tc_mqprio_qopt_offload *mqprio_qopt ); ARGUMENTS vsi Pointer to VSI mqprio_qopt input parameters for mqprio queue configuration DESCRIPTION This function validates MQPRIO ...
ice_vc_add_fdir_fltr(9)
NAME ice_vc_add_fdir_fltr - add a FDIR filter for VF by the msg buffer SYNOPSIS int ice_vc_add_fdir_fltr (struct ice_vf *vf , u8 *msg ); ARGUMENTS vf pointer to the VF info msg pointer to the msg buffer RETURN 0 on success, and other on error. SEE ALSO Kernel file ./drivers/net/ethe...
ice_vc_add_fdir_fltr_post(9)
NAME ice_vc_add_fdir_fltr_post - SYNOPSIS int ice_vc_add_fdir_fltr_post (struct ice_vf *vf , struct ice_vf_fdir_ctx *ctx , enum virtchnl_fdir_prgm_status status , bool success ); ARGUMENTS vf pointer to the VF structure ctx FDIR context info for post processing status virtchnl FD...
ice_vc_add_fdir_raw(9)
NAME ice_vc_add_fdir_raw - add a raw FDIR filter for VF SYNOPSIS int ice_vc_add_fdir_raw (struct ice_vf *vf , struct virtchnl_fdir_fltr_conf *conf , enum virtchnl_status_code *v_ret , struct virtchnl_fdir_add *stat , int len ); ARGUMENTS vf pointer to the VF info conf FDIR configuration for ea...
ice_vc_add_mac_addr(9)
NAME ice_vc_add_mac_addr - attempt to add the MAC address passed in SYNOPSIS int ice_vc_add_mac_addr (struct ice_vf *vf , struct ice_vsi *vsi , struct virtchnl_ether_addr *vc_ether_addr ); ARGUMENTS vf pointer to the VF info vsi pointer to the VF's VSI vc_ether_addr ...
ice_vc_add_mac_addr_msg(9)
NAME ice_vc_add_mac_addr_msg - SYNOPSIS int ice_vc_add_mac_addr_msg (struct ice_vf *vf , u8 *msg ); ARGUMENTS vf pointer to the VF info msg pointer to the msg buffer DESCRIPTION add guest MAC address filter SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/virtchnl.c ice_vc_vf_b...
ice_vc_add_vlan_msg(9)
NAME ice_vc_add_vlan_msg - SYNOPSIS int ice_vc_add_vlan_msg (struct ice_vf *vf , u8 *msg ); ARGUMENTS vf pointer to the VF info msg pointer to the msg buffer DESCRIPTION Add and program guest VLAN ID SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/virtchnl.c ice_vc_vf_broadcas...
ice_vc_add_vlan_v2_msg(9)
NAME ice_vc_add_vlan_v2_msg - virtchnl handler for VIRTCHNL_OP_ADD_VLAN_V2 SYNOPSIS int ice_vc_add_vlan_v2_msg (struct ice_vf *vf , u8 *msg ); ARGUMENTS vf VF the message was received from msg message received from the VF SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/virt/virtchnl....