id
stringlengths
4
63
text
stringlengths
153
8.81M
ice_ena_vf_q_mappings(9)
NAME ice_ena_vf_q_mappings - enable Rx/Tx queue mappings for a VF SYNOPSIS void ice_ena_vf_q_mappings (struct ice_vf *vf , u16 max_txq , u16 max_rxq ); ARGUMENTS vf VF to enable the mappings for max_txq max Tx queues allowed on the VF's VSI max_rxq max Rx queues allowed on the VF's VS...
ice_ena_vfs(9)
NAME ice_ena_vfs - enable VFs so they are ready to be used SYNOPSIS int ice_ena_vfs (struct ice_pf *pf , u16 num_vfs ); ARGUMENTS pf pointer to the PF structure num_vfs number of VFs to enable SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_sriov.c ice_free_vf_entries(9), ice_free_...
ice_ena_vsi(9)
NAME ice_ena_vsi - resume a VSI SYNOPSIS int ice_ena_vsi (struct ice_vsi *vsi , bool locked ); ARGUMENTS vsi the VSI being resume locked is the rtnl_lock already held SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_lib.c ice_vsi_type_str(9), ice_vsi_ctrl_all_rx_rings(9), ...
ice_ena_vsi_rdma_qset(9)
NAME ice_ena_vsi_rdma_qset - SYNOPSIS int ice_ena_vsi_rdma_qset (struct ice_port_info *pi , u16 vsi_handle , u8 tc , u16 *rdma_qset , u16 num_qsets , u32 *qset_teid ); ARGUMENTS pi port information structure vsi_handle software VSI handle tc TC number rdma_qset pointer to ...
ice_ena_vsi_txq(9)
NAME ice_ena_vsi_txq - SYNOPSIS int ice_ena_vsi_txq (struct ice_port_info *pi , u16 vsi_handle , u8 tc , u16 q_handle , u8 num_qgrps , struct ice_aqc_add_tx_qgrp *buf , u16 buf_size , struct ice_sq_cd *cd ); ARGUMENTS pi port information structure vsi_handle software VSI handle tc T...
ice_enable_custom_tx(9)
NAME ice_enable_custom_tx - try to enable custom Tx feature SYNOPSIS bool ice_enable_custom_tx (struct ice_pf *pf ); ARGUMENTS pf pf struct DESCRIPTION This function tries to enable custom Tx feature, it's not possible to enable it, if DCB or ADQ is active. SEE ALSO Kernel file ./drivers/net/ethernet/i...
ice_enable_interrupt(9)
NAME ice_enable_interrupt - re-enable MSI-X interrupt SYNOPSIS void ice_enable_interrupt (struct ice_q_vector *q_vector ); ARGUMENTS q_vector the vector associated with the interrupt to enable DESCRIPTION If the VSI is down, the interrupt will not be re-enabled. Also, when enabling the interrupt always reset the ...
ice_enum_labels(9)
NAME ice_enum_labels - SYNOPSIS char * ice_enum_labels (struct ice_seg *ice_seg , u32 type , struct ice_pkg_enum *state , u16 *value ); ARGUMENTS ice_seg pointer to the ice segment (NULL on subsequent calls) type the section type that will contain the label (0 on subsequent calls) state ...
ice_erase_nvm_module(9)
NAME ice_erase_nvm_module - Erase an NVM module and await firmware completion SYNOPSIS int ice_erase_nvm_module (struct ice_pf *pf , u16 module , const char *component , struct netlink_ext_ack *extack ); ARGUMENTS pf the PF data structure module the module to erase component name of th...
ice_err_to_virt_err(9)
NAME ice_err_to_virt_err - translate errors for VF return code SYNOPSIS enum virtchnl_status_code ice_err_to_virt_err (int err ); ARGUMENTS err error return code 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...
ice_eswitch_attach_sf(9)
NAME ice_eswitch_attach_sf - attach SF to a eswitch SYNOPSIS int ice_eswitch_attach_sf (struct ice_pf *pf , struct ice_dynamic_port *sf ); ARGUMENTS pf pointer to PF structure sf pointer to SF structure to be attached DESCRIPTION During attaching port representor for SF is created. RETURN ...
ice_eswitch_attach_vf(9)
NAME ice_eswitch_attach_vf - attach VF to a eswitch SYNOPSIS int ice_eswitch_attach_vf (struct ice_pf *pf , struct ice_vf *vf ); ARGUMENTS pf pointer to PF structure vf pointer to VF structure to be attached DESCRIPTION During attaching port representor for VF is created. RETURN zero on su...
ice_eswitch_cfg_vsi(9)
NAME ice_eswitch_cfg_vsi - configure VSI to work in slow-path SYNOPSIS int ice_eswitch_cfg_vsi (struct ice_vsi *vsi , const u8 *mac ); ARGUMENTS vsi VSI structure of representee mac representee MAC RETURN 0 on success, non-zero on error. SEE ALSO Kernel file ./drivers/net/ethernet/in...
ice_eswitch_decfg_vsi(9)
NAME ice_eswitch_decfg_vsi - unroll changes done to VSI for switchdev SYNOPSIS void ice_eswitch_decfg_vsi (struct ice_vsi *vsi , const u8 *mac ); ARGUMENTS vsi VSI structure of representee mac representee MAC SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_eswitch.c ice...
ice_eswitch_detach_sf(9)
NAME ice_eswitch_detach_sf - detach SF from a eswitch SYNOPSIS void ice_eswitch_detach_sf (struct ice_pf *pf , struct ice_dynamic_port *sf ); ARGUMENTS pf pointer to PF structure sf pointer to SF structure to be detached SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_eswitch.c ...
ice_eswitch_detach_vf(9)
NAME ice_eswitch_detach_vf - detach VF from a eswitch SYNOPSIS void ice_eswitch_detach_vf (struct ice_pf *pf , struct ice_vf *vf ); ARGUMENTS pf pointer to PF structure vf pointer to VF structure to be detached SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_eswitch.c ice_eswit...
ice_eswitch_disable_switchdev(9)
NAME ice_eswitch_disable_switchdev - disable eswitch resources SYNOPSIS void ice_eswitch_disable_switchdev (struct ice_pf *pf ); ARGUMENTS pf pointer to PF structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_eswitch.c ice_eswitch_setup_env(9), ice_eswitch_release_repr(9), ice_eswitch_setu...
ice_eswitch_enable_switchdev(9)
NAME ice_eswitch_enable_switchdev - configure eswitch in switchdev mode SYNOPSIS int ice_eswitch_enable_switchdev (struct ice_pf *pf ); ARGUMENTS pf pointer to PF structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_eswitch.c ice_eswitch_setup_env(9), ice_eswitch_release_repr(9), ice_eswit...
ice_eswitch_get_target(9)
NAME ice_eswitch_get_target - get netdev based on src_vsi from descriptor SYNOPSIS struct net_device * ice_eswitch_get_target (struct ice_rx_ring *rx_ring , union ice_32b_rx_flex_desc *rx_desc ); ARGUMENTS rx_ring ring used to receive the packet rx_desc descriptor used to get src_vsi value DESCRIPTIO...
ice_eswitch_mode_get(9)
NAME ice_eswitch_mode_get - get current eswitch mode SYNOPSIS int ice_eswitch_mode_get (struct devlink *devlink , u16 *mode ); ARGUMENTS devlink pointer to devlink structure mode output parameter for current eswitch mode SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_eswitch.c ice_es...
ice_eswitch_mode_set(9)
NAME ice_eswitch_mode_set - set new eswitch mode SYNOPSIS int ice_eswitch_mode_set (struct devlink *devlink , u16 mode , struct netlink_ext_ack *extack ); ARGUMENTS devlink pointer to devlink structure mode eswitch mode to switch to extack pointer to extack structure SEE ALSO Kernel ...
ice_eswitch_port_start_xmit(9)
NAME ice_eswitch_port_start_xmit - callback for packets transmit SYNOPSIS netdev_tx_t ice_eswitch_port_start_xmit (struct sk_buff *skb , struct net_device *netdev ); ARGUMENTS skb send buffer netdev network interface device structure DESCRIPTION Returns NETDEV_TX_OK if sent, else an error code ...
ice_eswitch_release_env(9)
NAME ice_eswitch_release_env - clear eswitch HW filters SYNOPSIS void ice_eswitch_release_env (struct ice_pf *pf ); ARGUMENTS pf pointer to PF struct DESCRIPTION This function removes HW filters configuration specific for switchdev mode and restores default legacy mode settings. SEE ALSO Kernel file ./dr...
ice_eswitch_release_repr(9)
NAME ice_eswitch_release_repr - clear PR VSI configuration SYNOPSIS void ice_eswitch_release_repr (struct ice_pf *pf , struct ice_repr *repr ); ARGUMENTS pf poiner to PF struct repr pointer to PR SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_eswitch.c ice_eswitch_setup_env(9), ice...
ice_eswitch_set_target_vsi(9)
NAME ice_eswitch_set_target_vsi - set eswitch context in Tx context descriptor SYNOPSIS void ice_eswitch_set_target_vsi (struct sk_buff *skb , struct ice_tx_offload_params *off ); ARGUMENTS skb pointer to send buffer off pointer to offload struct SEE ALSO Kernel file ./drivers/net/ethernet/...
ice_eswitch_setup_env(9)
NAME ice_eswitch_setup_env - configure eswitch HW filters SYNOPSIS int ice_eswitch_setup_env (struct ice_pf *pf ); ARGUMENTS pf pointer to PF struct DESCRIPTION This function adds HW filters configuration specific for switchdev mode. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_eswitc...
ice_eswitch_setup_repr(9)
NAME ice_eswitch_setup_repr - configure PR to run in switchdev mode SYNOPSIS int ice_eswitch_setup_repr (struct ice_pf *pf , struct ice_repr *repr ); ARGUMENTS pf pointer to PF struct repr pointer to PR struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_eswitch.c ice_eswit...
ice_eswitch_start_all_tx_queues(9)
NAME ice_eswitch_start_all_tx_queues - start Tx queues of all port representors SYNOPSIS void ice_eswitch_start_all_tx_queues (struct ice_pf *pf ); ARGUMENTS pf pointer to PF structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_eswitch.c ice_eswitch_setup_env(9), ice_eswitch_release_repr(9...
ice_eswitch_stop_all_tx_queues(9)
NAME ice_eswitch_stop_all_tx_queues - stop Tx queues of all port representors SYNOPSIS void ice_eswitch_stop_all_tx_queues (struct ice_pf *pf ); ARGUMENTS pf pointer to PF structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_eswitch.c ice_eswitch_setup_env(9), ice_eswitch_release_repr(9), ...
ice_eswitch_update_repr(9)
NAME ice_eswitch_update_repr - reconfigure port representor SYNOPSIS void ice_eswitch_update_repr (unsigned long *repr_id , struct ice_vsi *vsi ); ARGUMENTS repr_id representor ID vsi VSI for which port representor is configured SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_...
ice_ethtool_flow_to_fltr(9)
NAME ice_ethtool_flow_to_fltr - convert ethtool flow type to filter enum SYNOPSIS enum ice_fltr_ptype ice_ethtool_flow_to_fltr (int eth ); ARGUMENTS eth Ethtool flow type to be converted DESCRIPTION Returns flow enum SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c ice_flt...
ice_ethtool_get_maxspeed(9)
NAME ice_ethtool_get_maxspeed - Get the max speed for given lport SYNOPSIS int ice_ethtool_get_maxspeed (struct ice_hw *hw , u8 lport , u8 *max_speed ); ARGUMENTS hw pointer to the HW struct lport logical port for which max speed is requested max_speed return max speed for input lport...
ice_ethtool_reset(9)
NAME ice_ethtool_reset - triggers a given type of reset SYNOPSIS int ice_ethtool_reset (struct net_device *dev , u32 *flags ); ARGUMENTS dev network interface device structure flags set of reset flags RETURN 0 on success, -EOPNOTSUPP when using unsupported set of flags. SEE ALSO Kernel file ...
ice_fdb_add(9)
NAME ice_fdb_add - add an entry to the hardware database SYNOPSIS int ice_fdb_add (struct ndmsg *ndm , struct nlattr *tb[] , struct net_device *dev , const unsigned char *addr , u16 vid , u16 flags , bool *notified , struct netlink_ext_ack *extack ); ARGUMENTS ndm the input from the stack tb ...
ice_fdb_del(9)
NAME ice_fdb_del - delete an entry from the hardware database SYNOPSIS int ice_fdb_del (struct ndmsg *ndm , struct nlattr *tb[] , struct net_device *dev , const unsigned char *addr , u16 vid , bool *notified , struct netlink_ext_ack *extack ); ARGUMENTS ndm the input from the stack tb pointer...
ice_fdir_alloc_flow_prof(9)
NAME ice_fdir_alloc_flow_prof - allocate FDir flow profile structure(s) SYNOPSIS int ice_fdir_alloc_flow_prof (struct ice_hw *hw , enum ice_fltr_ptype flow ); ARGUMENTS hw HW structure containing the FDir flow profile structure(s) flow flow type to allocate the flow profile for DESCRIPTION Al...
ice_fdir_comp_rules(9)
NAME ice_fdir_comp_rules - compare 2 filters SYNOPSIS bool ice_fdir_comp_rules (struct ice_fdir_fltr *a , struct ice_fdir_fltr *b ); ARGUMENTS a a Flow Director filter data structure b a Flow Director filter data structure DESCRIPTION Returns true if the filters match SEE ALSO Kernel fil...
ice_fdir_create_dflt_rules(9)
NAME ice_fdir_create_dflt_rules - create default perfect filters SYNOPSIS int ice_fdir_create_dflt_rules (struct ice_pf *pf ); ARGUMENTS pf PF data structure DESCRIPTION Returns 0 for success or error. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c ice_fltr_to_ethtool_flow(9), i...
ice_fdir_del_all_fltrs(9)
NAME ice_fdir_del_all_fltrs - Delete all flow director filters SYNOPSIS void ice_fdir_del_all_fltrs (struct ice_vsi *vsi ); ARGUMENTS vsi the VSI being changed DESCRIPTION This function needs to be called while holding hw->fdir_fltr_lock SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ethtool_fd...
ice_fdir_do_rem_flow(9)
NAME ice_fdir_do_rem_flow - delete flow and possibly add perfect flow SYNOPSIS void ice_fdir_do_rem_flow (struct ice_pf *pf , enum ice_fltr_ptype flow_type ); ARGUMENTS pf PF structure flow_type FDir flow type to release SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c ic...
ice_fdir_erase_flow_from_hw(9)
NAME ice_fdir_erase_flow_from_hw - remove a flow from the HW profile tables SYNOPSIS void ice_fdir_erase_flow_from_hw (struct ice_hw *hw , enum ice_block blk , int flow ); ARGUMENTS hw hardware structure containing the filter list blk hardware block flow FDir flow type to relea...
ice_fdir_find_fltr_by_idx(9)
NAME ice_fdir_find_fltr_by_idx - find filter with idx SYNOPSIS struct ice_fdir_fltr * ice_fdir_find_fltr_by_idx (struct ice_hw *hw , u32 fltr_idx ); ARGUMENTS hw pointer to hardware structure fltr_idx index to find. DESCRIPTION Returns pointer to filter if found or null SEE ALSO Kernel file ./dr...
ice_fdir_get_gen_prgm_pkt(9)
NAME ice_fdir_get_gen_prgm_pkt - generate a training packet SYNOPSIS int ice_fdir_get_gen_prgm_pkt (struct ice_hw *hw , struct ice_fdir_fltr *input , u8 *pkt , bool frag , bool tun ); ARGUMENTS hw pointer to the hardware structure input flow director filter data structure pkt po...
ice_fdir_get_hw_prof(9)
NAME ice_fdir_get_hw_prof - return the ice_fd_hw_proc associated with a flow SYNOPSIS struct ice_fd_hw_prof * ice_fdir_get_hw_prof (struct ice_hw *hw , enum ice_block blk , int flow ); ARGUMENTS hw hardware structure containing the filter list blk hardware block flow FDir flow ...
ice_fdir_get_prgm_desc(9)
NAME ice_fdir_get_prgm_desc - set a fdir descriptor from a fdir filter struct SYNOPSIS void ice_fdir_get_prgm_desc (struct ice_hw *hw , struct ice_fdir_fltr *input , struct ice_fltr_desc *fdesc , bool add ); ARGUMENTS hw pointer to the hardware structure input filter fdesc filter ...
ice_fdir_has_frag(9)
NAME ice_fdir_has_frag - does flow type have 2 ptypes SYNOPSIS bool ice_fdir_has_frag (enum ice_fltr_ptype flow ); ARGUMENTS flow flow ptype RETURN true if there is a fragment packet for this ptype SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_fdir.c ice_set_dflt_val_fd_desc(9), ice_set_fd_desc_v...
ice_fdir_is_dup_fltr(9)
NAME ice_fdir_is_dup_fltr - test if filter is already in list for PF SYNOPSIS bool ice_fdir_is_dup_fltr (struct ice_hw *hw , struct ice_fdir_fltr *input ); ARGUMENTS hw hardware data structure input Flow Director filter data structure DESCRIPTION Returns true if the filter is found in the list...
ice_fdir_list_add_fltr(9)
NAME ice_fdir_list_add_fltr - add a new node to the flow director filter list SYNOPSIS void ice_fdir_list_add_fltr (struct ice_hw *hw , struct ice_fdir_fltr *fltr ); ARGUMENTS hw hardware structure fltr filter node to add to structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_...
ice_fdir_num_avail_fltr(9)
NAME ice_fdir_num_avail_fltr - return the number of unused flow director filters SYNOPSIS int ice_fdir_num_avail_fltr (struct ice_hw *hw , struct ice_vsi *vsi ); ARGUMENTS hw pointer to hardware structure vsi software VSI structure DESCRIPTION There are 2 filter pools: guaranteed and be...
ice_fdir_prof_vsi_idx(9)
NAME ice_fdir_prof_vsi_idx - find or insert a vsi_idx in structure SYNOPSIS u16 ice_fdir_prof_vsi_idx (struct ice_fd_hw_prof *prof , int vsi_idx ); ARGUMENTS prof pointer to flow director HW profile vsi_idx vsi_idx to locate DESCRIPTION return the index of the vsi_idx. if vsi_idx is not found inse...
ice_fdir_release_flows(9)
NAME ice_fdir_release_flows - release all flows in use for later replay SYNOPSIS void ice_fdir_release_flows (struct ice_hw *hw ); ARGUMENTS hw pointer to HW instance SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c ice_fltr_to_ethtool_flow(9), ice_ethtool_flow_to_fltr(9), ice_is_m...
ice_fdir_rem_adq_chnl(9)
NAME ice_fdir_rem_adq_chnl - remove an ADQ channel from HW filter rules SYNOPSIS void ice_fdir_rem_adq_chnl (struct ice_hw *hw , u16 vsi_idx ); ARGUMENTS hw hardware structure containing filter list vsi_idx VSI handle SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c ice...
ice_fdir_rem_flow(9)
NAME ice_fdir_rem_flow - release the ice_flow structures for a filter type SYNOPSIS void ice_fdir_rem_flow (struct ice_hw *hw , enum ice_block blk , enum ice_fltr_ptype flow_type ); ARGUMENTS hw hardware structure containing the filter list blk hardware block flow_type FDir flow typ...
ice_fdir_remap_entries(9)
NAME ice_fdir_remap_entries - update the FDir entries in profile SYNOPSIS void ice_fdir_remap_entries (struct ice_fd_hw_prof *prof , int tun , int idx ); ARGUMENTS prof FDir structure pointer tun tunneled or non-tunneled packet idx FDir entry index SEE ALSO Kernel file ./...
ice_fdir_replay_flows(9)
NAME ice_fdir_replay_flows - replay HW Flow Director filter info SYNOPSIS void ice_fdir_replay_flows (struct ice_hw *hw ); ARGUMENTS hw pointer to HW instance SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c ice_fltr_to_ethtool_flow(9), ice_ethtool_flow_to_fltr(9), ice_is_mask_vali...
ice_fdir_replay_fltrs(9)
NAME ice_fdir_replay_fltrs - replay filters from the HW filter list SYNOPSIS void ice_fdir_replay_fltrs (struct ice_pf *pf ); ARGUMENTS pf board private structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c ice_fltr_to_ethtool_flow(9), ice_ethtool_flow_to_fltr(9), ice_is_m...
ice_fdir_set_hw_fltr_rule(9)
NAME ice_fdir_set_hw_fltr_rule - Configure HW tables to generate a FDir rule SYNOPSIS int ice_fdir_set_hw_fltr_rule (struct ice_pf *pf , struct ice_flow_seg_info *seg , enum ice_fltr_ptype flow , enum ice_fd_hw_seg tun ); ARGUMENTS pf pointer to the PF structure seg protocol header descriptio...
ice_fdir_update_cntrs(9)
NAME ice_fdir_update_cntrs - increment / decrement filter counter SYNOPSIS void ice_fdir_update_cntrs (struct ice_hw *hw , enum ice_fltr_ptype flow , bool add ); ARGUMENTS hw pointer to hardware structure flow filter flow type add true implies filters added SEE ALSO Kernel fil...
ice_fdir_update_list_entry(9)
NAME ice_fdir_update_list_entry - add or delete a filter from the filter list SYNOPSIS int ice_fdir_update_list_entry (struct ice_pf *pf , struct ice_fdir_fltr *input , int fltr_idx ); ARGUMENTS pf PF structure input filter structure fltr_idx ethtool index of filter to modify DESCRI...
ice_fdir_vlan_valid(9)
NAME ice_fdir_vlan_valid - validate VLAN data for Flow Director rule SYNOPSIS bool ice_fdir_vlan_valid (struct device *dev , struct ethtool_rx_flow_spec *fsp ); ARGUMENTS dev network interface device structure fsp pointer to ethtool Rx flow specification RETURN true if vlan data is valid, fal...
ice_fdir_write_all_fltr(9)
NAME ice_fdir_write_all_fltr - send a flow director filter to the hardware SYNOPSIS int ice_fdir_write_all_fltr (struct ice_pf *pf , struct ice_fdir_fltr *input , bool add ); ARGUMENTS pf PF data structure input filter structure add true adds filter and false removed filter DES...
ice_fdir_write_fltr(9)
NAME ice_fdir_write_fltr - send a flow director filter to the hardware SYNOPSIS int ice_fdir_write_fltr (struct ice_pf *pf , struct ice_fdir_fltr *input , bool add , bool is_tun ); ARGUMENTS pf PF data structure input filter structure add true adds filter and false removed filte...
ice_features_check(9)
NAME ice_features_check - Validate encapsulated packet conforms to limits SYNOPSIS netdev_features_t ice_features_check (struct sk_buff *skb , struct net_device *netdev , netdev_features_t features ); ARGUMENTS skb skb buffer netdev This port's netdev features Offload features that the...
ice_fetch_rx_ring_stats(9)
NAME ice_fetch_rx_ring_stats - Fetch Rx ring packet and byte counters SYNOPSIS void ice_fetch_rx_ring_stats (const struct ice_rx_ring *ring , u64 *pkts , u64 *bytes ); ARGUMENTS ring ring to read pkts number of processed packets bytes number of processed bytes SEE ALSO Kernel f...
ice_fetch_tx_ring_stats(9)
NAME ice_fetch_tx_ring_stats - Fetch Tx ring packet and byte counters SYNOPSIS void ice_fetch_tx_ring_stats (const struct ice_tx_ring *ring , u64 *pkts , u64 *bytes ); ARGUMENTS ring ring to update pkts number of processed packets bytes number of processed bytes SEE ALSO Kernel ...
ice_fetch_u64_rx_stats(9)
NAME ice_fetch_u64_rx_stats - get Rx stats from a ring SYNOPSIS void ice_fetch_u64_rx_stats (struct ice_rx_ring *ring , struct ice_vsi_rx_stats *copy ); ARGUMENTS ring the Rx ring to copy stats from copy temporary storage for the ring statistics DESCRIPTION Fetch the u64 stats from the ring usi...
ice_fetch_u64_tx_stats(9)
NAME ice_fetch_u64_tx_stats - get Tx stats from a ring SYNOPSIS void ice_fetch_u64_tx_stats (struct ice_tx_ring *ring , struct ice_vsi_tx_stats *copy ); ARGUMENTS ring the Tx ring to copy stats from copy temporary storage for the ring statistics DESCRIPTION Fetch the u64 stats from the ring usi...
ice_fill_adv_dummy_packet(9)
NAME ice_fill_adv_dummy_packet - fill a dummy packet with given match criteria SYNOPSIS int ice_fill_adv_dummy_packet (struct ice_adv_lkup_elem *lkups , u16 lkups_cnt , struct ice_sw_rule_lkup_rx_tx *s_rule , const struct ice_dummy_pkt_profile *profile ); ARGUMENTS lkups lookup elements or match criteria for th...
ice_fill_adv_packet_tun(9)
NAME ice_fill_adv_packet_tun - fill dummy packet with udp tunnel port SYNOPSIS int ice_fill_adv_packet_tun (struct ice_hw *hw , enum ice_sw_tunnel_type tun_type , u8 *pkt , const struct ice_dummy_pkt_offsets *offsets ); ARGUMENTS hw pointer to the hardware structure tun_type tunnel type pk...
ice_fill_adv_packet_vlan(9)
NAME ice_fill_adv_packet_vlan - fill dummy packet with VLAN tag type SYNOPSIS int ice_fill_adv_packet_vlan (struct ice_hw *hw , u16 vlan_type , u8 *pkt , const struct ice_dummy_pkt_offsets *offsets ); ARGUMENTS hw pointer to hw structure vlan_type VLAN tag type pkt dummy packet to f...
ice_fill_blk_tbls(9)
NAME ice_fill_blk_tbls - Read package context for tables SYNOPSIS void ice_fill_blk_tbls (struct ice_hw *hw ); ARGUMENTS hw pointer to the hardware structure DESCRIPTION Reads the current package contents and populates the driver database with the data iteratively for all advanced feature blocks. Assume tha...
ice_fill_dflt_direct_cmd_desc(9)
NAME ice_fill_dflt_direct_cmd_desc - AQ descriptor helper function SYNOPSIS void ice_fill_dflt_direct_cmd_desc (struct libie_aq_desc *desc , u16 opcode ); ARGUMENTS desc pointer to the temp descriptor (non DMA mem) opcode the opcode can be used to decide which flags to turn off or on DESCRIPTION ...
ice_fill_eth_hdr(9)
NAME ice_fill_eth_hdr - helper to copy dummy_eth_hdr into supplied buffer SYNOPSIS void ice_fill_eth_hdr (u8 *eth_hdr ); ARGUMENTS eth_hdr pointer to buffer to populate SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_switch.c ice_init_def_sw_recp(9), ice_aq_get_sw_cfg(9), ice_aq_add_vsi(9), ice_a...
ice_fill_fv_word_index(9)
NAME ice_fill_fv_word_index - fill in the field vector indices for a recipe group SYNOPSIS int ice_fill_fv_word_index (struct ice_hw *hw , struct ice_sw_recipe *rm ); ARGUMENTS hw pointer to the hardware structure rm recipe management list entry DESCRIPTION Helper function to fill in the fi...
ice_fill_hw_ptype(9)
NAME ice_fill_hw_ptype - fill the enabled PTYPE bit information SYNOPSIS void ice_fill_hw_ptype (struct ice_hw *hw ); ARGUMENTS hw pointer to the HW structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ddp.c ice_verify_pkg(9), ice_free_seg(9), ice_chk_pkg_version(9), ice_pkg_val_buf(9), ice_f...
ice_fill_phy_msg_e82x(9)
NAME ice_fill_phy_msg_e82x - Fill message data for a PHY register access SYNOPSIS void ice_fill_phy_msg_e82x (struct ice_hw *hw , struct ice_sbq_msg_input *msg , u8 port , u16 offset ); ARGUMENTS hw pointer to the HW struct msg the PHY message buffer to fill in port the port to...
ice_fill_quad_msg_e82x(9)
NAME ice_fill_quad_msg_e82x - Fill message data for quad register access SYNOPSIS int ice_fill_quad_msg_e82x (struct ice_hw *hw , struct ice_sbq_msg_input *msg , u8 quad , u16 offset ); ARGUMENTS hw pointer to the HW struct msg the PHY message buffer to fill in quad the quad to...
ice_fill_rss_lut(9)
NAME ice_fill_rss_lut - Fill the RSS lookup table with default values SYNOPSIS void ice_fill_rss_lut (u8 *lut , u16 rss_table_size , u16 rss_size ); ARGUMENTS lut Lookup table rss_table_size Lookup table size rss_size Range of queue number for hashing SEE ALSO Kernel f...
ice_fill_rx_descs(9)
NAME ice_fill_rx_descs - pick buffers from XSK buffer pool and use it SYNOPSIS u16 ice_fill_rx_descs (struct xsk_buff_pool *pool , struct xdp_buff **xdp , union ice_32b_rx_flex_desc *rx_desc , u16 count ); ARGUMENTS pool XSK Buffer pool to pull the buffers from xdp SW ring of xdp_buff that will...
ice_fill_sw_info(9)
NAME ice_fill_sw_info - Helper function to populate lb_en and lan_en SYNOPSIS void ice_fill_sw_info (struct ice_hw *hw , struct ice_fltr_info *fi ); ARGUMENTS hw pointer to the hardware structure fi filter info structure to fill/update DESCRIPTION This helper function populates the lb_en an...
ice_fill_sw_rule(9)
NAME ice_fill_sw_rule - Helper function to fill switch rule structure SYNOPSIS void ice_fill_sw_rule (struct ice_hw *hw , struct ice_fltr_info *f_info , struct ice_sw_rule_lkup_rx_tx *s_rule , enum ice_adminq_opc opc ); ARGUMENTS hw pointer to the hardware structure f_info entry containing packe...
ice_fill_tbl(9)
NAME ice_fill_tbl - Reads content of a single table type into database SYNOPSIS void ice_fill_tbl (struct ice_hw *hw , enum ice_block block_id , u32 sid ); ARGUMENTS hw pointer to the hardware structure block_id Block ID of the table to copy sid Section ID of the table to copy DES...
ice_fill_tx_hw_ring(9)
NAME ice_fill_tx_hw_ring - produce the number of Tx descriptors onto ring SYNOPSIS void ice_fill_tx_hw_ring (struct ice_tx_ring *xdp_ring , struct xsk_buff_pool *xsk_pool , struct xdp_desc *descs , u32 nb_pkts , unsigned int *total_bytes ); ARGUMENTS xdp_ring XDP ring to produce the HW Tx descriptors on xs...
ice_fill_tx_timer_and_fc_thresh(9)
NAME ice_fill_tx_timer_and_fc_thresh - SYNOPSIS void ice_fill_tx_timer_and_fc_thresh (struct ice_hw *hw , struct ice_aqc_set_mac_cfg *cmd ); ARGUMENTS hw pointer to the HW struct cmd pointer to MAC cfg structure DESCRIPTION Add Tx timer and FC refresh threshold info to Set MAC Config AQ comm...
ice_fill_txq_meta(9)
NAME ice_fill_txq_meta - Prepare the Tx queue's meta data SYNOPSIS void ice_fill_txq_meta (const struct ice_vsi *vsi , struct ice_tx_ring *ring , struct ice_txq_meta *txq_meta ); ARGUMENTS vsi VSI that ring belongs to ring ring that txq_meta will be based on txq_meta a helper struct ...
ice_fill_valid_words(9)
NAME ice_fill_valid_words - count valid words SYNOPSIS u8 ice_fill_valid_words (struct ice_adv_lkup_elem *rule , struct ice_prot_lkup_ext *lkup_exts ); ARGUMENTS rule advanced rule with lookup information lkup_exts byte offset extractions of the words that are valid DESCRIPTION calculate valid words...
ice_finalize_update(9)
NAME ice_finalize_update - Perform last steps to complete device update SYNOPSIS int ice_finalize_update (struct pldmfw *context ); ARGUMENTS context PLDM fw update structure DESCRIPTION Called as the last step of the update process. Complete the update by telling the firmware to switch active banks, and perform...
ice_finalize_xdp_rx(9)
NAME ice_finalize_xdp_rx - Bump XDP Tx tail and/or flush redirect map SYNOPSIS void ice_finalize_xdp_rx (struct ice_tx_ring *xdp_ring , unsigned int xdp_res , u32 first_idx ); ARGUMENTS xdp_ring XDP ring xdp_res Result of the receive batch first_idx index to write from caller DESCRIPTION Thi...
ice_find_adv_rule_entry(9)
NAME ice_find_adv_rule_entry - Search a rule entry SYNOPSIS struct ice_adv_fltr_mgmt_list_entry * ice_find_adv_rule_entry (struct ice_hw *hw , struct ice_adv_lkup_elem *lkups , u16 lkups_cnt , u16 recp_id , struct ice_adv_rule_info *rinfo ); ARGUMENTS hw pointer to the hardware structure lkups ...
ice_find_boost_entry(9)
NAME ice_find_boost_entry - SYNOPSIS int ice_find_boost_entry (struct ice_seg *ice_seg , u16 addr , struct ice_boost_tcam_entry **entry ); ARGUMENTS ice_seg pointer to the ice segment (non-NULL) addr Boost TCAM address of entry to search for entry returns pointer to the entry DESCRIP...
ice_find_buf_table(9)
NAME ice_find_buf_table - SYNOPSIS struct ice_buf_table * ice_find_buf_table (struct ice_seg *ice_seg ); ARGUMENTS ice_seg pointer to the ice segment DESCRIPTION Returns the address of the buffer table within the ice segment. SEE ALSO Kernel file ./drivers/net/ethernet/intel/ice/ice_ddp.c ice_verify_pkg(9...
ice_find_dummy_packet(9)
NAME ice_find_dummy_packet - find dummy packet SYNOPSIS const struct ice_dummy_pkt_profile * ice_find_dummy_packet (struct ice_adv_lkup_elem *lkups , u16 lkups_cnt , enum ice_sw_tunnel_type tun_type ); ARGUMENTS lkups lookup elements or match criteria for the advanced recipe, one structure per protocol header ...
ice_find_dup_props_vsig(9)
NAME ice_find_dup_props_vsig - find VSI group with a specified set of properties SYNOPSIS int ice_find_dup_props_vsig (struct ice_hw *hw , enum ice_block blk , struct list_head *chs , u16 *vsig ); ARGUMENTS hw pointer to the hardware structure blk HW block chs characteristic l...
ice_find_free_recp_res_idx(9)
NAME ice_find_free_recp_res_idx - find free result indexes for recipe SYNOPSIS u16 ice_find_free_recp_res_idx (struct ice_hw *hw , const unsigned long *profiles , unsigned long *free_idx ); ARGUMENTS hw pointer to hardware structure profiles bitmap of profiles that will be associated with the new ...
ice_find_netlist_node(9)
NAME ice_find_netlist_node - SYNOPSIS int ice_find_netlist_node (struct ice_hw *hw , u8 node_type , u8 ctx , u8 node_part_number , u16 *node_handle ); ARGUMENTS hw pointer to the hw struct node_type type of netlist node to look for ctx context of the search node_part_number ...
ice_find_prof_id_with_mask(9)
NAME ice_find_prof_id_with_mask - find profile ID for a given field vector SYNOPSIS int ice_find_prof_id_with_mask (struct ice_hw *hw , enum ice_block blk , struct ice_fv_word *fv , u16 *masks , bool symm , u8 *prof_id ); ARGUMENTS hw pointer to the hardware structure blk HW block fv ...
ice_find_prof_vsig(9)
NAME ice_find_prof_vsig - find a VSIG with a specific profile handle SYNOPSIS bool ice_find_prof_vsig (struct ice_hw *hw , enum ice_block blk , u64 hdl , u16 *vsig ); ARGUMENTS hw pointer to the HW struct blk hardware block hdl the profile handle of the profile to search for ...
ice_find_prot_off(9)
NAME ice_find_prot_off - find prot ID and offset pair, based on prof and FV index SYNOPSIS int ice_find_prot_off (struct ice_hw *hw , enum ice_block blk , u8 prof , u16 fv_idx , u8 *prot , u16 *off ); ARGUMENTS hw pointer to the hardware structure blk hardware block prof profil...
ice_find_q_in_range(9)
NAME ice_find_q_in_range - SYNOPSIS bool ice_find_q_in_range (u16 low , u16 high , unsigned int tx_q ); ARGUMENTS low start of queue range for a TC i.e. offset of TC high start of queue for next TC tx_q hung_queue/tx_queue DESCRIPTION finds if queue 'tx_q' falls between the two ...
ice_find_recp(9)
NAME ice_find_recp - find a recipe SYNOPSIS u16 ice_find_recp (struct ice_hw *hw , struct ice_prot_lkup_ext *lkup_exts , const struct ice_adv_rule_info *rinfo , bool is_add ); ARGUMENTS hw pointer to the hardware structure lkup_exts extension sequence to match rinfo information regard...