id
stringlengths
4
63
text
stringlengths
153
8.81M
ice_pkg_buf_alloc_single_section(9)
NAME ice_pkg_buf_alloc_single_section - SYNOPSIS struct ice_buf_build * ice_pkg_buf_alloc_single_section (struct ice_hw *hw , u32 type , u16 size , void **section ); ARGUMENTS hw pointer to the HW structure type the section type value size the size of the section to reserve (in ...
ice_pkg_buf_free(9)
NAME ice_pkg_buf_free - SYNOPSIS void ice_pkg_buf_free (struct ice_hw *hw , struct ice_buf_build *bld ); ARGUMENTS hw pointer to the HW structure bld pointer to pkg build (allocated by ice_pkg_buf_alloc) DESCRIPTION Frees a package buffer SEE ALSO Kernel file ./drivers/net/ethernet/intel/ic...
ice_pkg_buf_get_active_sections(9)
NAME ice_pkg_buf_get_active_sections - SYNOPSIS u16 ice_pkg_buf_get_active_sections (struct ice_buf_build *bld ); ARGUMENTS bld pointer to pkg build (allocated by ice_pkg_buf_alloc) DESCRIPTION Returns the number of active sections. Before using the package buffer in an update package command, the caller ...
ice_pkg_buf_reserve_section(9)
NAME ice_pkg_buf_reserve_section - SYNOPSIS int ice_pkg_buf_reserve_section (struct ice_buf_build *bld , u16 count ); ARGUMENTS bld pointer to pkg build (allocated by ice_pkg_buf_alloc) count the number of sections to reserve DESCRIPTION Reserves one or more section table entries in a package...
ice_pkg_enum_buf(9)
NAME ice_pkg_enum_buf - SYNOPSIS const struct ice_buf_hdr * ice_pkg_enum_buf (struct ice_seg *ice_seg , struct ice_pkg_enum *state ); ARGUMENTS ice_seg pointer to the ice segment (or NULL on subsequent calls) state pointer to the enum state DESCRIPTION This function will enumerate all the buffers...
ice_pkg_enum_entry(9)
NAME ice_pkg_enum_entry - SYNOPSIS void * ice_pkg_enum_entry (struct ice_seg *ice_seg , struct ice_pkg_enum *state , u32 sect_type , u32 *offset , void *(*handler)(u32 sect_type, void *section, u32 index, u32 *offset) ); ARGUMENTS ice_seg pointer to the ice segment (or NULL on subsequent calls) state ...
ice_pkg_enum_section(9)
NAME ice_pkg_enum_section - SYNOPSIS void * ice_pkg_enum_section (struct ice_seg *ice_seg , struct ice_pkg_enum *state , u32 sect_type ); ARGUMENTS ice_seg pointer to the ice segment (or NULL on subsequent calls) state pointer to the enum state sect_type section type to enumerate DESCRIPT...
ice_pkg_get_supported_vlan_mode(9)
NAME ice_pkg_get_supported_vlan_mode - determine if DDP supports Double VLAN mode SYNOPSIS int ice_pkg_get_supported_vlan_mode (struct ice_hw *hw , bool *dvm ); ARGUMENTS hw pointer to the HW struct dvm output variable to determine if DDP supports DVM(true) or SVM(false) SEE ALSO Kernel file...
ice_pkg_has_lport_extract(9)
NAME ice_pkg_has_lport_extract - check if lport extraction supported SYNOPSIS bool ice_pkg_has_lport_extract (struct ice_hw *hw ); ARGUMENTS hw HW 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_eswi...
ice_pkg_supports_dvm(9)
NAME ice_pkg_supports_dvm - find out if DDP supports DVM SYNOPSIS bool ice_pkg_supports_dvm (struct ice_hw *hw ); ARGUMENTS hw pointer to the HW 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_is_dvm_...
ice_pkg_val_buf(9)
NAME ice_pkg_val_buf - SYNOPSIS const struct ice_buf_hdr * ice_pkg_val_buf (const struct ice_buf *buf ); ARGUMENTS buf pointer to the ice buffer DESCRIPTION This helper function validates a buffer's header. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ddp.c ice_verify_pkg(9), ice_free_seg(9...
ice_pkt_insert_ipv6_addr(9)
NAME ice_pkt_insert_ipv6_addr - insert a be32 IPv6 address into a memory buffer SYNOPSIS void ice_pkt_insert_ipv6_addr (u8 *pkt , int offset , __be32 *addr ); ARGUMENTS pkt packet buffer offset offset into buffer addr IPv6 address to convert and insert into pkt at offset SEE ALSO ...
ice_pkt_insert_mac_addr(9)
NAME ice_pkt_insert_mac_addr - insert a MAC addr into a memory buffer. SYNOPSIS void ice_pkt_insert_mac_addr (u8 *pkt , u8 *addr ); ARGUMENTS pkt packet buffer addr MAC address to convert and insert into pkt at offset SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_fdir.c ice_set_dfl...
ice_pkt_insert_u16(9)
NAME ice_pkt_insert_u16 - insert a be16 value into a memory buffer SYNOPSIS void ice_pkt_insert_u16 (u8 *pkt , int offset , __be16 data ); ARGUMENTS pkt packet buffer offset offset into buffer data 16 bit value to convert and insert into pkt at offset SEE ALSO Kernel file ./driver...
ice_pkt_insert_u32(9)
NAME ice_pkt_insert_u32 - insert a be32 value into a memory buffer SYNOPSIS void ice_pkt_insert_u32 (u8 *pkt , int offset , __be32 data ); ARGUMENTS pkt packet buffer offset offset into buffer data 32 bit value to convert and insert into pkt at offset SEE ALSO Kernel file ./driver...
ice_pkt_insert_u6_qfi(9)
NAME ice_pkt_insert_u6_qfi - insert a u6 value QFI into a memory buffer for GTPU SYNOPSIS void ice_pkt_insert_u6_qfi (u8 *pkt , int offset , u8 data ); ARGUMENTS pkt packet buffer offset offset into buffer data 8 bit value to convert and insert into pkt at offset DESCRIPTION This ...
ice_pkt_insert_u8(9)
NAME ice_pkt_insert_u8 - insert a u8 value into a memory buffer. SYNOPSIS void ice_pkt_insert_u8 (u8 *pkt , int offset , u8 data ); ARGUMENTS pkt packet buffer offset offset into buffer data 8 bit value to convert and insert into pkt at offset SEE ALSO Kernel file ./drivers/net/et...
ice_pkt_insert_u8_tc(9)
NAME ice_pkt_insert_u8_tc - insert a u8 value into a memory buffer for TC ipv6. SYNOPSIS void ice_pkt_insert_u8_tc (u8 *pkt , int offset , u8 data ); ARGUMENTS pkt packet buffer offset offset into buffer data 8 bit value to convert and insert into pkt at offset DESCRIPTION This f...
ice_plug_aux_dev(9)
NAME ice_plug_aux_dev - allocate and register AUX device SYNOPSIS int ice_plug_aux_dev (struct ice_pf *pf ); ARGUMENTS pf pointer to pf struct RETURN Zero on success, error code on failure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_idc.c ice_get_auxiliary_drv(9), ice_send_event_to_aux(9)...
ice_post_dwnld_pkg_actions(9)
NAME ice_post_dwnld_pkg_actions - perform post download package actions SYNOPSIS enum ice_ddp_state ice_post_dwnld_pkg_actions (struct ice_hw *hw ); ARGUMENTS hw pointer to the hardware structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ddp.c ice_verify_pkg(9), ice_free_seg(9), ice_chk_pkg_...
ice_post_pkg_dwnld_vlan_mode_cfg(9)
NAME ice_post_pkg_dwnld_vlan_mode_cfg - configure VLAN mode after DDP download SYNOPSIS void ice_post_pkg_dwnld_vlan_mode_cfg (struct ice_hw *hw ); ARGUMENTS hw pointer to the HW structure DESCRIPTION This function is meant to configure any VLAN mode specific functionality after the global configuratio...
ice_prep_adq_filter(9)
NAME ice_prep_adq_filter - Prepare ADQ filter with the required additional headers SYNOPSIS int ice_prep_adq_filter (struct ice_vsi *vsi , struct ice_tc_flower_fltr *fltr ); ARGUMENTS vsi Pointer to VSI fltr Pointer to TC flower filter structure DESCRIPTION Prepare ADQ filter with the required...
ice_prepare_for_reset(9)
NAME ice_prepare_for_reset - prep for reset SYNOPSIS void ice_prepare_for_reset (struct ice_pf *pf , enum ice_reset_req reset_type ); ARGUMENTS pf board private structure reset_type reset type requested DESCRIPTION Inform or close all dependent features in prep for reset. SEE ALSO Kernel file ...
ice_prepare_for_shutdown(9)
NAME ice_prepare_for_shutdown - prep for PCI shutdown SYNOPSIS void ice_prepare_for_shutdown (struct ice_pf *pf ); ARGUMENTS pf board private structure DESCRIPTION Inform or close all dependent features in prep for PCI device shutdown SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c i...
ice_prepare_xdp_rings(9)
NAME ice_prepare_xdp_rings - Allocate, configure and setup Tx rings for XDP SYNOPSIS int ice_prepare_xdp_rings (struct ice_vsi *vsi , struct bpf_prog *prog , enum ice_xdp_cfg cfg_type ); ARGUMENTS vsi VSI to bring up Tx rings used by XDP prog bpf program that will be assigned to VSI cfg...
ice_prgm_fdir_fltr(9)
NAME ice_prgm_fdir_fltr - Program a Flow Director filter SYNOPSIS int ice_prgm_fdir_fltr (struct ice_vsi *vsi , struct ice_fltr_desc *fdir_desc , u8 *raw_packet ); ARGUMENTS vsi VSI to send dummy packet fdir_desc flow director descriptor raw_packet allocated buffer for flow director SEE AL...
ice_print_dvm_not_supported(9)
NAME ice_print_dvm_not_supported - print if DDP and/or FW doesn't support DVM SYNOPSIS void ice_print_dvm_not_supported (struct ice_hw *hw ); ARGUMENTS hw pointer to the HW structure DESCRIPTION The purpose of this function is to print that QinQ is not supported due to incompatibilty from the DDP and/or FW...
ice_print_if_odd_usecs(9)
NAME ice_print_if_odd_usecs - print message if user tries to set odd [tx|rx]-usecs SYNOPSIS void ice_print_if_odd_usecs (struct net_device *netdev , u16 itr_setting , u32 use_adaptive_coalesce , u32 coalesce_usecs , const char *c_type_str ); ARGUMENTS netdev netdev used for print itr_setting previous use...
ice_print_link_msg(9)
NAME ice_print_link_msg - print link up or down message SYNOPSIS void ice_print_link_msg (struct ice_vsi *vsi , bool isup ); ARGUMENTS vsi the VSI whose link status is being queried isup boolean for if the link is now up or down SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_mai...
ice_print_topo_conflict(9)
NAME ice_print_topo_conflict - print topology conflict message SYNOPSIS void ice_print_topo_conflict (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI whose topology status is being checked SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_dev(9), ice_get_tx_pending(9), ice_chec...
ice_print_vf_rx_mdd_event(9)
NAME ice_print_vf_rx_mdd_event - print VF Rx malicious driver detect event SYNOPSIS void ice_print_vf_rx_mdd_event (struct ice_vf *vf ); ARGUMENTS vf pointer to the VF structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_sriov.c ice_free_vf_entries(9), ice_free_vf_res(9), ice_dis_vf_mappi...
ice_print_vf_tx_mdd_event(9)
NAME ice_print_vf_tx_mdd_event - print VF Tx malicious driver detect event SYNOPSIS void ice_print_vf_tx_mdd_event (struct ice_vf *vf ); ARGUMENTS vf pointer to the VF structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_sriov.c ice_free_vf_entries(9), ice_free_vf_res(9), ice_dis_vf_mappi...
ice_print_vfs_mdd_events(9)
NAME ice_print_vfs_mdd_events - print VFs malicious driver detect event SYNOPSIS void ice_print_vfs_mdd_events (struct ice_pf *pf ); ARGUMENTS pf pointer to the PF structure DESCRIPTION Called from ice_handle_mdd_event to rate limit and print VFs MDD events. SEE ALSO Kernel file ./drivers/net/ethernet/in...
ice_print_wake_reason(9)
NAME ice_print_wake_reason - show the wake up cause in the log SYNOPSIS void ice_print_wake_reason (struct ice_pf *pf ); ARGUMENTS pf pointer to 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_subtask(9), ic...
ice_probe(9)
NAME ice_probe - Device initialization routine SYNOPSIS int ice_probe (struct pci_dev *pdev , const struct pci_device_id *ent ); ARGUMENTS pdev PCI device information struct ent entry in ice_pci_tbl DESCRIPTION Returns 0 on success, negative on failure SEE ALSO Kernel file ./drivers/net/e...
ice_process_health_status_event(9)
NAME ice_process_health_status_event - Process the health status event from FW SYNOPSIS void ice_process_health_status_event (struct ice_pf *pf , struct ice_rq_event_info *event ); ARGUMENTS pf pointer to the PF structure event event structure containing the Health Status Event opcode DESCRIPT...
ice_process_skb_fields(9)
NAME ice_process_skb_fields - Populate skb header fields from Rx descriptor SYNOPSIS void ice_process_skb_fields (struct ice_rx_ring *rx_ring , union ice_32b_rx_flex_desc *rx_desc , struct sk_buff *skb ); ARGUMENTS rx_ring Rx descriptor ring packet is being transacted on rx_desc pointer to the EOP Rx ...
ice_process_vflr_event(9)
NAME ice_process_vflr_event - Free VF resources via IRQ calls SYNOPSIS void ice_process_vflr_event (struct ice_pf *pf ); ARGUMENTS pf pointer to the PF structure DESCRIPTION called from the VFLR IRQ handler to free up VF resources and state variables SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/...
ice_prof_bld_es(9)
NAME ice_prof_bld_es - build profile ID extraction sequence changes SYNOPSIS int ice_prof_bld_es (struct ice_hw *hw , enum ice_block blk , struct ice_buf_build *bld , struct list_head *chgs ); ARGUMENTS hw pointer to the HW struct blk hardware block bld the update package buff...
ice_prof_bld_tcam(9)
NAME ice_prof_bld_tcam - build profile ID TCAM changes SYNOPSIS int ice_prof_bld_tcam (struct ice_hw *hw , enum ice_block blk , struct ice_buf_build *bld , struct list_head *chgs ); ARGUMENTS hw pointer to the HW struct blk hardware block bld the update package buffer build to...
ice_prof_bld_xlt1(9)
NAME ice_prof_bld_xlt1 - build XLT1 changes SYNOPSIS int ice_prof_bld_xlt1 (enum ice_block blk , struct ice_buf_build *bld , struct list_head *chgs ); ARGUMENTS blk hardware block bld the update package buffer build to add to chgs the list of changes to make in hardware SEE ALS...
ice_prof_bld_xlt2(9)
NAME ice_prof_bld_xlt2 - build XLT2 changes SYNOPSIS int ice_prof_bld_xlt2 (enum ice_block blk , struct ice_buf_build *bld , struct list_head *chgs ); ARGUMENTS blk hardware block bld the update package buffer build to add to chgs the list of changes to make in hardware SEE ALS...
ice_prof_dec_ref(9)
NAME ice_prof_dec_ref - decrement reference count for profile SYNOPSIS int ice_prof_dec_ref (struct ice_hw *hw , enum ice_block blk , u8 prof_id ); ARGUMENTS hw pointer to the HW struct blk the block from which to free the profile ID prof_id the profile ID for which to decrement t...
ice_prof_gen_key(9)
NAME ice_prof_gen_key - generate profile ID key SYNOPSIS int ice_prof_gen_key (struct ice_hw *hw , enum ice_block blk , 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] , u8 key[ICE_TCAM_KEY_SZ] ); ARGUMENTS hw pointer ...
ice_prof_has_mask(9)
NAME ice_prof_has_mask - determine if profile masking is identical SYNOPSIS bool ice_prof_has_mask (struct ice_hw *hw , enum ice_block blk , u8 prof , u16 *masks ); ARGUMENTS hw pointer to the hardware structure blk HW block prof profile to check masks masks to ma...
ice_prof_has_mask_idx(9)
NAME ice_prof_has_mask_idx - determine if profile index masking is identical SYNOPSIS bool ice_prof_has_mask_idx (struct ice_hw *hw , enum ice_block blk , u8 prof , u16 idx , u16 mask ); ARGUMENTS hw pointer to the hardware structure blk HW block prof profile to check i...
ice_prof_id_rsrc_type(9)
NAME ice_prof_id_rsrc_type - get profile ID resource type for a block type SYNOPSIS bool ice_prof_id_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/ice...
ice_prof_inc_ref(9)
NAME ice_prof_inc_ref - increment reference count for profile SYNOPSIS int ice_prof_inc_ref (struct ice_hw *hw , enum ice_block blk , u8 prof_id ); ARGUMENTS hw pointer to the HW struct blk the block from which to free the profile ID prof_id the profile ID for which to increment t...
ice_prof_tcam_ena_dis(9)
NAME ice_prof_tcam_ena_dis - add enable or disable TCAM change SYNOPSIS int ice_prof_tcam_ena_dis (struct ice_hw *hw , enum ice_block blk , bool enable , u16 vsig , struct ice_tcam_inf *tcam , struct list_head *chg ); ARGUMENTS hw pointer to the HW struct blk hardware block enable ...
ice_prot_type_to_id(9)
NAME ice_prot_type_to_id - get protocol ID from protocol type SYNOPSIS bool ice_prot_type_to_id (enum ice_protocol_type type , u8 *id ); ARGUMENTS type protocol type id pointer to variable that will receive the ID DESCRIPTION Returns true if found, false otherwise SEE ALSO Kernel file ./...
ice_proto_grp_dump(9)
NAME ice_proto_grp_dump - dump a proto group item info SYNOPSIS void ice_proto_grp_dump (struct ice_hw *hw , struct ice_proto_grp_item *item ); ARGUMENTS hw pointer to the hardware structure item proto group item to dump SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_parser.c ice_p...
ice_proto_grp_parse_item(9)
NAME ice_proto_grp_parse_item - parse 192 bits of Protocol Group Table entry SYNOPSIS void ice_proto_grp_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 Protocol Group Table entry ...
ice_proto_grp_table_get(9)
NAME ice_proto_grp_table_get - create a proto group table SYNOPSIS struct ice_proto_grp_item * ice_proto_grp_table_get (struct ice_hw *hw ); ARGUMENTS hw pointer to the hardware structure RETURN a pointer to the allocated Protocol Group table. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_p...
ice_proto_off_parse(9)
NAME ice_proto_off_parse - parse 22 bits of Protocol entry SYNOPSIS void ice_proto_off_parse (struct ice_proto_off *po , u32 data ); ARGUMENTS po pointer to the Protocol entry structure data Protocol entry data to be parsed SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_parser.c ic...
ice_ptg_add_mv_ptype(9)
NAME ice_ptg_add_mv_ptype - Adds/moves ptype to a particular packet type group SYNOPSIS int ice_ptg_add_mv_ptype (struct ice_hw *hw , enum ice_block blk , u16 ptype , u8 ptg ); ARGUMENTS hw pointer to the hardware structure blk HW block ptype the ptype to add or move ptg...
ice_ptg_alloc_val(9)
NAME ice_ptg_alloc_val - Allocates a new packet type group ID by value SYNOPSIS void ice_ptg_alloc_val (struct ice_hw *hw , enum ice_block blk , u8 ptg ); ARGUMENTS hw pointer to the hardware structure blk HW block ptg the PTG to allocate DESCRIPTION This function allocates a...
ice_ptg_attr_in_use(9)
NAME ice_ptg_attr_in_use - determine if PTG and attribute pair is in use SYNOPSIS bool ice_ptg_attr_in_use (struct ice_tcam_inf *ptg_attr , unsigned long *ptgs_used , struct ice_tcam_inf *attr_used[] , u16 attr_cnt ); ARGUMENTS ptg_attr pointer to the PTG and attribute pair to check ptgs_used bitmap that...
ice_ptg_find_ptype(9)
NAME ice_ptg_find_ptype - Search for packet type group using packet type (ptype) SYNOPSIS int ice_ptg_find_ptype (struct ice_hw *hw , enum ice_block blk , u16 ptype , u8 *ptg ); ARGUMENTS hw pointer to the hardware structure blk HW block ptype the ptype to search for ptg...
ice_ptg_remove_ptype(9)
NAME ice_ptg_remove_ptype - Removes ptype from a particular packet type group SYNOPSIS int ice_ptg_remove_ptype (struct ice_hw *hw , enum ice_block blk , u16 ptype , u8 ptg ); ARGUMENTS hw pointer to the hardware structure blk HW block ptype the ptype to remove ptg ...
ice_ptp_adj_clock(9)
NAME ice_ptp_adj_clock - Adjust PHC clock time atomically SYNOPSIS int ice_ptp_adj_clock (struct ice_hw *hw , s32 adj ); ARGUMENTS hw pointer to HW struct adj Adjustment in nanoseconds DESCRIPTION Perform an atomic adjustment of the PHC time by the specified number of nanoseconds. This requi...
ice_ptp_adjfine(9)
NAME ice_ptp_adjfine - Adjust clock increment rate SYNOPSIS int ice_ptp_adjfine (struct ptp_clock_info *info , long scaled_ppm ); ARGUMENTS info the driver's PTP info structure scaled_ppm Parts per million with 16-bit fractional field DESCRIPTION Adjust the frequency of the clock by the indicated sca...
ice_ptp_adjtime(9)
NAME ice_ptp_adjtime - Adjust the time of the clock by the indicated delta SYNOPSIS int ice_ptp_adjtime (struct ptp_clock_info *info , s64 delta ); ARGUMENTS info the driver's PTP info structure delta Offset in nanoseconds to adjust the time by SEE ALSO Kernel file ./drivers/net/ethernet/i...
ice_ptp_adjtime_nonatomic(9)
NAME ice_ptp_adjtime_nonatomic - Do a non-atomic clock adjustment SYNOPSIS int ice_ptp_adjtime_nonatomic (struct ptp_clock_info *info , s64 delta ); ARGUMENTS info the driver's PTP info structure delta Offset in nanoseconds to adjust the time by SEE ALSO Kernel file ./drivers/net/ethernet/...
ice_ptp_alloc_tx_tracker(9)
NAME ice_ptp_alloc_tx_tracker - Initialize tracking for Tx timestamps SYNOPSIS int ice_ptp_alloc_tx_tracker (struct ice_ptp_tx *tx ); ARGUMENTS tx Tx tracking structure to initialize DESCRIPTION Assumes that the length has already been initialized. Do not call directly, use the ice_ptp_init_tx_* instead. S...
ice_ptp_calc_bitslip_eth56g(9)
NAME ice_ptp_calc_bitslip_eth56g - Calculate bitslip value SYNOPSIS u32 ice_ptp_calc_bitslip_eth56g (struct ice_hw *hw , u8 port , u32 bs , bool fc , bool rs , enum ice_eth56g_link_spd spd ); ARGUMENTS hw pointer to the HW struct port port to configure bs bitslip multiplier ...
ice_ptp_calc_deskew_eth56g(9)
NAME ice_ptp_calc_deskew_eth56g - Calculate deskew value SYNOPSIS u32 ice_ptp_calc_deskew_eth56g (struct ice_hw *hw , u8 port , u32 ds , bool rs , enum ice_eth56g_link_spd spd ); ARGUMENTS hw pointer to the HW struct port port to configure ds deskew multiplier rs ...
ice_ptp_cfg_extts(9)
NAME ice_ptp_cfg_extts - Configure EXTTS pin and channel SYNOPSIS int ice_ptp_cfg_extts (struct ice_pf *pf , struct ptp_extts_request *rq , int on ); ARGUMENTS pf Board private structure rq External timestamp request on Enable/disable flag DESCRIPTION Configure an external ...
ice_ptp_cfg_perout(9)
NAME ice_ptp_cfg_perout - Configure clock to generate periodic wave SYNOPSIS int ice_ptp_cfg_perout (struct ice_pf *pf , struct ptp_perout_request *rq , int on ); ARGUMENTS pf Board private structure rq Periodic output request on Enable/disable flag DESCRIPTION Configure th...
ice_ptp_cfg_phy_interrupt(9)
NAME ice_ptp_cfg_phy_interrupt - Configure PHY interrupt settings SYNOPSIS int ice_ptp_cfg_phy_interrupt (struct ice_pf *pf , bool ena , u32 threshold ); ARGUMENTS pf PF private structure ena bool value to enable or disable interrupt threshold Minimum number of packets at which intr...
ice_ptp_cfg_sync_delay(9)
NAME ice_ptp_cfg_sync_delay - Configure PHC to PHY synchronization delay SYNOPSIS void ice_ptp_cfg_sync_delay (const struct ice_hw *hw , u32 delay ); ARGUMENTS hw pointer to HW struct delay delay between PHC and PHY SYNC command execution in nanoseconds SEE ALSO Kernel file ./drivers/net...
ice_ptp_cfg_tx_interrupt(9)
NAME ice_ptp_cfg_tx_interrupt - Configure Tx timestamp interrupt for the device SYNOPSIS void ice_ptp_cfg_tx_interrupt (struct ice_pf *pf ); ARGUMENTS pf Board private structure DESCRIPTION Program the device to respond appropriately to the Tx timestamp interrupt cause. SEE ALSO Kernel file ./drivers/ne...
ice_ptp_check_tx_fifo(9)
NAME ice_ptp_check_tx_fifo - Check whether Tx FIFO is in an OK state SYNOPSIS int ice_ptp_check_tx_fifo (struct ice_ptp_port *port ); ARGUMENTS port PTP port for which Tx FIFO is checked SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ptp.c ice_ptp_find_pin_idx(9), ice_ptp_cfg_tx_interru...
ice_ptp_clear_phy_offset_ready_e82x(9)
NAME ice_ptp_clear_phy_offset_ready_e82x - Clear PHY TX_/RX_OFFSET_READY registers SYNOPSIS int ice_ptp_clear_phy_offset_ready_e82x (struct ice_hw *hw ); ARGUMENTS hw pointer to the HW struct DESCRIPTION Clear PHY TX_/RX_OFFSET_READY registers, effectively marking all transmitted and received timestamps as ...
ice_ptp_clock_index(9)
NAME ice_ptp_clock_index - Get the PTP clock index for this device SYNOPSIS int ice_ptp_clock_index (struct ice_pf *pf ); ARGUMENTS pf Board private structure RETURN the PTP clock index associated with this PF, or -1 if no PTP clock is associated. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice...
ice_ptp_complete_tx_single_tstamp(9)
NAME ice_ptp_complete_tx_single_tstamp - Complete Tx timestamp for a port SYNOPSIS void ice_ptp_complete_tx_single_tstamp (struct ice_ptp_tx *tx ); ARGUMENTS tx the PTP Tx timestamp tracker SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ptp.c ice_ptp_find_pin_idx(9), ice_ptp_cfg_tx_in...
ice_ptp_create_clock(9)
NAME ice_ptp_create_clock - Create PTP clock device for userspace SYNOPSIS long ice_ptp_create_clock (struct ice_pf *pf ); ARGUMENTS pf Board private structure DESCRIPTION This function creates a new PTP clock device. It only creates one if we don't already have one. Will return error if it can't create o...
ice_ptp_disable_all_extts(9)
NAME ice_ptp_disable_all_extts - Disable all EXTTS channels SYNOPSIS void ice_ptp_disable_all_extts (struct ice_pf *pf ); ARGUMENTS pf Board private structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ptp.c ice_ptp_find_pin_idx(9), ice_ptp_cfg_tx_interrupt(9), ice_set_rx_tstam...
ice_ptp_disable_all_perout(9)
NAME ice_ptp_disable_all_perout - Disable all currently configured outputs SYNOPSIS void ice_ptp_disable_all_perout (struct ice_pf *pf ); ARGUMENTS pf Board private structure DESCRIPTION Disable all currently configured clock outputs. This is necessary before certain changes to the PTP hardware clock. Use i...
ice_ptp_disable_pins(9)
NAME ice_ptp_disable_pins - Disable PTP pins SYNOPSIS void ice_ptp_disable_pins (struct ice_pf *pf ); ARGUMENTS pf pointer to the PF structure DESCRIPTION Disable the OS access to the pins. Called to clear out the OS indications of pin support when we fail to setup pin array. SEE ALSO Kernel file ./d...
ice_ptp_disable_timestamp_mode(9)
NAME ice_ptp_disable_timestamp_mode - Disable current timestamp mode SYNOPSIS void ice_ptp_disable_timestamp_mode (struct ice_pf *pf ); ARGUMENTS pf Board private structure DESCRIPTION Called during preparation for reset to temporarily disable timestamping on the device. Called during remove to disable time...
ice_ptp_enable_all_extts(9)
NAME ice_ptp_enable_all_extts - Enable all EXTTS channels SYNOPSIS void ice_ptp_enable_all_extts (struct ice_pf *pf ); ARGUMENTS pf Board private structure DESCRIPTION Called during reset to restore user configuration. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ptp.c ice_ptp_find_pi...
ice_ptp_enable_all_perout(9)
NAME ice_ptp_enable_all_perout - Enable all configured periodic clock outputs SYNOPSIS void ice_ptp_enable_all_perout (struct ice_pf *pf ); ARGUMENTS pf Board private structure DESCRIPTION Enable all currently configured clock outputs. Use this after ice_ptp_disable_all_perout to reconfigure the output sign...
ice_ptp_exec_tmr_cmd(9)
NAME ice_ptp_exec_tmr_cmd - Execute all prepared timer commands SYNOPSIS void ice_ptp_exec_tmr_cmd (struct ice_hw *hw ); ARGUMENTS hw pointer to HW struct DESCRIPTION Write the SYNC_EXEC_CMD bit to the GLTSYN_CMD_SYNC register, and flush the write immediately. This triggers the hardware to begin executing a...
ice_ptp_extend_32b_ts(9)
NAME ice_ptp_extend_32b_ts - Convert a 32b nanoseconds timestamp to 64b SYNOPSIS u64 ice_ptp_extend_32b_ts (u64 cached_phc_time , u32 in_tstamp ); ARGUMENTS cached_phc_time recently cached copy of PHC time in_tstamp Ingress/egress 32b nanoseconds timestamp value DESCRIPTION Hardware captures timestamps wh...
ice_ptp_extend_40b_ts(9)
NAME ice_ptp_extend_40b_ts - Convert a 40b timestamp to 64b nanoseconds SYNOPSIS u64 ice_ptp_extend_40b_ts (struct ice_pf *pf , u64 in_tstamp ); ARGUMENTS pf Board private structure in_tstamp Ingress/egress 40b timestamp value DESCRIPTION The Tx and Rx timestamps are 40 bits wide, including 32 bit...
ice_ptp_extts_event(9)
NAME ice_ptp_extts_event - Process PTP external clock event SYNOPSIS void ice_ptp_extts_event (struct ice_pf *pf ); ARGUMENTS pf Board private structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ptp.c ice_ptp_find_pin_idx(9), ice_ptp_cfg_tx_interrupt(9), ice_set_rx_tstamp(9), ...
ice_ptp_find_pin_idx(9)
NAME ice_ptp_find_pin_idx - Find pin index in ptp_pin_desc SYNOPSIS int ice_ptp_find_pin_idx (struct ice_pf *pf , enum ptp_pin_function func , unsigned int chan ); ARGUMENTS pf Board private structure func Pin function chan GPIO channel RETURN positive pin number when pin is pr...
ice_ptp_flush_all_tx_tracker(9)
NAME ice_ptp_flush_all_tx_tracker - Flush all timestamp trackers on this clock SYNOPSIS void ice_ptp_flush_all_tx_tracker (struct ice_pf *pf ); ARGUMENTS pf Board private structure DESCRIPTION Called by the clock owner to flush all the Tx timestamp trackers associated with the clock. SEE ALSO Kernel fil...
ice_ptp_flush_tx_tracker(9)
NAME ice_ptp_flush_tx_tracker - Flush any remaining timestamps from the tracker SYNOPSIS void ice_ptp_flush_tx_tracker (struct ice_pf *pf , struct ice_ptp_tx *tx ); ARGUMENTS pf Board private structure tx the tracker to flush DESCRIPTION Called during teardown when a Tx tracker is being rem...
ice_ptp_get_dest_dev_e825(9)
NAME ice_ptp_get_dest_dev_e825 - get destination PHY for given port number SYNOPSIS enum ice_sbq_dev_id ice_ptp_get_dest_dev_e825 (struct ice_hw *hw , u8 port ); ARGUMENTS hw pointer to the HW struct port destination port RETURN destination sideband queue PHY device. SEE ALSO Kernel file ...
ice_ptp_get_rx_hwts(9)
NAME ice_ptp_get_rx_hwts - Get packet Rx timestamp in ns SYNOPSIS u64 ice_ptp_get_rx_hwts (const union ice_32b_rx_flex_desc *rx_desc , const struct ice_pkt_ctx *pkt_ctx ); ARGUMENTS rx_desc Receive descriptor pkt_ctx Packet context to get the cached time DESCRIPTION The driver receives a notification...
ice_ptp_getcrosststamp(9)
NAME ice_ptp_getcrosststamp - Capture a device cross timestamp SYNOPSIS int ice_ptp_getcrosststamp (struct ptp_clock_info *info , struct system_device_crosststamp *cts ); ARGUMENTS info the driver's PTP info structure cts The memory to fill the cross timestamp info DESCRIPTION Capture a cross...
ice_ptp_gettimex64(9)
NAME ice_ptp_gettimex64 - Get the time of the clock SYNOPSIS int ice_ptp_gettimex64 (struct ptp_clock_info *info , struct timespec64 *ts , struct ptp_system_timestamp *sts ); ARGUMENTS info the driver's PTP info structure ts timespec64 structure to hold the current time value sts ...
ice_ptp_gpio_enable(9)
NAME ice_ptp_gpio_enable - Enable/disable ancillary features of PHC SYNOPSIS int ice_ptp_gpio_enable (struct ptp_clock_info *info , struct ptp_clock_request *rq , int on ); ARGUMENTS info The driver's PTP info structure rq The requested feature to change on Enable/disable flag...
ice_ptp_hwtstamp_get(9)
NAME ice_ptp_hwtstamp_get - interface to read the timestamping config SYNOPSIS int ice_ptp_hwtstamp_get (struct net_device *netdev , struct kernel_hwtstamp_config *config ); ARGUMENTS netdev Pointer to network interface device structure config Timestamping configuration structure DESCRIPTION Copy t...
ice_ptp_hwtstamp_set(9)
NAME ice_ptp_hwtstamp_set - interface to control the timestamping SYNOPSIS int ice_ptp_hwtstamp_set (struct net_device *netdev , struct kernel_hwtstamp_config *config , struct netlink_ext_ack *extack ); ARGUMENTS netdev Pointer to network interface device structure config Timestamping configuration ...
ice_ptp_init(9)
NAME ice_ptp_init - Initialize PTP hardware clock support SYNOPSIS void ice_ptp_init (struct ice_pf *pf ); ARGUMENTS pf Board private structure DESCRIPTION Set up the device for interacting with the PTP hardware clock for all functions, both the function that owns the clock hardware, and the functions conne...
ice_ptp_init_hw(9)
NAME ice_ptp_init_hw - Initialize hw based on device type SYNOPSIS void ice_ptp_init_hw (struct ice_hw *hw ); ARGUMENTS hw pointer to the HW structure DESCRIPTION Determine the PHY model for the device, and initialize hw for use by other functions. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ic...
ice_ptp_init_owner(9)
NAME ice_ptp_init_owner - Initialize PTP_1588_CLOCK device SYNOPSIS int ice_ptp_init_owner (struct ice_pf *pf ); ARGUMENTS pf Board private structure DESCRIPTION Setup and initialize a PTP clock device that represents the device hardware clock. Save the clock index for other functions connected to the same ...
ice_ptp_init_phc(9)
NAME ice_ptp_init_phc - Initialize PTP hardware clock SYNOPSIS int ice_ptp_init_phc (struct ice_hw *hw ); ARGUMENTS hw pointer to the HW struct DESCRIPTION Perform the steps required to initialize the PTP hardware clock. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ptp_hw.c ice_get_pt...