id
stringlengths
4
63
text
stringlengths
153
8.81M
ice_pack_rxq_ctx(9)
NAME ice_pack_rxq_ctx - Pack Rx queue context into a HW buffer SYNOPSIS void ice_pack_rxq_ctx (const struct ice_rlan_ctx *ctx , ice_rxq_ctx_buf_t *buf ); ARGUMENTS ctx the Rx queue context to pack buf the HW buffer to pack into DESCRIPTION Pack the Rx queue context from the CPU-friendly unpac...
ice_pack_txq_ctx(9)
NAME ice_pack_txq_ctx - Pack Tx queue context into Admin Queue buffer SYNOPSIS void ice_pack_txq_ctx (const struct ice_tlan_ctx *ctx , ice_txq_ctx_buf_t *buf ); ARGUMENTS ctx the Tx queue context to pack buf the Admin Queue HW buffer to pack into DESCRIPTION Pack the Tx queue context from the...
ice_pack_txq_ctx_full(9)
NAME ice_pack_txq_ctx_full - Pack Tx queue context into a HW buffer SYNOPSIS void ice_pack_txq_ctx_full (const struct ice_tlan_ctx *ctx , ice_txq_ctx_buf_full_t *buf ); ARGUMENTS ctx the Tx queue context to pack buf the HW buffer to pack into DESCRIPTION Pack the Tx queue context from the CPU...
ice_pack_txtime_ctx(9)
NAME ice_pack_txtime_ctx - pack Tx time queue context into a HW buffer SYNOPSIS void ice_pack_txtime_ctx (const struct ice_txtime_ctx *ctx , ice_txtime_ctx_buf_t *buf ); ARGUMENTS ctx the Tx time queue context to pack buf the HW buffer to pack into DESCRIPTION Pack the Tx time queue context f...
ice_parse_1588_dev_caps(9)
NAME ice_parse_1588_dev_caps - Parse ICE_AQC_CAPS_1588 device caps SYNOPSIS void ice_parse_1588_dev_caps (struct ice_hw *hw , struct ice_hw_dev_caps *dev_p , struct libie_aqc_list_caps_elem *cap ); ARGUMENTS hw pointer to the HW struct dev_p pointer to device capabilities structure cap ...
ice_parse_1588_func_caps(9)
NAME ice_parse_1588_func_caps - Parse ICE_AQC_CAPS_1588 function caps SYNOPSIS void ice_parse_1588_func_caps (struct ice_hw *hw , struct ice_hw_func_caps *func_p , struct libie_aqc_list_caps_elem *cap ); ARGUMENTS hw pointer to the HW struct func_p pointer to function capabilities structure ...
ice_parse_cee_app_tlv(9)
NAME ice_parse_cee_app_tlv - SYNOPSIS void ice_parse_cee_app_tlv (struct ice_cee_feat_tlv *tlv , struct ice_dcbx_cfg *dcbcfg ); ARGUMENTS tlv CEE DCBX APP TLV dcbcfg Local store to update APP PRIO data DESCRIPTION Parses CEE DCBX APP PRIO TLV SEE ALSO Kernel file ./drivers/net/ethernet/inte...
ice_parse_cee_pfccfg_tlv(9)
NAME ice_parse_cee_pfccfg_tlv - SYNOPSIS void ice_parse_cee_pfccfg_tlv (struct ice_cee_feat_tlv *tlv , struct ice_dcbx_cfg *dcbcfg ); ARGUMENTS tlv CEE DCBX PFC CFG TLV dcbcfg Local store to update PFC CFG data DESCRIPTION Parses CEE DCBX PFC CFG TLV SEE ALSO Kernel file ./drivers/net/ether...
ice_parse_cee_pgcfg_tlv(9)
NAME ice_parse_cee_pgcfg_tlv - SYNOPSIS void ice_parse_cee_pgcfg_tlv (struct ice_cee_feat_tlv *tlv , struct ice_dcbx_cfg *dcbcfg ); ARGUMENTS tlv CEE DCBX PG CFG TLV dcbcfg Local store to update ETS CFG data DESCRIPTION Parses CEE DCBX PG CFG TLV SEE ALSO Kernel file ./drivers/net/ethernet/...
ice_parse_cee_tlv(9)
NAME ice_parse_cee_tlv - SYNOPSIS void ice_parse_cee_tlv (struct ice_lldp_org_tlv *tlv , struct ice_dcbx_cfg *dcbcfg ); ARGUMENTS tlv CEE DCBX TLV dcbcfg Local store to update DCBX config data DESCRIPTION Get the TLV subtype and send it to parsing function based on the subtype value SEE ALSO Ke...
ice_parse_cls_flower(9)
NAME ice_parse_cls_flower - Parse TC flower filters provided by kernel SYNOPSIS int ice_parse_cls_flower (struct net_device *filter_dev , struct ice_vsi *vsi , struct flow_cls_offload *f , struct ice_tc_flower_fltr *fltr , bool ingress ); ARGUMENTS filter_dev Pointer to device on which filter is being added ...
ice_parse_common_caps(9)
NAME ice_parse_common_caps - parse common device/function capabilities SYNOPSIS bool ice_parse_common_caps (struct ice_hw *hw , struct ice_hw_common_caps *caps , struct libie_aqc_list_caps_elem *elem , const char *prefix ); ARGUMENTS hw pointer to the HW struct caps pointer to common capabilit...
ice_parse_dev_caps(9)
NAME ice_parse_dev_caps - Parse device capabilities SYNOPSIS void ice_parse_dev_caps (struct ice_hw *hw , struct ice_hw_dev_caps *dev_p , void *buf , u32 cap_count ); ARGUMENTS hw pointer to the HW struct dev_p pointer to device capabilities structure buf buffer containing the d...
ice_parse_fdir_dev_caps(9)
NAME ice_parse_fdir_dev_caps - Parse ICE_AQC_CAPS_FD device caps SYNOPSIS void ice_parse_fdir_dev_caps (struct ice_hw *hw , struct ice_hw_dev_caps *dev_p , struct libie_aqc_list_caps_elem *cap ); ARGUMENTS hw pointer to the HW struct dev_p pointer to device capabilities structure cap ...
ice_parse_fdir_func_caps(9)
NAME ice_parse_fdir_func_caps - Parse ICE_AQC_CAPS_FD function caps SYNOPSIS void ice_parse_fdir_func_caps (struct ice_hw *hw , struct ice_hw_func_caps *func_p ); ARGUMENTS hw pointer to the HW struct func_p pointer to function capabilities structure DESCRIPTION Extract function capabilities fo...
ice_parse_func_caps(9)
NAME ice_parse_func_caps - Parse function capabilities SYNOPSIS void ice_parse_func_caps (struct ice_hw *hw , struct ice_hw_func_caps *func_p , void *buf , u32 cap_count ); ARGUMENTS hw pointer to the HW struct func_p pointer to function capabilities structure buf buffer containi...
ice_parse_gtp_type(9)
NAME ice_parse_gtp_type - Sets GTP tunnel type to GTP-U or GTP-C SYNOPSIS int ice_parse_gtp_type (struct flow_match_ports match , struct ice_tc_flower_fltr *fltr ); ARGUMENTS match Flow match structure fltr Pointer to filter structure DESCRIPTION GTP-C/GTP-U is selected based on destination por...
ice_parse_ieee_app_tlv(9)
NAME ice_parse_ieee_app_tlv - SYNOPSIS void ice_parse_ieee_app_tlv (struct ice_lldp_org_tlv *tlv , struct ice_dcbx_cfg *dcbcfg ); ARGUMENTS tlv IEEE 802.1Qaz APP TLV dcbcfg Local store to update APP PRIO data DESCRIPTION Parses IEEE 802.1Qaz APP PRIO TLV SEE ALSO Kernel file ./drivers/net/e...
ice_parse_ieee_ets_common_tlv(9)
NAME ice_parse_ieee_ets_common_tlv - SYNOPSIS void ice_parse_ieee_ets_common_tlv (u8 *buf , struct ice_dcb_ets_cfg *ets_cfg ); ARGUMENTS buf Data buffer to be parsed for ETS CFG/REC data ets_cfg Container to store parsed data DESCRIPTION Parses the common data of IEEE 802.1Qaz ETS CFG/REC TLV SE...
ice_parse_ieee_etscfg_tlv(9)
NAME ice_parse_ieee_etscfg_tlv - SYNOPSIS void ice_parse_ieee_etscfg_tlv (struct ice_lldp_org_tlv *tlv , struct ice_dcbx_cfg *dcbcfg ); ARGUMENTS tlv IEEE 802.1Qaz ETS CFG TLV dcbcfg Local store to update ETS CFG data DESCRIPTION Parses IEEE 802.1Qaz ETS CFG TLV SEE ALSO Kernel file ./drive...
ice_parse_ieee_etsrec_tlv(9)
NAME ice_parse_ieee_etsrec_tlv - SYNOPSIS void ice_parse_ieee_etsrec_tlv (struct ice_lldp_org_tlv *tlv , struct ice_dcbx_cfg *dcbcfg ); ARGUMENTS tlv IEEE 802.1Qaz ETS REC TLV dcbcfg Local store to update ETS REC data DESCRIPTION Parses IEEE 802.1Qaz ETS REC TLV SEE ALSO Kernel file ./drive...
ice_parse_ieee_pfccfg_tlv(9)
NAME ice_parse_ieee_pfccfg_tlv - SYNOPSIS void ice_parse_ieee_pfccfg_tlv (struct ice_lldp_org_tlv *tlv , struct ice_dcbx_cfg *dcbcfg ); ARGUMENTS tlv IEEE 802.1Qaz PFC CFG TLV dcbcfg Local store to update PFC CFG data DESCRIPTION Parses IEEE 802.1Qaz PFC CFG TLV SEE ALSO Kernel file ./drive...
ice_parse_ieee_tlv(9)
NAME ice_parse_ieee_tlv - SYNOPSIS void ice_parse_ieee_tlv (struct ice_lldp_org_tlv *tlv , struct ice_dcbx_cfg *dcbcfg ); ARGUMENTS tlv IEEE 802.1Qaz TLV dcbcfg Local store to update ETS REC data DESCRIPTION Get the TLV subtype and send it to parsing function based on the subtype value SEE ALSO...
ice_parse_kb_data(9)
NAME ice_parse_kb_data - parse 204 bits of XLT Key Build Table SYNOPSIS void ice_parse_kb_data (struct ice_hw *hw , struct ice_xlt_kb *kb , void *data ); ARGUMENTS hw pointer to the hardware structure kb pointer to the XLT Key Build Table structure data XLT Key Build Table dat...
ice_parse_nac_topo_dev_caps(9)
NAME ice_parse_nac_topo_dev_caps - Parse ICE_AQC_CAPS_NAC_TOPOLOGY cap SYNOPSIS void ice_parse_nac_topo_dev_caps (struct ice_hw *hw , struct ice_hw_dev_caps *dev_p , struct libie_aqc_list_caps_elem *cap ); ARGUMENTS hw pointer to the HW struct dev_p pointer to device capabilities structure ...
ice_parse_org_tlv(9)
NAME ice_parse_org_tlv - SYNOPSIS void ice_parse_org_tlv (struct ice_lldp_org_tlv *tlv , struct ice_dcbx_cfg *dcbcfg ); ARGUMENTS tlv Organization specific TLV dcbcfg Local store to update ETS REC data DESCRIPTION Currently IEEE 802.1Qaz and CEE DCBX TLV are supported, others will be returned S...
ice_parse_raw_rss_pattern(9)
NAME ice_parse_raw_rss_pattern - Parse raw pattern spec and mask for RSS SYNOPSIS int ice_parse_raw_rss_pattern (struct ice_vf *vf , struct virtchnl_proto_hdrs *proto , struct ice_rss_raw_cfg *raw_cfg ); ARGUMENTS vf pointer to the VF info proto pointer to the virtchnl protocol header r...
ice_parse_rx_flow_user_data(9)
NAME ice_parse_rx_flow_user_data - deconstruct user-defined data SYNOPSIS int ice_parse_rx_flow_user_data (struct ethtool_rx_flow_spec *fsp , struct ice_rx_flow_userdef *data ); ARGUMENTS fsp pointer to ethtool Rx flow specification data pointer to userdef data structure for storage DESCRIPTIO...
ice_parse_sensor_reading_cap(9)
NAME ice_parse_sensor_reading_cap - Parse ICE_AQC_CAPS_SENSOR_READING cap SYNOPSIS void ice_parse_sensor_reading_cap (struct ice_hw *hw , struct ice_hw_dev_caps *dev_p , struct libie_aqc_list_caps_elem *cap ); ARGUMENTS hw pointer to the HW struct dev_p pointer to device capabilities structure ...
ice_parse_tc_flower_actions(9)
NAME ice_parse_tc_flower_actions - Parse the actions for a TC filter SYNOPSIS int ice_parse_tc_flower_actions (struct net_device *filter_dev , struct ice_vsi *vsi , struct flow_cls_offload *cls_flower , struct ice_tc_flower_fltr *fltr ); ARGUMENTS filter_dev Pointer to device on which filter is being added v...
ice_parse_valid_functions_cap(9)
NAME ice_parse_valid_functions_cap - Parse ICE_AQC_CAPS_VALID_FUNCTIONS caps SYNOPSIS void ice_parse_valid_functions_cap (struct ice_hw *hw , struct ice_hw_dev_caps *dev_p , struct libie_aqc_list_caps_elem *cap ); ARGUMENTS hw pointer to the HW struct dev_p pointer to device capabilities struct...
ice_parse_vf_dev_caps(9)
NAME ice_parse_vf_dev_caps - Parse ICE_AQC_CAPS_VF device caps SYNOPSIS void ice_parse_vf_dev_caps (struct ice_hw *hw , struct ice_hw_dev_caps *dev_p , struct libie_aqc_list_caps_elem *cap ); ARGUMENTS hw pointer to the HW struct dev_p pointer to device capabilities structure cap ...
ice_parse_vf_func_caps(9)
NAME ice_parse_vf_func_caps - Parse ICE_AQC_CAPS_VF function caps SYNOPSIS void ice_parse_vf_func_caps (struct ice_hw *hw , struct ice_hw_func_caps *func_p , struct libie_aqc_list_caps_elem *cap ); ARGUMENTS hw pointer to the HW struct func_p pointer to function capabilities structure ca...
ice_parse_vsi_dev_caps(9)
NAME ice_parse_vsi_dev_caps - Parse ICE_AQC_CAPS_VSI device caps SYNOPSIS void ice_parse_vsi_dev_caps (struct ice_hw *hw , struct ice_hw_dev_caps *dev_p , struct libie_aqc_list_caps_elem *cap ); ARGUMENTS hw pointer to the HW struct dev_p pointer to device capabilities structure cap ...
ice_parse_vsi_func_caps(9)
NAME ice_parse_vsi_func_caps - Parse ICE_AQC_CAPS_VSI function caps SYNOPSIS void ice_parse_vsi_func_caps (struct ice_hw *hw , struct ice_hw_func_caps *func_p , struct libie_aqc_list_caps_elem *cap ); ARGUMENTS hw pointer to the HW struct func_p pointer to function capabilities structure ...
ice_parser_create(9)
NAME ice_parser_create - create a parser instance SYNOPSIS struct ice_parser * ice_parser_create (struct ice_hw *hw ); ARGUMENTS hw pointer to the hardware structure RETURN a pointer to the allocated parser instance or ERR_PTR in case of error. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_pars...
ice_parser_create_table(9)
NAME ice_parser_create_table - create an item table from a section SYNOPSIS void * ice_parser_create_table (struct ice_hw *hw , u32 sect_type , u32 item_size , u32 length , void (*parse_item)(struct ice_hw *hw, u16 idx, void *item, void *data, int size) , bool no_offset ); ARGUMENTS hw pointer to the hardwar...
ice_parser_destroy(9)
NAME ice_parser_destroy - destroy a parser instance SYNOPSIS void ice_parser_destroy (struct ice_parser *psr ); ARGUMENTS psr pointer to a parser instance SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_parser.c ice_parser_sect_item_get(9), ice_parser_create_table(9), ice_imem_dump(9), ice_imem_bm_...
ice_parser_dvm_set(9)
NAME ice_parser_dvm_set - configure double vlan mode for parser SYNOPSIS void ice_parser_dvm_set (struct ice_parser *psr , bool on ); ARGUMENTS psr pointer to a parser instance on true to turn on; false to turn off SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_parser.c ice_parser...
ice_parser_ecpri_tunnel_set(9)
NAME ice_parser_ecpri_tunnel_set - configure ecpri tunnel for parser SYNOPSIS int ice_parser_ecpri_tunnel_set (struct ice_parser *psr , u16 udp_port , bool on ); ARGUMENTS psr pointer to a parser instance udp_port ecpri tunnel port in UDP header on true to turn on; false to turn of...
ice_parser_geneve_tunnel_set(9)
NAME ice_parser_geneve_tunnel_set - configure geneve tunnel for parser SYNOPSIS int ice_parser_geneve_tunnel_set (struct ice_parser *psr , u16 udp_port , bool on ); ARGUMENTS psr pointer to a parser instance udp_port geneve tunnel port in UDP header on true to turn on; false to tur...
ice_parser_profile_dump(9)
NAME ice_parser_profile_dump - dump an FXP profile info SYNOPSIS void ice_parser_profile_dump (struct ice_hw *hw , struct ice_parser_profile *prof ); ARGUMENTS hw pointer to the hardware structure prof profile info to dump SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_parser.c ice...
ice_parser_profile_init(9)
NAME ice_parser_profile_init - initialize a FXP profile based on parser result SYNOPSIS int ice_parser_profile_init (struct ice_parser_result *rslt , const u8 *pkt_buf , const u8 *msk_buf , int buf_len , enum ice_block blk , struct ice_parser_profile *prof ); ARGUMENTS rslt a instance of a parser result ...
ice_parser_result_dump(9)
NAME ice_parser_result_dump - dump a parser result info SYNOPSIS void ice_parser_result_dump (struct ice_hw *hw , struct ice_parser_result *rslt ); ARGUMENTS hw pointer to the hardware structure rslt parser result info to dump SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_parser.c...
ice_parser_rt_execute(9)
NAME ice_parser_rt_execute - parser execution routine SYNOPSIS int ice_parser_rt_execute (struct ice_parser_rt *rt , struct ice_parser_result *rslt ); ARGUMENTS rt pointer to the parser runtime rslt input/output parameter to save parser result RETURN 0 on success or errno. SEE ALSO Kernel fi...
ice_parser_rt_pktbuf_set(9)
NAME ice_parser_rt_pktbuf_set - set a packet into parser runtime SYNOPSIS void ice_parser_rt_pktbuf_set (struct ice_parser_rt *rt , const u8 *pkt_buf , int pkt_len ); ARGUMENTS rt pointer to the parser runtime pkt_buf buffer with packet data pkt_len packet buffer length SEE ALSO Kern...
ice_parser_rt_reset(9)
NAME ice_parser_rt_reset - reset the parser runtime SYNOPSIS void ice_parser_rt_reset (struct ice_parser_rt *rt ); ARGUMENTS rt pointer to the parser runtime SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_parser_rt.c ice_parser_rt_pktbuf_set(9), ice_parser_rt_execute(9) April 2026 ...
ice_parser_run(9)
NAME ice_parser_run - parse on a packet in binary and return the result SYNOPSIS int ice_parser_run (struct ice_parser *psr , const u8 *pkt_buf , int pkt_len , struct ice_parser_result *rslt ); ARGUMENTS psr pointer to a parser instance pkt_buf packet data pkt_len packet length ...
ice_parser_sect_item_get(9)
NAME ice_parser_sect_item_get - parse an item from a section SYNOPSIS void * ice_parser_sect_item_get (u32 sect_type , void *section , u32 index , u32 __maybe_unused *offset ); ARGUMENTS sect_type section type section section object index index of the item to get offset dummy ...
ice_parser_vxlan_tunnel_set(9)
NAME ice_parser_vxlan_tunnel_set - configure vxlan tunnel for parser SYNOPSIS int ice_parser_vxlan_tunnel_set (struct ice_parser *psr , u16 udp_port , bool on ); ARGUMENTS psr pointer to a parser instance udp_port vxlan tunnel port in UDP header on true to turn on; false to turn of...
ice_pci_err_detected(9)
NAME ice_pci_err_detected - warning that PCI error has been detected SYNOPSIS pci_ers_result_t ice_pci_err_detected (struct pci_dev *pdev , pci_channel_state_t err ); ARGUMENTS pdev PCI device information struct err the type of PCI error DESCRIPTION Called to warn that something happened on th...
ice_pci_err_reset_done(9)
NAME ice_pci_err_reset_done - PCI reset done, device driver reset can begin SYNOPSIS void ice_pci_err_reset_done (struct pci_dev *pdev ); ARGUMENTS pdev PCI device information 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_fo...
ice_pci_err_reset_prepare(9)
NAME ice_pci_err_reset_prepare - prepare device driver for PCI reset SYNOPSIS void ice_pci_err_reset_prepare (struct pci_dev *pdev ); ARGUMENTS pdev PCI device information 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_ha...
ice_pci_err_resume(9)
NAME ice_pci_err_resume - restart operations after PCI error recovery SYNOPSIS void ice_pci_err_resume (struct pci_dev *pdev ); ARGUMENTS pdev PCI device information struct DESCRIPTION Called to allow the driver to bring things back up after PCI error and/or reset recovery have finished SEE ALSO Kernel fil...
ice_pci_err_slot_reset(9)
NAME ice_pci_err_slot_reset - a PCI slot reset has just happened SYNOPSIS pci_ers_result_t ice_pci_err_slot_reset (struct pci_dev *pdev ); ARGUMENTS pdev PCI device information struct DESCRIPTION Called to determine if the driver can recover from the PCI slot reset by using a register read to determine if the...
ice_pci_sriov_ena(9)
NAME ice_pci_sriov_ena - Enable or change number of VFs SYNOPSIS int ice_pci_sriov_ena (struct ice_pf *pf , int num_vfs ); ARGUMENTS pf pointer to the PF structure num_vfs number of VFs to allocate DESCRIPTION Returns 0 on success and negative on failure SEE ALSO Kernel file ./drivers/net/eth...
ice_pf_dcb_cfg(9)
NAME ice_pf_dcb_cfg - Apply new DCB configuration SYNOPSIS int ice_pf_dcb_cfg (struct ice_pf *pf , struct ice_dcbx_cfg *new_cfg , bool locked ); ARGUMENTS pf pointer to the PF struct new_cfg DCBX config to apply locked is the RTNL held SEE ALSO Kernel file ./drivers/net/ethernet...
ice_pf_dcb_recfg(9)
NAME ice_pf_dcb_recfg - Reconfigure all VEBs and VSIs SYNOPSIS void ice_pf_dcb_recfg (struct ice_pf *pf , bool locked ); ARGUMENTS pf pointer to the PF struct locked is adev device lock held DESCRIPTION Assumed caller has already disabled all VSIs before calling this function. Reconfiguring DCB...
ice_pf_dis_all_vsi(9)
NAME ice_pf_dis_all_vsi - Pause all VSIs on a PF SYNOPSIS void ice_pf_dis_all_vsi (struct ice_pf *pf , bool locked ); ARGUMENTS pf the PF locked is the rtnl_lock already held SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c ice_hw_to_dev(9), ice_get_tx_pending(9), ice_c...
ice_pf_reset(9)
NAME ice_pf_reset - Reset the PF SYNOPSIS int ice_pf_reset (struct ice_hw *hw ); ARGUMENTS hw pointer to the hardware structure DESCRIPTION If a global reset has been triggered, this function checks for its completion and then issues the PF reset SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_co...
ice_pf_rxq_wait(9)
NAME ice_pf_rxq_wait - Wait for a PF's Rx queue to be enabled or disabled SYNOPSIS int ice_pf_rxq_wait (struct ice_pf *pf , int pf_q , bool ena ); ARGUMENTS pf the PF being configured pf_q the PF queue ena enable or disable state of the queue DESCRIPTION This routine will w...
ice_pf_src_tmr_owned(9)
NAME ice_pf_src_tmr_owned - Check if a primary timer is owned by PF SYNOPSIS bool ice_pf_src_tmr_owned (struct ice_pf *pf ); ARGUMENTS pf pointer to PF structure RETURN true if PF owns primary timer, false otherwise. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice.h ice_vector_ch_enabled...
ice_pf_state_is_nominal(9)
NAME ice_pf_state_is_nominal - checks the PF for nominal state SYNOPSIS bool ice_pf_state_is_nominal (struct ice_pf *pf ); ARGUMENTS pf pointer to PF to check DESCRIPTION Check the PF's state for a collection of bits that would indicate the PF is in a state that would inhibit normal operation for driver fun...
ice_pf_vsi_setup(9)
NAME ice_pf_vsi_setup - Set up a PF VSI SYNOPSIS struct ice_vsi * ice_pf_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 on succ...
ice_pg_cam_action_init(9)
NAME ice_pg_cam_action_init - parse 55 bits of Parse Graph CAM Action SYNOPSIS void ice_pg_cam_action_init (struct ice_pg_cam_action *action , u64 data ); ARGUMENTS action pointer to the Parse Graph CAM Action structure data Parse Graph CAM Action data to be parsed SEE ALSO Kernel file ./drivers/...
ice_pg_cam_dump(9)
NAME ice_pg_cam_dump - dump an parse graph cam info SYNOPSIS void ice_pg_cam_dump (struct ice_hw *hw , struct ice_pg_cam_item *item ); ARGUMENTS hw pointer to the hardware structure item parse graph cam to dump SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_parser.c ice_parser_sect...
ice_pg_cam_key_init(9)
NAME ice_pg_cam_key_init - parse 73 bits of Parse Graph CAM Key SYNOPSIS void ice_pg_cam_key_init (struct ice_pg_cam_key *key , u8 *data ); ARGUMENTS key pointer to the Parse Graph CAM Key structure data Parse Graph CAM Key data to be parsed SEE ALSO Kernel file ./drivers/net/ethernet/inte...
ice_pg_cam_match(9)
NAME ice_pg_cam_match - search parse graph cam table by key SYNOPSIS struct ice_pg_cam_item * ice_pg_cam_match (struct ice_pg_cam_item *table , int size , struct ice_pg_cam_key *key ); ARGUMENTS table parse graph cam table to search size cam table size key search key RETURN a poi...
ice_pg_cam_parse_item(9)
NAME ice_pg_cam_parse_item - parse 128 bits of Parse Graph CAM Entry SYNOPSIS void ice_pg_cam_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 Parse Graph CAM Entry item it...
ice_pg_cam_table_get(9)
NAME ice_pg_cam_table_get - create a parse graph cam table SYNOPSIS struct ice_pg_cam_item * ice_pg_cam_table_get (struct ice_hw *hw ); ARGUMENTS hw pointer to the hardware structure RETURN a pointer to the allocated Parse Graph CAM table. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_parser.c ...
ice_pg_nm_cam_dump(9)
NAME ice_pg_nm_cam_dump - dump an parse graph no match cam info SYNOPSIS void ice_pg_nm_cam_dump (struct ice_hw *hw , struct ice_pg_nm_cam_item *item ); ARGUMENTS hw pointer to the hardware structure item parse graph no match cam to dump SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/i...
ice_pg_nm_cam_key_init(9)
NAME ice_pg_nm_cam_key_init - parse 41 bits of Parse Graph NoMatch CAM Key SYNOPSIS void ice_pg_nm_cam_key_init (struct ice_pg_nm_cam_key *key , u64 data ); ARGUMENTS key pointer to the Parse Graph NoMatch CAM Key structure data Parse Graph NoMatch CAM Key data to be parsed SEE ALSO Kernel fil...
ice_pg_nm_cam_match(9)
NAME ice_pg_nm_cam_match - search parse graph no match cam table by key SYNOPSIS struct ice_pg_nm_cam_item * ice_pg_nm_cam_match (struct ice_pg_nm_cam_item *table , int size , struct ice_pg_cam_key *key ); ARGUMENTS table parse graph no match cam table to search size cam table size key ...
ice_pg_nm_cam_parse_item(9)
NAME ice_pg_nm_cam_parse_item - parse 96 bits of Parse Graph NoMatch CAM Entry SYNOPSIS void ice_pg_nm_cam_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 Parse Graph NoMatch CAM Entry ...
ice_pg_nm_cam_table_get(9)
NAME ice_pg_nm_cam_table_get - create a parse graph no match cam table SYNOPSIS struct ice_pg_nm_cam_item * ice_pg_nm_cam_table_get (struct ice_hw *hw ); ARGUMENTS hw pointer to the hardware structure RETURN a pointer to the allocated Parse Graph No Match CAM table. SEE ALSO Kernel file ./drivers/net/ether...
ice_pg_nm_sp_cam_parse_item(9)
NAME ice_pg_nm_sp_cam_parse_item - parse 104 bits of Parse Graph NoMatch Spill CAM Entry SYNOPSIS void ice_pg_nm_sp_cam_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 Parse Graph NoMatc...
ice_pg_nm_sp_cam_table_get(9)
NAME ice_pg_nm_sp_cam_table_get - create a parse graph no match spill cam table SYNOPSIS struct ice_pg_nm_cam_item * ice_pg_nm_sp_cam_table_get (struct ice_hw *hw ); ARGUMENTS hw pointer to the hardware structure RETURN a pointer to the allocated Parse Graph No Match Spill CAM table. SEE ALSO Kernel file ....
ice_pg_sp_cam_parse_item(9)
NAME ice_pg_sp_cam_parse_item - parse 136 bits of Parse Graph Spill CAM Entry SYNOPSIS void ice_pg_sp_cam_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 Parse Graph Spill CAM Entry ...
ice_pg_sp_cam_table_get(9)
NAME ice_pg_sp_cam_table_get - create a parse graph spill cam table SYNOPSIS struct ice_pg_cam_item * ice_pg_sp_cam_table_get (struct ice_hw *hw ); ARGUMENTS hw pointer to the hardware structure RETURN a pointer to the allocated Parse Graph Spill CAM table. SEE ALSO Kernel file ./drivers/net/ethernet/intel...
ice_phy_calc_pmd_adj_e82x(9)
NAME ice_phy_calc_pmd_adj_e82x - Calculate PMD adjustment for Rx SYNOPSIS int ice_phy_calc_pmd_adj_e82x (struct ice_hw *hw , u8 port , enum ice_ptp_link_spd link_spd , enum ice_ptp_fec_mode fec_mode , u64 *pmd_adj ); ARGUMENTS hw pointer to the HW struct port the PHY port to adjust for ...
ice_phy_caps_equals_cfg(9)
NAME ice_phy_caps_equals_cfg - SYNOPSIS bool ice_phy_caps_equals_cfg (struct ice_aqc_get_phy_caps_data *phy_caps , struct ice_aqc_set_phy_cfg_data *phy_cfg ); ARGUMENTS phy_caps PHY capabilities phy_cfg PHY configuration DESCRIPTION Helper function to determine if PHY capabilities matches PHY configur...
ice_phy_cfg_intr_e82x(9)
NAME ice_phy_cfg_intr_e82x - Configure TX timestamp interrupt SYNOPSIS int ice_phy_cfg_intr_e82x (struct ice_hw *hw , u8 quad , bool ena , u8 threshold ); ARGUMENTS hw pointer to the HW struct quad the timestamp quad ena enable or disable interrupt threshold interrupt...
ice_phy_cfg_intr_eth56g(9)
NAME ice_phy_cfg_intr_eth56g - Configure TX timestamp interrupt SYNOPSIS int ice_phy_cfg_intr_eth56g (struct ice_hw *hw , u8 port , bool ena , u8 threshold ); ARGUMENTS hw pointer to the HW struct port the timestamp port ena enable or disable interrupt threshold inter...
ice_phy_cfg_lane_e82x(9)
NAME ice_phy_cfg_lane_e82x - Configure PHY quad for single/multi-lane timestamp SYNOPSIS void ice_phy_cfg_lane_e82x (struct ice_hw *hw , u8 port ); ARGUMENTS hw pointer to HW struct port to configure the quad for SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ptp_hw.c ice_...
ice_phy_cfg_mac_eth56g(9)
NAME ice_phy_cfg_mac_eth56g - Configure MAC for PTP SYNOPSIS int ice_phy_cfg_mac_eth56g (struct ice_hw *hw , u8 port ); ARGUMENTS hw Pointer to the HW struct port Port to configure RETURN * 0 - success * other - failed to write to PHY SEE ALSO Kernel file ./drivers/net/ethernet/int...
ice_phy_cfg_parpcs_e82x(9)
NAME ice_phy_cfg_parpcs_e82x - Configure TUs per PAR/PCS clock cycle SYNOPSIS int ice_phy_cfg_parpcs_e82x (struct ice_hw *hw , u8 port ); ARGUMENTS hw pointer to the HW struct port port to configure DESCRIPTION Configure the number of TUs for the PAR and PCS clocks used as part of the times...
ice_phy_cfg_parpcs_eth56g(9)
NAME ice_phy_cfg_parpcs_eth56g - Configure TUs per PAR/PCS clock cycle SYNOPSIS int ice_phy_cfg_parpcs_eth56g (struct ice_hw *hw , u8 port ); ARGUMENTS hw pointer to the HW struct port port to configure DESCRIPTION Configure the number of TUs for the PAR and PCS clocks used as part of the tim...
ice_phy_cfg_ptp_1step_eth56g(9)
NAME ice_phy_cfg_ptp_1step_eth56g - Configure 1-step PTP settings SYNOPSIS int ice_phy_cfg_ptp_1step_eth56g (struct ice_hw *hw , u8 port ); ARGUMENTS hw Pointer to the HW struct port Port to configure RETURN * 0 - success * other - PHY read/write failed SEE ALSO Kernel file ./drive...
ice_phy_cfg_rx_offset_e82x(9)
NAME ice_phy_cfg_rx_offset_e82x - Configure total Rx timestamp offset SYNOPSIS int ice_phy_cfg_rx_offset_e82x (struct ice_hw *hw , u8 port ); ARGUMENTS hw pointer to the HW struct port the PHY port to configure DESCRIPTION Program the P_REG_TOTAL_RX_OFFSET register with the number of Time Uni...
ice_phy_cfg_tx_offset_e82x(9)
NAME ice_phy_cfg_tx_offset_e82x - Configure total Tx timestamp offset SYNOPSIS int ice_phy_cfg_tx_offset_e82x (struct ice_hw *hw , u8 port ); ARGUMENTS hw pointer to the HW struct port the PHY port to configure DESCRIPTION Program the P_REG_TOTAL_TX_OFFSET register with the total number of...
ice_phy_cfg_uix_e82x(9)
NAME ice_phy_cfg_uix_e82x - Configure Serdes UI to TU conversion for E822 SYNOPSIS int ice_phy_cfg_uix_e82x (struct ice_hw *hw , u8 port ); ARGUMENTS hw pointer to the HW structure port the port to configure DESCRIPTION Program the conversion ration of Serdes clock "unit intervals" (UIs) to...
ice_phy_get_speed_and_fec_e82x(9)
NAME ice_phy_get_speed_and_fec_e82x - Get link speed and FEC based on serdes mode SYNOPSIS int ice_phy_get_speed_and_fec_e82x (struct ice_hw *hw , u8 port , enum ice_ptp_link_spd *link_out , enum ice_ptp_fec_mode *fec_out ); ARGUMENTS hw pointer to HW struct port the port to read from ...
ice_phy_get_speed_eth56g(9)
NAME ice_phy_get_speed_eth56g - Get link speed based on PHY link type SYNOPSIS enum ice_eth56g_link_spd ice_phy_get_speed_eth56g (struct ice_link_status *li ); ARGUMENTS li pointer to link information struct RETURN simplified ETH56G PHY speed SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_...
ice_phy_res_address_eth56g(9)
NAME ice_phy_res_address_eth56g - Calculate a PHY port register address SYNOPSIS int ice_phy_res_address_eth56g (struct ice_hw *hw , u8 lane , enum eth56g_res_type res_type , u32 offset , u32 *addr ); ARGUMENTS hw pointer to the HW struct lane Lane number to be written res_type reso...
ice_phy_set_offsets_eth56g(9)
NAME ice_phy_set_offsets_eth56g - Set Tx/Rx offset values SYNOPSIS int ice_phy_set_offsets_eth56g (struct ice_hw *hw , u8 port , enum ice_eth56g_link_spd spd , const struct ice_eth56g_mac_reg_cfg *cfg , bool fc , bool rs ); ARGUMENTS hw pointer to the HW struct port port to configure s...
ice_phy_type_to_ethtool(9)
NAME ice_phy_type_to_ethtool - convert the phy_types to ethtool link modes SYNOPSIS void ice_phy_type_to_ethtool (struct net_device *netdev , struct ethtool_link_ksettings *ks ); ARGUMENTS netdev network interface device structure ks ethtool link ksettings struct to fill out SEE ALSO Kernel f...
ice_pkg_advance_sect(9)
NAME ice_pkg_advance_sect - SYNOPSIS bool ice_pkg_advance_sect (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 helper function will advance the section within the ice...
ice_pkg_buf(9)
NAME ice_pkg_buf - SYNOPSIS struct ice_buf * ice_pkg_buf (struct ice_buf_build *bld ); ARGUMENTS bld pointer to pkg build (allocated by ice_pkg_buf_alloc) DESCRIPTION Return a pointer to the buffer's header SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ddp.c ice_verify_pkg(9), ice_free_seg(9), i...
ice_pkg_buf_alloc(9)
NAME ice_pkg_buf_alloc - SYNOPSIS struct ice_buf_build * ice_pkg_buf_alloc (struct ice_hw *hw ); ARGUMENTS hw pointer to the HW structure DESCRIPTION Allocates a package buffer and returns a pointer to the buffer header. NOTE all package contents must be in Little Endian form. SEE ALSO Kernel file ./drive...
ice_pkg_buf_alloc_section(9)
NAME ice_pkg_buf_alloc_section - SYNOPSIS void * ice_pkg_buf_alloc_section (struct ice_buf_build *bld , u32 type , u16 size ); ARGUMENTS bld pointer to pkg build (allocated by ice_pkg_buf_alloc) type the section type value size the size of the section to reserve (in bytes) DESCR...