id
stringlengths
4
63
text
stringlengths
153
8.81M
ice_lag_find_hw_by_lport(9)
NAME ice_lag_find_hw_by_lport - return an hw struct from bond members lport SYNOPSIS struct ice_hw * ice_lag_find_hw_by_lport (struct ice_lag *lag , u8 lport ); ARGUMENTS lag lag struct lport lport value to search for SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lag.c ice_lag_se...
ice_lag_find_primary(9)
NAME ice_lag_find_primary - returns pointer to primary interfaces lag struct SYNOPSIS struct ice_lag * ice_lag_find_primary (struct ice_lag *lag ); ARGUMENTS lag local interfaces 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_s...
ice_lag_get_sched_parent(9)
NAME ice_lag_get_sched_parent - locate or create a sched node parent SYNOPSIS struct ice_sched_node * ice_lag_get_sched_parent (struct ice_hw *hw , u8 tc ); ARGUMENTS hw HW struct for getting parent in tc traffic class on parent/node SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice...
ice_lag_info_event(9)
NAME ice_lag_info_event - handle NETDEV_BONDING_INFO event SYNOPSIS void ice_lag_info_event (struct ice_lag *lag , void *ptr ); ARGUMENTS lag LAG info struct ptr opaque data pointer DESCRIPTION ptr is to be cast to (netdev_notifier_bonding_info *) SEE ALSO Kernel file ./drivers/net/ethernet/...
ice_lag_init_feature_support_flag(9)
NAME ice_lag_init_feature_support_flag - Check for package and NVM support for LAG SYNOPSIS void ice_lag_init_feature_support_flag (struct ice_pf *pf ); ARGUMENTS pf PF 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), i...
ice_lag_is_switchdev_running(9)
NAME ice_lag_is_switchdev_running - SYNOPSIS bool ice_lag_is_switchdev_running (struct ice_pf *pf ); ARGUMENTS pf pointer to PF structure DESCRIPTION Check if switchdev is running on any of the interfaces connected to lag. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lag.c ice_lag_set_prima...
ice_lag_link(9)
NAME ice_lag_link - handle LAG link event SYNOPSIS void ice_lag_link (struct ice_lag *lag ); ARGUMENTS lag LAG info 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_eswitch(9), ice_netdev_to_lag(9), ice_la...
ice_lag_link_unlink(9)
NAME ice_lag_link_unlink - helper function to call lag_link/unlink SYNOPSIS void ice_lag_link_unlink (struct ice_lag *lag , void *ptr ); ARGUMENTS lag lag info struct ptr opaque pointer data SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lag.c ice_lag_set_primary(9), ice_lag_set_bk...
ice_lag_monitor_act_act(9)
NAME ice_lag_monitor_act_act - Keep track of active ports in A/A LAG SYNOPSIS void ice_lag_monitor_act_act (struct ice_lag *lag , struct netdev_bonding_info *b_info , struct net_device *event_netdev ); ARGUMENTS lag lag struct for primary interface b_info bonding_info for event event_netd...
ice_lag_monitor_act_bkup(9)
NAME ice_lag_monitor_act_bkup - keep track of which port is active in A/B LAG SYNOPSIS void ice_lag_monitor_act_bkup (struct ice_lag *lag , struct netdev_bonding_info *b_info , struct net_device *event_netdev ); ARGUMENTS lag lag info struct b_info bonding info event_netdev ...
ice_lag_monitor_info(9)
NAME ice_lag_monitor_info - Calls relevant A/A or A/B monitoring function SYNOPSIS void ice_lag_monitor_info (struct ice_lag *lag , void *ptr ); ARGUMENTS lag lag info struct ptr opaque data containing notifier event DESCRIPTION This function is for the primary PF to monitor changes in which ...
ice_lag_monitor_link(9)
NAME ice_lag_monitor_link - monitor interfaces entering/leaving the aggregate SYNOPSIS void ice_lag_monitor_link (struct ice_lag *lag , void *ptr ); ARGUMENTS lag lag info struct ptr opaque data containing notifier event DESCRIPTION This function only operates after a primary has been set. S...
ice_lag_monitor_rdma(9)
NAME ice_lag_monitor_rdma - set and clear rdma functionality SYNOPSIS void ice_lag_monitor_rdma (struct ice_lag *lag , void *ptr ); ARGUMENTS lag pointer to lag struct ptr opaque data for netdev event info SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lag.c ice_lag_set_primary(9),...
ice_lag_move_single_vf_nodes(9)
NAME ice_lag_move_single_vf_nodes - Move Tx scheduling nodes for single VF SYNOPSIS void ice_lag_move_single_vf_nodes (struct ice_lag *lag , u8 oldport , u8 newport , u16 vsi_num ); ARGUMENTS lag primary interface LAG struct oldport lport of previous interface newport lport of destinat...
ice_lag_move_vf_node_tc(9)
NAME ice_lag_move_vf_node_tc - move scheduling nodes for one VF on one TC SYNOPSIS void ice_lag_move_vf_node_tc (struct ice_lag *lag , u8 oldport , u8 newport , u16 vsi_num , u8 tc ); ARGUMENTS lag lag info struct oldport lport of previous nodes location newport lport of destination no...
ice_lag_move_vf_nodes(9)
NAME ice_lag_move_vf_nodes - move Tx scheduling nodes for all VFs to new port SYNOPSIS void ice_lag_move_vf_nodes (struct ice_lag *lag , u8 oldport , u8 newport ); ARGUMENTS lag lag info struct oldport lport of previous interface newport lport of destination interface SEE ALSO Kernel ...
ice_lag_move_vf_nodes_cfg(9)
NAME ice_lag_move_vf_nodes_cfg - move vf nodes outside LAG netdev event context SYNOPSIS void ice_lag_move_vf_nodes_cfg (struct ice_lag *lag , u8 src_prt , u8 dst_prt ); ARGUMENTS lag local lag struct src_prt lport value for source port dst_prt lport value for destination port DESCRIP...
ice_lag_move_vf_nodes_sync(9)
NAME ice_lag_move_vf_nodes_sync - move vf nodes to active interface SYNOPSIS void ice_lag_move_vf_nodes_sync (struct ice_lag *lag , struct ice_hw *dest_hw ); ARGUMENTS lag primary interfaces lag struct dest_hw lport value for currently active port DESCRIPTION This function is used in a reset cont...
ice_lag_move_vf_nodes_tc_sync(9)
NAME ice_lag_move_vf_nodes_tc_sync - move a VF's nodes for a tc during reset SYNOPSIS void ice_lag_move_vf_nodes_tc_sync (struct ice_lag *lag , struct ice_hw *dest_hw , u16 vsi_num , u8 tc ); ARGUMENTS lag primary interfaces lag struct dest_hw HW struct for destination's interface vsi_num ...
ice_lag_prepare_vf_reset(9)
NAME ice_lag_prepare_vf_reset - helper to adjust vf lag for reset SYNOPSIS u8 ice_lag_prepare_vf_reset (struct ice_lag *lag ); ARGUMENTS lag lag struct for interface that owns VF CONTEXT must be called with the lag_mutex lock held. RETURN active lport value or ICE_LAG_INVALID_PORT if nothing moved. SEE ALS...
ice_lag_preset_drop_fltr(9)
NAME ice_lag_preset_drop_fltr - preset drop filter for A/B bonds SYNOPSIS void ice_lag_preset_drop_fltr (struct ice_lag *lag , void *ptr ); ARGUMENTS lag local lag struct ptr opaque data containing event DESCRIPTION Sets the initial drop filter for secondary interface in an active-backup bond...
ice_lag_primary_swid(9)
NAME ice_lag_primary_swid - set/clear the SHARED attrib of primary's SWID SYNOPSIS void ice_lag_primary_swid (struct ice_lag *lag , bool link ); ARGUMENTS lag primary interface's lag struct link is this a linking activity DESCRIPTION Implement setting primary SWID as shared using 0x020B SEE A...
ice_lag_process_event(9)
NAME ice_lag_process_event - process a task assigned to the lag_wq SYNOPSIS void ice_lag_process_event (struct work_struct *work ); ARGUMENTS work pointer to work_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_c...
ice_lag_qbuf_recfg(9)
NAME ice_lag_qbuf_recfg - generate a buffer of queues for a reconfigure command SYNOPSIS u16 ice_lag_qbuf_recfg (struct ice_hw *hw , struct ice_aqc_cfg_txqs_buf *qbuf , u16 vsi_num , u16 numq , u8 tc ); ARGUMENTS hw HW struct that contains the queue contexts qbuf pointer to buffer to populate ...
ice_lag_rebuild(9)
NAME ice_lag_rebuild - rebuild lag resources after reset SYNOPSIS void ice_lag_rebuild (struct ice_pf *pf ); ARGUMENTS pf pointer to local pf struct DESCRIPTION PF resets are promoted to CORER resets when interface in an aggregate. This means that we need to rebuild the PF resources for the interface. S...
ice_lag_reclaim_vf_nodes(9)
NAME ice_lag_reclaim_vf_nodes - When interface leaving bond primary reclaims nodes SYNOPSIS void ice_lag_reclaim_vf_nodes (struct ice_lag *lag , struct ice_hw *src_hw ); ARGUMENTS lag primary interface lag struct src_hw HW struct for current node location SEE ALSO Kernel file ./drivers/net/ether...
ice_lag_reclaim_vf_tc(9)
NAME ice_lag_reclaim_vf_tc - move scheduling nodes back to primary interface SYNOPSIS void ice_lag_reclaim_vf_tc (struct ice_lag *lag , struct ice_hw *src_hw , u16 vsi_num , u8 tc ); ARGUMENTS lag primary interface lag struct src_hw HW struct current node location vsi_num VSI index in...
ice_lag_set_bkup(9)
NAME ice_lag_set_bkup - set PF LAG state to Backup SYNOPSIS void ice_lag_set_bkup (struct ice_lag *lag ); ARGUMENTS lag LAG info struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lag.c ice_lag_set_primary(9), netif_is_same_ice(9), ice_lag_config_eswitch(9), ice_netdev_to_lag(9), ic...
ice_lag_set_primary(9)
NAME ice_lag_set_primary - set PF LAG state as Primary SYNOPSIS void ice_lag_set_primary (struct ice_lag *lag ); ARGUMENTS lag LAG info struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lag.c ice_lag_set_bkup(9), netif_is_same_ice(9), ice_lag_config_eswitch(9), ice_netdev_to_lag(9)...
ice_lag_set_swid(9)
NAME ice_lag_set_swid - set the SWID on secondary interface SYNOPSIS void ice_lag_set_swid (u16 primary_swid , struct ice_lag *local_lag , bool link ); ARGUMENTS primary_swid primary interface's SWID local_lag local interfaces LAG struct link Is this a linking activity DESCRIPTION If link is...
ice_lag_unregister(9)
NAME ice_lag_unregister - handle netdev unregister events SYNOPSIS void ice_lag_unregister (struct ice_lag *lag , struct net_device *event_netdev ); ARGUMENTS lag LAG info struct event_netdev netdev struct for target of notifier event SEE ALSO Kernel file ./drivers/net/ethernet/i...
ice_lb_vsi_setup(9)
NAME ice_lb_vsi_setup - Set up a loopback VSI SYNOPSIS struct ice_vsi * ice_lb_vsi_setup (struct ice_pf *pf , struct ice_port_info *pi ); ARGUMENTS pf board private structure pi pointer to the port_info instance DESCRIPTION Returns pointer to the successfully allocated VSI software struct o...
ice_lbtest_check_frame(9)
NAME ice_lbtest_check_frame - verify received loopback frame SYNOPSIS bool ice_lbtest_check_frame (u8 *frame ); ARGUMENTS frame pointer to the raw packet data DESCRIPTION Function verifies received test frame with a pattern. Returns true if frame matches the pattern, false otherwise. SEE ALSO Kernel file ...
ice_lbtest_create_frame(9)
NAME ice_lbtest_create_frame - create test packet SYNOPSIS int ice_lbtest_create_frame (struct ice_pf *pf , u8 **ret_data , u16 size ); ARGUMENTS pf pointer to the PF structure ret_data allocated frame buffer size size of the packet data DESCRIPTION Function allocates a frame with ...
ice_lbtest_disable_rings(9)
NAME ice_lbtest_disable_rings - disable Tx/Rx test rings after loopback test SYNOPSIS int ice_lbtest_disable_rings (struct ice_vsi *vsi ); ARGUMENTS vsi pointer to the VSI structure DESCRIPTION Function stops and frees VSI rings after a loopback test. Returns 0 on success, negative on failure. SEE ALSO Ker...
ice_lbtest_prepare_rings(9)
NAME ice_lbtest_prepare_rings - configure Tx/Rx test rings SYNOPSIS int ice_lbtest_prepare_rings (struct ice_vsi *vsi ); ARGUMENTS vsi pointer to the VSI structure DESCRIPTION Function configures rings of a VSI for loopback test without enabling interrupts or informing the kernel about new queues. Returns 0...
ice_lbtest_receive_frames(9)
NAME ice_lbtest_receive_frames - receive and verify test frames SYNOPSIS int ice_lbtest_receive_frames (struct ice_rx_ring *rx_ring ); ARGUMENTS rx_ring pointer to the receive ring DESCRIPTION Function receives loopback packets and verify their correctness. Returns number of received valid frames. SEE ALSO Ker...
ice_link_event(9)
NAME ice_link_event - process the link event SYNOPSIS int ice_link_event (struct ice_pf *pf , struct ice_port_info *pi , bool link_up , u16 link_speed ); ARGUMENTS pf PF that the link event is associated with pi port_info for the port that the link event is associated with link_up ...
ice_link_test(9)
NAME ice_link_test - perform a link test on a given net_device SYNOPSIS u64 ice_link_test (struct net_device *netdev ); ARGUMENTS netdev network interface device structure DESCRIPTION This function performs one of the self-tests required by ethtool. Returns 0 on success, non-zero on failure. SEE ALSO Kernel ...
ice_linkmode_set_bit(9)
NAME ice_linkmode_set_bit - set link mode bit SYNOPSIS void ice_linkmode_set_bit (const struct ice_phy_type_to_ethtool *phy_to_ethtool , struct ethtool_link_ksettings *ks , u32 req_speeds , u64 advert_phy_type , u32 phy_type ); ARGUMENTS phy_to_ethtool PHY type to ethtool link mode struct to set ks e...
ice_ll_ts_intr(9)
NAME ice_ll_ts_intr - ll_ts interrupt handler SYNOPSIS irqreturn_t ice_ll_ts_intr (int irq , void *data ); ARGUMENTS irq interrupt number data pointer to a q_vector 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_...
ice_lldp_execute_pending_mib(9)
NAME ice_lldp_execute_pending_mib - execute LLDP pending MIB request SYNOPSIS int ice_lldp_execute_pending_mib (struct ice_hw *hw ); ARGUMENTS hw pointer to HW struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_common.c ice_dump_phy_type(9), ice_set_mac_type(9), ice_is_generic_mac(9), ice_clea...
ice_lldp_fltr_add_remove(9)
NAME ice_lldp_fltr_add_remove - add or remove a LLDP Rx switch filter SYNOPSIS int ice_lldp_fltr_add_remove (struct ice_hw *hw , struct ice_vsi *vsi , bool add ); ARGUMENTS hw pointer to HW struct vsi VSI to add the filter to add boolean for if adding or removing a filter RET...
ice_lldp_to_dcb_cfg(9)
NAME ice_lldp_to_dcb_cfg - SYNOPSIS int ice_lldp_to_dcb_cfg (u8 *lldpmib , struct ice_dcbx_cfg *dcbcfg ); ARGUMENTS lldpmib LLDPDU to be parsed dcbcfg store for LLDPDU data DESCRIPTION Parse DCB configuration from the LLDPDU SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_dcb.c ice_...
ice_load(9)
NAME ice_load - load pf by init hw and starting VSI SYNOPSIS int ice_load (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_pending(9), ice...
ice_load_pkg(9)
NAME ice_load_pkg - load/reload the DDP Package file SYNOPSIS void ice_load_pkg (const struct firmware *firmware , struct ice_pf *pf ); ARGUMENTS firmware firmware structure when firmware requested or NULL for reload pf pointer to the PF instance DESCRIPTION Called on probe and post CORER/GLOBR r...
ice_locate_vsi_using_queue(9)
NAME ice_locate_vsi_using_queue - locate VSI using queue (forward to queue action) SYNOPSIS struct ice_vsi * ice_locate_vsi_using_queue (struct ice_vsi *vsi , int queue ); ARGUMENTS vsi Pointer to VSI queue Queue index DESCRIPTION Locate the VSI using specified "queue". When ADQ is not enabled,...
ice_log_pkg_init(9)
NAME ice_log_pkg_init - log result of DDP package load SYNOPSIS void ice_log_pkg_init (struct ice_hw *hw , enum ice_ddp_state state ); ARGUMENTS hw pointer to hardware info state state of package load SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_dev(9), ic...
ice_loopback_test(9)
NAME ice_loopback_test - perform a loopback test on a given net_device SYNOPSIS u64 ice_loopback_test (struct net_device *netdev ); ARGUMENTS netdev network interface device structure DESCRIPTION This function performs one of the self-tests required by ethtool. Returns 0 on success, non-zero on failure. SEE A...
ice_mailbox_init_regs(9)
NAME ice_mailbox_init_regs - Initialize Mailbox registers SYNOPSIS void ice_mailbox_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/ic...
ice_map_ip_ctx_idx(9)
NAME ice_map_ip_ctx_idx - map the index of the IP L4 hash context SYNOPSIS u8 ice_map_ip_ctx_idx (u32 hdrs ); ARGUMENTS hdrs protocol headers prefix with ICE_FLOW_SEG_HDR_XXX. DESCRIPTION The IP L4 hash context use the index to classify for IPv4/IPv6 with ESP/UDP_ESP/AH/PFCP and non-tunnel UDP/TCP/SCTP this f...
ice_map_xdp_rings(9)
NAME ice_map_xdp_rings - Map XDP rings to interrupt vectors SYNOPSIS void ice_map_xdp_rings (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI with XDP rings being configured DESCRIPTION Map XDP rings to interrupt vectors and perform the configuration steps dependent on the mapping. SEE ALSO Kernel file ./dr...
ice_marker_ptype_tcam_handler(9)
NAME ice_marker_ptype_tcam_handler - SYNOPSIS void * ice_marker_ptype_tcam_handler (u32 sect_type , void *section , u32 index , u32 *offset ); ARGUMENTS sect_type section type section pointer to section index index of the Marker PType TCAM entry to be returned offset pointer t...
ice_mask_min_supported_speeds(9)
NAME ice_mask_min_supported_speeds - SYNOPSIS void ice_mask_min_supported_speeds (struct ice_hw *hw , u64 phy_types_high , u64 *phy_types_low ); ARGUMENTS hw pointer to the HW structure phy_types_high PHY type high phy_types_low PHY type low to apply mini...
ice_match_prop_lst(9)
NAME ice_match_prop_lst - determine if properties of two lists match SYNOPSIS bool ice_match_prop_lst (struct list_head *list1 , struct list_head *list2 ); ARGUMENTS list1 first properties list list2 second properties list DESCRIPTION Count, cookies and the order must match in order to be conside...
ice_match_signing_seg(9)
NAME ice_match_signing_seg - determine if a matching signing segment exists SYNOPSIS bool ice_match_signing_seg (struct ice_pkg_hdr *pkg_hdr , u32 seg_id , u32 sign_type ); ARGUMENTS pkg_hdr pointer to package header seg_id segment id that is expected sign_type signing type SEE ALSO Kernel...
ice_max_xdp_frame_size(9)
NAME ice_max_xdp_frame_size - returns the maximum allowed frame size for XDP SYNOPSIS int ice_max_xdp_frame_size (struct ice_vsi *vsi ); ARGUMENTS vsi Pointer to VSI 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_subtas...
ice_maybe_stop_tx(9)
NAME ice_maybe_stop_tx - 1st level check for Tx stop conditions SYNOPSIS int ice_maybe_stop_tx (struct ice_tx_ring *tx_ring , unsigned int size ); ARGUMENTS tx_ring the ring to be checked size the size buffer we want to assure is available DESCRIPTION Returns 0 if stop is not needed SEE ALSO Kern...
ice_mbx_clear_malvf(9)
NAME ice_mbx_clear_malvf - Clear VF mailbox info SYNOPSIS void ice_mbx_clear_malvf (struct ice_mbx_vf_info *vf_info ); ARGUMENTS vf_info the mailbox tracking structure for a VF DESCRIPTION In case of a VF reset, this function shall be called to clear the VF's current mailbox tracking state. SEE ALSO Kernel file...
ice_mbx_detect_malvf(9)
NAME ice_mbx_detect_malvf - Detect malicious VF in snapshot SYNOPSIS int ice_mbx_detect_malvf (struct ice_hw *hw , struct ice_mbx_vf_info *vf_info , enum ice_mbx_snapshot_state *new_state , bool *is_malvf ); ARGUMENTS hw pointer to the HW struct vf_info mailbox tracking structure for a VF ...
ice_mbx_init_snapshot(9)
NAME ice_mbx_init_snapshot - Initialize mailbox snapshot data SYNOPSIS void ice_mbx_init_snapshot (struct ice_hw *hw ); ARGUMENTS hw pointer to the hardware structure DESCRIPTION Clear the mailbox snapshot structure and initialize the VF mailbox list. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/i...
ice_mbx_init_vf_info(9)
NAME ice_mbx_init_vf_info - Initialize a new VF mailbox tracking info SYNOPSIS void ice_mbx_init_vf_info (struct ice_hw *hw , struct ice_mbx_vf_info *vf_info ); ARGUMENTS hw pointer to the hardware structure vf_info the mailbox tracking info structure for a VF DESCRIPTION Initialize a VF mailbox...
ice_mbx_reset_snapshot(9)
NAME ice_mbx_reset_snapshot - Reset mailbox snapshot structure SYNOPSIS void ice_mbx_reset_snapshot (struct ice_mbx_snapshot *snap ); ARGUMENTS snap pointer to the mailbox snapshot SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_vf_mbx.c ice_aq_send_msg_to_vf(9), ice_conv_link_speed_...
ice_mbx_traverse(9)
NAME ice_mbx_traverse - Pass through mailbox snapshot SYNOPSIS void ice_mbx_traverse (struct ice_hw *hw , enum ice_mbx_snapshot_state *new_state ); ARGUMENTS hw pointer to the HW struct new_state new algorithm state DESCRIPTION Traversing the mailbox static snapshot without checking for malicious ...
ice_mbx_vf_clear_cnt_e830(9)
NAME ice_mbx_vf_clear_cnt_e830 - Clear the VF mailbox queue count SYNOPSIS void ice_mbx_vf_clear_cnt_e830 (const struct ice_hw *hw , u16 vf_id ); ARGUMENTS hw pointer to the HW struct vf_id VF ID in the PF space DESCRIPTION This function clears the counter MBX_VF_IN_FLIGHT_MSGS_AT_PF_CNT, and ...
ice_mbx_vf_dec_trig_e830(9)
NAME ice_mbx_vf_dec_trig_e830 - Decrements the VF mailbox queue counter SYNOPSIS void ice_mbx_vf_dec_trig_e830 (const struct ice_hw *hw , const struct ice_rq_event_info *event ); ARGUMENTS hw pointer to the HW struct event pointer to the control queue receive event DESCRIPTION This function tr...
ice_mbx_vf_state_handler(9)
NAME ice_mbx_vf_state_handler - Handle states of the overflow algorithm SYNOPSIS int ice_mbx_vf_state_handler (struct ice_hw *hw , struct ice_mbx_data *mbx_data , struct ice_mbx_vf_info *vf_info , bool *report_malvf ); ARGUMENTS hw pointer to the HW struct mbx_data pointer to structure containing ...
ice_mdd_maybe_reset_vf(9)
NAME ice_mdd_maybe_reset_vf - reset VF after MDD event SYNOPSIS void ice_mdd_maybe_reset_vf (struct ice_pf *pf , struct ice_vf *vf , bool reset_vf_tx , bool reset_vf_rx ); ARGUMENTS pf pointer to the PF structure vf pointer to the VF structure reset_vf_tx whether Tx MDD has occurred ...
ice_metainit_dump(9)
NAME ice_metainit_dump - dump an metainit item info SYNOPSIS void ice_metainit_dump (struct ice_hw *hw , struct ice_metainit_item *item ); ARGUMENTS hw pointer to the hardware structure item metainit item to dump SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_parser.c ice_parser_se...
ice_metainit_parse_item(9)
NAME ice_metainit_parse_item - parse 192 bits of Metadata Init entry SYNOPSIS void ice_metainit_parse_item (struct ice_hw *hw , u16 idx , void *item , void *data , int __maybe_unused size ); ARGUMENTS hw pointer to the hardware structure idx index of Metadata Init entry item it...
ice_metainit_table_get(9)
NAME ice_metainit_table_get - create a metainit table SYNOPSIS struct ice_metainit_item * ice_metainit_table_get (struct ice_hw *hw ); ARGUMENTS hw pointer to the hardware structure RETURN a pointer to the allocated Metadata initialization table. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_pa...
ice_min_tx_rate_oversubscribed(9)
NAME ice_min_tx_rate_oversubscribed - check if min Tx rate causes oversubscription SYNOPSIS bool ice_min_tx_rate_oversubscribed (struct ice_vf *vf , int min_tx_rate ); ARGUMENTS vf VF trying to configure min_tx_rate min_tx_rate min Tx rate in Mbps DESCRIPTION Check if the min_tx_rate being passed in...
ice_misc_intr(9)
NAME ice_misc_intr - misc interrupt handler SYNOPSIS irqreturn_t ice_misc_intr (int irq , void *data ); ARGUMENTS irq interrupt number data pointer to a q_vector 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_han...
ice_misc_intr_thread_fn(9)
NAME ice_misc_intr_thread_fn - misc interrupt thread function SYNOPSIS irqreturn_t ice_misc_intr_thread_fn (int irq , void *data ); ARGUMENTS irq interrupt number data pointer to a q_vector SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_dev(9), ice_get_tx_pe...
ice_mk_grp_dump(9)
NAME ice_mk_grp_dump - dump an marker group item info SYNOPSIS void ice_mk_grp_dump (struct ice_hw *hw , struct ice_mk_grp_item *item ); ARGUMENTS hw pointer to the hardware structure item marker group item to dump SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_parser.c ice_parser_...
ice_mk_grp_table_get(9)
NAME ice_mk_grp_table_get - create a marker group table SYNOPSIS struct ice_mk_grp_item * ice_mk_grp_table_get (struct ice_hw *hw ); ARGUMENTS hw pointer to the hardware structure RETURN a pointer to the allocated Marker Group ID table. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_parser.c ice...
ice_module_exit(9)
NAME ice_module_exit - Driver exit cleanup routine SYNOPSIS void ice_module_exit (void ); ARGUMENTS void no arguments DESCRIPTION ice_module_exit is called just before the driver is removed from memory. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_dev(9), ice_get_tx_pend...
ice_module_init(9)
NAME ice_module_init - Driver registration routine SYNOPSIS int ice_module_init (void ); ARGUMENTS void no arguments DESCRIPTION ice_module_init is the first routine called when the driver is loaded. All it does is register with the PCI subsystem. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice...
ice_move_all_vsi_to_dflt_agg(9)
NAME ice_move_all_vsi_to_dflt_agg - move all VSI(s) to default aggregator SYNOPSIS int ice_move_all_vsi_to_dflt_agg (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 info tc tra...
ice_move_vsi(9)
NAME ice_move_vsi - move VSI to another VSIG SYNOPSIS int ice_move_vsi (struct ice_hw *hw , enum ice_block blk , u16 vsi , u16 vsig , struct list_head *chg ); ARGUMENTS hw pointer to the HW struct blk hardware block vsi the VSI to move vsig the VSIG to move the ...
ice_move_vsi_to_agg(9)
NAME ice_move_vsi_to_agg - moves VSI to new or default aggregator SYNOPSIS int ice_move_vsi_to_agg (struct ice_port_info *pi , u32 agg_id , u16 vsi_handle , u8 tc_bitmap ); ARGUMENTS pi port information structure agg_id aggregator ID vsi_handle software VSI handle tc_bitmap TC...
ice_msix_clean_ctrl_vsi(9)
NAME ice_msix_clean_ctrl_vsi - MSIX mode interrupt handler for ctrl VSI SYNOPSIS irqreturn_t ice_msix_clean_ctrl_vsi (int irq , void *data ); ARGUMENTS irq interrupt number data pointer to a q_vector SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_type_str(9), ...
ice_msix_clean_rings(9)
NAME ice_msix_clean_rings - MSIX mode Interrupt Handler SYNOPSIS irqreturn_t ice_msix_clean_rings (int irq , void *data ); ARGUMENTS irq interrupt number data pointer to a q_vector SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_type_str(9), ice_vsi_ctrl_all...
ice_napi_add(9)
NAME ice_napi_add - register NAPI handler for the VSI SYNOPSIS void ice_napi_add (struct ice_vsi *vsi ); ARGUMENTS vsi VSI for which NAPI handler is to be registered DESCRIPTION This function is only called in the driver's load path. Registering the NAPI handler is done in ice_vsi_alloc_q_vector for all othe...
ice_napi_disable_all(9)
NAME ice_napi_disable_all - Disable NAPI for all q_vectors in the VSI SYNOPSIS void ice_napi_disable_all (struct ice_vsi *vsi ); ARGUMENTS vsi VSI having NAPI disabled 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...
ice_napi_enable_all(9)
NAME ice_napi_enable_all - Enable NAPI for all q_vectors in the VSI SYNOPSIS void ice_napi_enable_all (struct ice_vsi *vsi ); ARGUMENTS vsi the 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_napi_poll(9)
NAME ice_napi_poll - NAPI polling Rx/Tx cleanup routine SYNOPSIS int ice_napi_poll (struct napi_struct *napi , int budget ); ARGUMENTS napi napi struct with our devices info in it budget amount of work driver is allowed to do this pass, in packets DESCRIPTION This function will clean all queues a...
ice_nearest_proto_id(9)
NAME ice_nearest_proto_id - find nearest protocol ID SYNOPSIS bool ice_nearest_proto_id (struct ice_parser_result *rslt , u16 offset , u8 *proto_id , u16 *proto_off ); ARGUMENTS rslt pointer to a parser result instance offset a min value for the protocol offset proto_id the protocol ID ...
ice_net_dim(9)
NAME ice_net_dim - Update net DIM algorithm SYNOPSIS void ice_net_dim (struct ice_q_vector *q_vector ); ARGUMENTS q_vector the vector associated with the interrupt DESCRIPTION Create a DIM sample and notify net_dim so that it can possibly decide a new ITR value based on incoming packets, bytes, and interrupts. T...
ice_netdev_to_lag(9)
NAME ice_netdev_to_lag - return pointer to associated lag struct from netdev SYNOPSIS struct ice_lag * ice_netdev_to_lag (struct net_device *netdev ); ARGUMENTS netdev pointer to net_device struct to query SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lag.c ice_lag_set_primary(9), ice_lag_se...
ice_netdev_to_pf(9)
NAME ice_netdev_to_pf - Retrieve the PF struct associated with a netdev SYNOPSIS struct ice_pf * ice_netdev_to_pf (struct net_device *netdev ); ARGUMENTS netdev pointer to the netdev struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice.h ice_vector_ch_enabled(9), ice_ptp_pf_handles_tx_inter...
ice_netdev_to_repr(9)
NAME ice_netdev_to_repr - Get port representor for given netdevice SYNOPSIS struct ice_repr * ice_netdev_to_repr (const struct net_device *netdev ); ARGUMENTS netdev pointer to port representor netdev SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_repr.c ice_repr_inc_tx_stats(9), ice_repr_inc_rx_sta...
ice_notify_vf_reset(9)
NAME ice_notify_vf_reset - Notify VF of a reset event SYNOPSIS void ice_notify_vf_reset (struct ice_vf *vf ); ARGUMENTS vf pointer to the VF structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_vf_lib.c ice_get_vf_by_id(9), ice_release_vf(9), ice_put_vf(9), ice_has_vfs(9), ice_get_num_v...
ice_nvm_validate_checksum(9)
NAME ice_nvm_validate_checksum - SYNOPSIS int ice_nvm_validate_checksum (struct ice_hw *hw ); ARGUMENTS hw pointer to the HW struct DESCRIPTION Verify NVM PFA checksum validity (0x0706) SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_nvm.c ice_aq_read_nvm(9), ice_read_flat_nvm(9), ice_a...
ice_nvm_write_activate(9)
NAME ice_nvm_write_activate - SYNOPSIS int ice_nvm_write_activate (struct ice_hw *hw , u16 cmd_flags , u8 *response_flags ); ARGUMENTS hw pointer to the HW struct cmd_flags flags for write activate command response_flags response indicators from firmware DESCRIPTION Upda...
ice_nway_reset(9)
NAME ice_nway_reset - restart autonegotiation SYNOPSIS int ice_nway_reset (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_muxed(9), ice_get_port_topology(9),...
ice_offload_txtime(9)
NAME ice_offload_txtime - set earliest TxTime first SYNOPSIS int ice_offload_txtime (struct net_device *netdev , void *qopt_off ); ARGUMENTS netdev network interface device structure qopt_off etf queue option offload from the skb to set RETURN 0 on success, negative value on failure. SEE ALSO Kernel...
ice_op_pci_match_record(9)
NAME ice_op_pci_match_record - Check if a PCI device matches the record SYNOPSIS bool ice_op_pci_match_record (struct pldmfw *context , struct pldmfw_record *record ); ARGUMENTS context PLDM fw update structure record list of records extracted from the PLDM image DESCRIPTION Determine if the PCI ...
ice_open(9)
NAME ice_open - Called when a network interface becomes active SYNOPSIS int ice_open (struct net_device *netdev ); ARGUMENTS netdev network interface device structure DESCRIPTION The open entry point is called when a network interface is made active by the system (IFF_UP). At this point all resources needed for...
ice_open_internal(9)
NAME ice_open_internal - Called when a network interface becomes active SYNOPSIS int ice_open_internal (struct net_device *netdev ); ARGUMENTS netdev network interface device structure DESCRIPTION Internal ice_open implementation. Should not be used directly except for ice_open and reset handling routine Return...