id
stringlengths
4
63
text
stringlengths
153
8.81M
idpf_prepare_ena_dis_qs_msg(9)
NAME idpf_prepare_ena_dis_qs_msg - prepare message to enable/disable selected queues SYNOPSIS u32 idpf_prepare_ena_dis_qs_msg (u32 vport_id , void *buf , const void *pos , u32 num_chunks ); ARGUMENTS vport_id ID of virtual port queues are associated with buf buffer containing the message po...
idpf_prepare_ptp_mb_msg(9)
NAME idpf_prepare_ptp_mb_msg - Prepare PTP related message SYNOPSIS void idpf_prepare_ptp_mb_msg (struct idpf_adapter *adapter , u32 op , struct idpf_ctlq_msg *ctlq_msg ); ARGUMENTS adapter Driver specific private structure op virtchnl opcode ctlq_msg Corresponding control queue messag...
idpf_probe(9)
NAME idpf_probe - Device initialization routine SYNOPSIS int idpf_probe (struct pci_dev *pdev , const struct pci_device_id *ent ); ARGUMENTS pdev PCI device information struct ent entry in idpf_pci_tbl DESCRIPTION Returns 0 on success, negative on failure SEE ALSO Kernel file ./drivers/net/et...
idpf_ptp_adj_dev_clk_fine(9)
NAME idpf_ptp_adj_dev_clk_fine - Send virtchnl adj time message SYNOPSIS int idpf_ptp_adj_dev_clk_fine (struct idpf_adapter *adapter , u64 incval ); ARGUMENTS adapter Driver specific private structure incval Source timer increment value per clock cycle DESCRIPTION Send virtchnl adj fine message to a...
idpf_ptp_adj_dev_clk_time(9)
NAME idpf_ptp_adj_dev_clk_time - Send virtchnl adj device clock time message SYNOPSIS int idpf_ptp_adj_dev_clk_time (struct idpf_adapter *adapter , s64 delta ); ARGUMENTS adapter Driver specific private structure delta Offset in nanoseconds to adjust the time by DESCRIPTION Send virtchnl adj time m...
idpf_ptp_adjfine(9)
NAME idpf_ptp_adjfine - Adjust clock increment rate SYNOPSIS int idpf_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 s...
idpf_ptp_adjtime(9)
NAME idpf_ptp_adjtime - Adjust the time of the clock by the indicated delta SYNOPSIS int idpf_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 RETURN 0 on success, -errno otherwise. SEE ALSO ...
idpf_ptp_adjtime_nonatomic(9)
NAME idpf_ptp_adjtime_nonatomic - Do a non-atomic clock adjustment SYNOPSIS int idpf_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 RETURN 0 on success, -errno otherwise. SEE ALSO...
idpf_ptp_create_clock(9)
NAME idpf_ptp_create_clock - Create PTP clock device for userspace SYNOPSIS int idpf_ptp_create_clock (const struct idpf_adapter *adapter ); ARGUMENTS adapter Driver specific private structure DESCRIPTION This function creates a new PTP clock device. RETURN 0 on success, -errno otherwise. SEE ALSO Kernel file...
idpf_ptp_do_aux_work(9)
NAME idpf_ptp_do_aux_work - Do PTP periodic work SYNOPSIS long idpf_ptp_do_aux_work (struct ptp_clock_info *info ); ARGUMENTS info Driver's PTP info structure RETURN Number of jiffies to periodic work. SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_ptp.c idpf_ptp_get_access(9), idpf_ptp_get_...
idpf_ptp_enable_shtime(9)
NAME idpf_ptp_enable_shtime - Enable shadow time and execute a command SYNOPSIS void idpf_ptp_enable_shtime (struct idpf_adapter *adapter ); ARGUMENTS adapter Driver specific private structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_ptp.c idpf_ptp_get_access(9), idpf_ptp_get_features_acces...
idpf_ptp_extend_ts(9)
NAME idpf_ptp_extend_ts - Convert a 40b timestamp to 64b nanoseconds SYNOPSIS u64 idpf_ptp_extend_ts (struct idpf_vport *vport , u64 in_tstamp ); ARGUMENTS vport Virtual port structure in_tstamp Ingress/egress timestamp value DESCRIPTION It is assumed that the caller verifies the timestamp is valid...
idpf_ptp_get_access(9)
NAME idpf_ptp_get_access - Determine the access type of the PTP features SYNOPSIS enum idpf_ptp_access idpf_ptp_get_access (const struct idpf_adapter *adapter , u32 direct , u32 mailbox ); ARGUMENTS adapter Driver specific private structure direct Capability that indicates the direct access m...
idpf_ptp_get_caps(9)
NAME idpf_ptp_get_caps - Send virtchnl get ptp capabilities message SYNOPSIS int idpf_ptp_get_caps (struct idpf_adapter *adapter ); ARGUMENTS adapter Driver specific private structure DESCRIPTION Send virtchnl get PTP capabilities message. RETURN 0 on success, -errno on failure. SEE ALSO Kernel file ./drive...
idpf_ptp_get_cross_time(9)
NAME idpf_ptp_get_cross_time - Send virtchnl get cross time message SYNOPSIS int idpf_ptp_get_cross_time (struct idpf_adapter *adapter , struct idpf_ptp_dev_timers *cross_time ); ARGUMENTS adapter Driver specific private structure cross_time Pointer to the device clock structure where the value is set D...
idpf_ptp_get_crosststamp(9)
NAME idpf_ptp_get_crosststamp - Capture a device cross timestamp SYNOPSIS int idpf_ptp_get_crosststamp (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 cr...
idpf_ptp_get_dev_clk_time(9)
NAME idpf_ptp_get_dev_clk_time - Send virtchnl get device clk time message SYNOPSIS int idpf_ptp_get_dev_clk_time (struct idpf_adapter *adapter , struct idpf_ptp_dev_timers *dev_clk_time ); ARGUMENTS adapter Driver specific private structure dev_clk_time Pointer to the device clock stru...
idpf_ptp_get_features_access(9)
NAME idpf_ptp_get_features_access - Determine the access type of PTP features SYNOPSIS void idpf_ptp_get_features_access (const struct idpf_adapter *adapter ); ARGUMENTS adapter Driver specific private structure DESCRIPTION Fulfill the adapter structure with type of the supported PTP features access. SEE ALSO K...
idpf_ptp_get_sync_device_time(9)
NAME idpf_ptp_get_sync_device_time - Get the cross time stamp info SYNOPSIS int idpf_ptp_get_sync_device_time (ktime_t *device , struct system_counterval_t *system , void *ctx ); ARGUMENTS device Current device time system System counter value read synchronously with device time ctx ...
idpf_ptp_get_sync_device_time_direct(9)
NAME idpf_ptp_get_sync_device_time_direct - Get the cross time stamp values directly SYNOPSIS void idpf_ptp_get_sync_device_time_direct (struct idpf_adapter *adapter , u64 *dev_time , u64 *sys_time ); ARGUMENTS adapter Driver specific private structure dev_time 64bit main timer value sys_time ...
idpf_ptp_get_sync_device_time_mailbox(9)
NAME idpf_ptp_get_sync_device_time_mailbox - Get the cross time stamp values through mailbox SYNOPSIS int idpf_ptp_get_sync_device_time_mailbox (struct idpf_adapter *adapter , u64 *dev_time , u64 *sys_time ); ARGUMENTS adapter Driver specific private structure dev_time 64bit main timer value expressed ...
idpf_ptp_get_tstamp_value(9)
NAME idpf_ptp_get_tstamp_value - Get the Tx timestamp value and provide it back to the skb. SYNOPSIS int idpf_ptp_get_tstamp_value (struct idpf_vport *vport , struct virtchnl2_ptp_tx_tstamp_latch *tstamp_latch , struct idpf_ptp_tx_tstamp *ptp_tx_tstamp ); ARGUMENTS vport Virtual port structure tstamp_la...
idpf_ptp_get_tx_tstamp(9)
NAME idpf_ptp_get_tx_tstamp - Send virtchnl get Tx timestamp latches message SYNOPSIS int idpf_ptp_get_tx_tstamp (struct idpf_vport *vport ); ARGUMENTS vport Virtual port structure DESCRIPTION Send virtchnl get Tx tstamp message to read the value of the HW timestamp. The message contains a list of indexes set...
idpf_ptp_get_tx_tstamp_async_handler(9)
NAME idpf_ptp_get_tx_tstamp_async_handler - Async callback for getting Tx tstamps SYNOPSIS int idpf_ptp_get_tx_tstamp_async_handler (struct idpf_adapter *adapter , struct idpf_vc_xn *xn , const struct idpf_ctlq_msg *ctlq_msg ); ARGUMENTS adapter Driver specific private structure xn transaction fo...
idpf_ptp_get_txq_tstamp_capability(9)
NAME idpf_ptp_get_txq_tstamp_capability - Verify the timestamping capability for a given tx queue. SYNOPSIS bool idpf_ptp_get_txq_tstamp_capability (struct idpf_tx_queue *txq ); ARGUMENTS txq Transmit queue DESCRIPTION Since performing timestamp flows requires reading the device clock value and the support i...
idpf_ptp_get_vport_tstamps_caps(9)
NAME idpf_ptp_get_vport_tstamps_caps - Send virtchnl to get tstamps caps for vport SYNOPSIS int idpf_ptp_get_vport_tstamps_caps (struct idpf_vport *vport ); ARGUMENTS vport Virtual port structure DESCRIPTION Send virtchnl get vport tstamps caps message to receive the set of tstamp capabilities per vport. RETU...
idpf_ptp_gettimex64(9)
NAME idpf_ptp_gettimex64 - Get the time of the clock SYNOPSIS int idpf_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 ...
idpf_ptp_gpio_enable(9)
NAME idpf_ptp_gpio_enable - Enable/disable ancillary features of PHC SYNOPSIS int idpf_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 fl...
idpf_ptp_info_to_adapter(9)
NAME idpf_ptp_info_to_adapter - get driver adapter struct from ptp_clock_info SYNOPSIS struct idpf_adapter * idpf_ptp_info_to_adapter (const struct ptp_clock_info *info ); ARGUMENTS info pointer to ptp_clock_info struct RETURN pointer to the corresponding adapter struct SEE ALSO Kernel file ./drivers/net/e...
idpf_ptp_init(9)
NAME idpf_ptp_init - Initialize PTP hardware clock support SYNOPSIS int idpf_ptp_init (struct idpf_adapter *adapter ); ARGUMENTS adapter Driver specific private structure DESCRIPTION Set up the device for interacting with the PTP hardware clock for all functions. Function will allocate and register a ptp_clock w...
idpf_ptp_is_mb_msg(9)
NAME idpf_ptp_is_mb_msg - Check if the message is PTP-related SYNOPSIS bool idpf_ptp_is_mb_msg (u32 op ); ARGUMENTS op virtchnl opcode RETURN true if msg is PTP-related, false otherwise. SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_virtchnl.c struct idpf_vc_xn_manager(9), idpf_vid_to_...
idpf_ptp_is_vport_rx_tstamp_ena(9)
NAME idpf_ptp_is_vport_rx_tstamp_ena - Verify the Rx timestamping enablement for a given vport. SYNOPSIS bool idpf_ptp_is_vport_rx_tstamp_ena (struct idpf_vport *vport ); ARGUMENTS vport Virtual port structure DESCRIPTION Rx timestamp feature is enabled if the PTP clock for the adapter is created and it is ...
idpf_ptp_is_vport_tx_tstamp_ena(9)
NAME idpf_ptp_is_vport_tx_tstamp_ena - Verify the Tx timestamping enablement for a given vport. SYNOPSIS bool idpf_ptp_is_vport_tx_tstamp_ena (struct idpf_vport *vport ); ARGUMENTS vport Virtual port structure DESCRIPTION Tx timestamp capabilities are negotiated with the Control Plane only if the device cl...
idpf_ptp_read_src_clk_reg(9)
NAME idpf_ptp_read_src_clk_reg - Read the main timer value SYNOPSIS int idpf_ptp_read_src_clk_reg (struct idpf_adapter *adapter , u64 *src_clk , struct ptp_system_timestamp *sts ); ARGUMENTS adapter Driver specific private structure src_clk Returned main timer value in nanoseconds unit sts ...
idpf_ptp_read_src_clk_reg_direct(9)
NAME idpf_ptp_read_src_clk_reg_direct - Read directly the main timer value SYNOPSIS u64 idpf_ptp_read_src_clk_reg_direct (struct idpf_adapter *adapter , struct ptp_system_timestamp *sts ); ARGUMENTS adapter Driver specific private structure sts Optional parameter for holding a pair of system times...
idpf_ptp_read_src_clk_reg_mailbox(9)
NAME idpf_ptp_read_src_clk_reg_mailbox - Read the main timer value through mailbox SYNOPSIS int idpf_ptp_read_src_clk_reg_mailbox (struct idpf_adapter *adapter , struct ptp_system_timestamp *sts , u64 *src_clk ); ARGUMENTS adapter Driver specific private structure sts Optional parameter for holdin...
idpf_ptp_reg_init(9)
NAME idpf_ptp_reg_init - Initialize required registers SYNOPSIS void idpf_ptp_reg_init (const struct idpf_adapter *adapter ); ARGUMENTS adapter Driver specific private structure DESCRIPTION Set the bits required for enabling shtime and cmd execution SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_...
idpf_ptp_release(9)
NAME idpf_ptp_release - Clear PTP hardware clock support SYNOPSIS void idpf_ptp_release (struct idpf_adapter *adapter ); ARGUMENTS adapter Driver specific private structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_ptp.c idpf_ptp_get_access(9), idpf_ptp_get_features_access(9), idpf_ptp_ena...
idpf_ptp_release_tstamp(9)
NAME idpf_ptp_release_tstamp - Release the Tx timestamps trackers SYNOPSIS void idpf_ptp_release_tstamp (struct idpf_adapter *adapter ); ARGUMENTS adapter Driver specific private structure DESCRIPTION Remove the queues and delete lists that tracks Tx timestamp entries. SEE ALSO Kernel file ./drivers/net/ether...
idpf_ptp_release_vport_tstamp(9)
NAME idpf_ptp_release_vport_tstamp - Release the Tx timestamps trakcers for a given vport. SYNOPSIS void idpf_ptp_release_vport_tstamp (struct idpf_vport *vport ); ARGUMENTS vport Virtual port structure DESCRIPTION Remove the queues and delete lists that tracks Tx timestamp entries for a given vport. SEE ALSO...
idpf_ptp_request_ts(9)
NAME idpf_ptp_request_ts - Request an available Tx timestamp index SYNOPSIS int idpf_ptp_request_ts (struct idpf_tx_queue *tx_q , struct sk_buff *skb , u32 *idx ); ARGUMENTS tx_q Transmit queue on which the Tx timestamp is requested skb The SKB to associate with this timestamp request i...
idpf_ptp_set_caps(9)
NAME idpf_ptp_set_caps - Set PTP capabilities SYNOPSIS void idpf_ptp_set_caps (const struct idpf_adapter *adapter ); ARGUMENTS adapter Driver specific private structure DESCRIPTION This function sets the PTP functions. SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_ptp.c idpf_ptp_get_access(9), ...
idpf_ptp_set_dev_clk_time(9)
NAME idpf_ptp_set_dev_clk_time - Send virtchnl set device time message SYNOPSIS int idpf_ptp_set_dev_clk_time (struct idpf_adapter *adapter , u64 time ); ARGUMENTS adapter Driver specific private structure time New time value DESCRIPTION Send virtchnl set time message to set the time of the clock....
idpf_ptp_set_rx_tstamp(9)
NAME idpf_ptp_set_rx_tstamp - Enable or disable Rx timestamping SYNOPSIS void idpf_ptp_set_rx_tstamp (struct idpf_vport *vport , int rx_filter ); ARGUMENTS vport Virtual port structure rx_filter Receive timestamp filter SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_ptp.c idpf_ptp_get...
idpf_ptp_set_timestamp_mode(9)
NAME idpf_ptp_set_timestamp_mode - Setup driver for requested timestamp mode SYNOPSIS int idpf_ptp_set_timestamp_mode (struct idpf_vport *vport , struct kernel_hwtstamp_config *config ); ARGUMENTS vport Virtual port structure config Hwtstamp settings requested or saved RETURN 0 on success, -errno ...
idpf_ptp_settime64(9)
NAME idpf_ptp_settime64 - Set the time of the clock SYNOPSIS int idpf_ptp_settime64 (struct ptp_clock_info *info , const struct timespec64 *ts ); ARGUMENTS info the driver's PTP info structure ts timespec64 structure that holds the new time value DESCRIPTION Set the device clock to the user i...
idpf_ptp_tstamp_extend_32b_to_64b(9)
NAME idpf_ptp_tstamp_extend_32b_to_64b - Convert a 32b nanoseconds Tx or Rx timestamp value to 64b. SYNOPSIS u64 idpf_ptp_tstamp_extend_32b_to_64b (u64 cached_phc_time , u32 in_timestamp ); ARGUMENTS cached_phc_time recently cached copy of PHC time in_timestamp Ingress/egress 32b nanosecond...
idpf_ptp_update_cached_phctime(9)
NAME idpf_ptp_update_cached_phctime - Update the cached PHC time values SYNOPSIS int idpf_ptp_update_cached_phctime (struct idpf_adapter *adapter ); ARGUMENTS adapter Driver specific private structure DESCRIPTION This function updates the system time values which are cached in the adapter structure and the Rx qu...
idpf_ptp_update_phctime_rxq_grp(9)
NAME idpf_ptp_update_phctime_rxq_grp - Update the cached PHC time for a given Rx queue group. SYNOPSIS void idpf_ptp_update_phctime_rxq_grp (const struct idpf_rxq_group *grp , bool split , u64 systime ); ARGUMENTS grp receive queue group in which Rx timestamp is enabled split Indicates whether t...
idpf_ptp_update_tstamp_tracker(9)
NAME idpf_ptp_update_tstamp_tracker - Update the Tx timestamp tracker based on the skb compatibility. SYNOPSIS bool idpf_ptp_update_tstamp_tracker (struct idpf_ptp_vport_tx_tstamp_caps *caps , struct sk_buff *skb , enum idpf_ptp_tx_tstamp_state current_state , enum idpf_ptp_tx_tstamp_state expected_state ); ARGUMENTS...
idpf_ptp_verify_pin(9)
NAME idpf_ptp_verify_pin - Verify if pin supports requested pin function SYNOPSIS int idpf_ptp_verify_pin (struct ptp_clock_info *info , unsigned int pin , enum ptp_pin_function func , unsigned int chan ); ARGUMENTS info the driver's PTP info structure pin Pin index func Assigned...
idpf_qp_switch(9)
NAME idpf_qp_switch - enable or disable queues associated with queue pair SYNOPSIS int idpf_qp_switch (struct idpf_vport *vport , u32 qid , bool en ); ARGUMENTS vport vport to switch the pair for qid index of the queue pair to switch en whether to enable or disable the pair RET...
idpf_queue_reg_init(9)
NAME idpf_queue_reg_init - initialize queue registers SYNOPSIS int idpf_queue_reg_init (struct idpf_vport *vport , struct idpf_q_vec_rsrc *rsrc , struct idpf_queue_id_reg_info *chunks ); ARGUMENTS vport virtual port structure rsrc pointer to queue and vector resources chunks queue re...
idpf_recv_event_msg(9)
NAME idpf_recv_event_msg - Receive virtchnl event message SYNOPSIS void idpf_recv_event_msg (struct idpf_adapter *adapter , struct idpf_ctlq_msg *ctlq_msg ); ARGUMENTS adapter Driver specific private structure ctlq_msg message to copy from DESCRIPTION Receive virtchnl event message SEE ALSO Kernel ...
idpf_recv_mb_msg(9)
NAME idpf_recv_mb_msg - Receive message over mailbox SYNOPSIS int idpf_recv_mb_msg (struct idpf_adapter *adapter , struct idpf_ctlq_info *arq ); ARGUMENTS adapter driver specific private structure arq control queue to receive message from DESCRIPTION Will receive control queue message and posts t...
idpf_reg_ops_init(9)
NAME idpf_reg_ops_init - Initialize register API function pointers SYNOPSIS void idpf_reg_ops_init (struct idpf_adapter *adapter ); ARGUMENTS adapter Driver specific private structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_dev.c idpf_ctlq_reg_init(9), idpf_mb_intr_reg_init(9), idpf_intr_re...
idpf_rel_rx_pt_lkup(9)
NAME idpf_rel_rx_pt_lkup - release RX ptype lookup table SYNOPSIS void idpf_rel_rx_pt_lkup (struct idpf_adapter *adapter ); ARGUMENTS adapter adapter pointer to get the lookup table SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_virtchnl.c struct idpf_vc_xn_manager(9), idpf_vid_to_vport(9), id...
idpf_remove(9)
NAME idpf_remove - Device removal routine SYNOPSIS void idpf_remove (struct pci_dev *pdev ); ARGUMENTS pdev PCI device information struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_main.c idpf_get_device_type(9), idpf_dev_init(9), idpf_shutdown(9), idpf_cfg_hw(9), idpf_probe(9) April 2026 ...
idpf_remove_features(9)
NAME idpf_remove_features - Turn off feature configs SYNOPSIS void idpf_remove_features (struct idpf_vport *vport ); ARGUMENTS vport virtual port structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_lib.c idpf_init_vector_stack(9), idpf_deinit_vector_stack(9), idpf_mb_intr_rel_ir...
idpf_remove_mac_filters(9)
NAME idpf_remove_mac_filters - Remove all MAC filters in list SYNOPSIS void idpf_remove_mac_filters (struct idpf_vport *vport ); ARGUMENTS vport main vport struct DESCRIPTION Takes mac_filter_list_lock spinlock. Sets remove field to true for filters to remove filters in HW. SEE ALSO Kernel file ./driver...
idpf_req_rel_vector_indexes(9)
NAME idpf_req_rel_vector_indexes - Request or release MSIX vector indexes SYNOPSIS int idpf_req_rel_vector_indexes (struct idpf_adapter *adapter , u16 *q_vector_idxs , struct idpf_vector_info *vec_info ); ARGUMENTS adapter driver specific private structure q_vector_idxs vector index arr...
idpf_reset_reg_init(9)
NAME idpf_reset_reg_init - Initialize reset registers SYNOPSIS void idpf_reset_reg_init (struct idpf_adapter *adapter ); ARGUMENTS adapter Driver specific private structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_dev.c idpf_ctlq_reg_init(9), idpf_mb_intr_reg_init(9), idpf_intr_reg_init(9)...
idpf_restore_features(9)
NAME idpf_restore_features - Restore feature configs SYNOPSIS void idpf_restore_features (struct idpf_vport *vport ); ARGUMENTS vport virtual port structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_lib.c idpf_init_vector_stack(9), idpf_deinit_vector_stack(9), idpf_mb_intr_rel_i...
idpf_restore_mac_filters(9)
NAME idpf_restore_mac_filters - Re-add all MAC filters in list SYNOPSIS void idpf_restore_mac_filters (struct idpf_vport *vport ); ARGUMENTS vport main vport struct DESCRIPTION Takes mac_filter_list_lock spinlock. Sets add field to true for filters to resync filters back to HW. SEE ALSO Kernel file ./driv...
idpf_rx_buf_alloc_all(9)
NAME idpf_rx_buf_alloc_all - Allocate memory for all buffer resources SYNOPSIS int idpf_rx_buf_alloc_all (struct idpf_buf_queue *rxbufq ); ARGUMENTS rxbufq queue for which the buffers are allocated RETURN 0 on success, negative on failure SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_txrx.c idpf...
idpf_rx_buf_alloc_singleq(9)
NAME idpf_rx_buf_alloc_singleq - Allocate memory for all buffer resources SYNOPSIS int idpf_rx_buf_alloc_singleq (struct idpf_rx_queue *rxq ); ARGUMENTS rxq queue for which the buffers are allocated RETURN 0 on success, -ENOMEM on failure. SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_txrx...
idpf_rx_buf_hw_update(9)
NAME idpf_rx_buf_hw_update - Store the new tail and head values SYNOPSIS void idpf_rx_buf_hw_update (struct idpf_buf_queue *bufq , u32 val ); ARGUMENTS bufq queue to bump val new head index SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_txrx.c idpf_chk_linearize(9), idpf_tx_timeo...
idpf_rx_buf_rel_all(9)
NAME idpf_rx_buf_rel_all - Free all Rx buffer resources for a receive queue SYNOPSIS void idpf_rx_buf_rel_all (struct idpf_rx_queue *rxq ); ARGUMENTS rxq queue to be cleaned SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_txrx.c idpf_chk_linearize(9), idpf_tx_timeout(9), idpf_tx_buf_rel_all(9), ...
idpf_rx_buf_rel_bufq(9)
NAME idpf_rx_buf_rel_bufq - Free all Rx buffer resources for a buffer queue SYNOPSIS void idpf_rx_buf_rel_bufq (struct idpf_buf_queue *bufq ); ARGUMENTS bufq queue to be cleaned SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_txrx.c idpf_chk_linearize(9), idpf_tx_timeout(9), idpf_tx_buf_rel_all(9...
idpf_rx_bufs_init(9)
NAME idpf_rx_bufs_init - Initialize page pool, allocate rx bufs, and post to HW SYNOPSIS int idpf_rx_bufs_init (struct idpf_buf_queue *bufq , enum libeth_fqe_type type ); ARGUMENTS bufq buffer queue to create page pool for type type of Rx buffers to allocate RETURN 0 on success, negative on fai...
idpf_rx_bufs_init_all(9)
NAME idpf_rx_bufs_init_all - Initialize all RX bufs SYNOPSIS int idpf_rx_bufs_init_all (struct idpf_vport *vport , struct idpf_q_vec_rsrc *rsrc ); ARGUMENTS vport pointer to vport struct rsrc pointer to queue and vector resources RETURN 0 on success, negative on failure SEE ALSO Kernel file ./...
idpf_rx_bufs_init_singleq(9)
NAME idpf_rx_bufs_init_singleq - Initialize page pool and allocate Rx bufs SYNOPSIS int idpf_rx_bufs_init_singleq (struct idpf_rx_queue *rxq ); ARGUMENTS rxq buffer queue to create page pool for RETURN 0 on success, -errno on failure. SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_txrx.c idpf_...
idpf_rx_clean_refillq(9)
NAME idpf_rx_clean_refillq - Clean refill queue buffers SYNOPSIS void idpf_rx_clean_refillq (struct idpf_buf_queue *bufq , struct idpf_sw_queue *refillq ); ARGUMENTS bufq buffer queue to post buffers back to refillq refill queue to clean DESCRIPTION This function takes care of the buffer refill ma...
idpf_rx_clean_refillq_all(9)
NAME idpf_rx_clean_refillq_all - Clean all refill queues SYNOPSIS void idpf_rx_clean_refillq_all (struct idpf_buf_queue *bufq , int nid ); ARGUMENTS bufq buffer queue with refill queues nid ID of the closest NUMA node with memory DESCRIPTION Iterates through all refill queues assigned to the b...
idpf_rx_csum(9)
NAME idpf_rx_csum - Indicate in skb if checksum is good SYNOPSIS void idpf_rx_csum (struct idpf_rx_queue *rxq , struct sk_buff *skb , struct libeth_rx_csum csum_bits , struct libeth_rx_pt decoded ); ARGUMENTS rxq Rx descriptor ring packet is being transacted on skb pointer to current skb being...
idpf_rx_desc_alloc(9)
NAME idpf_rx_desc_alloc - Allocate queue Rx resources SYNOPSIS int idpf_rx_desc_alloc (const struct idpf_vport *vport , struct idpf_rx_queue *rxq ); ARGUMENTS vport vport to allocate resources for rxq Rx queue for which the resources are setup RETURN 0 on success, negative on failure SEE ALSO ...
idpf_rx_desc_alloc_all(9)
NAME idpf_rx_desc_alloc_all - allocate all RX queues resources SYNOPSIS int idpf_rx_desc_alloc_all (struct idpf_vport *vport , struct idpf_q_vec_rsrc *rsrc ); ARGUMENTS vport virtual port structure rsrc pointer to queue and vector resources RETURN 0 on success, negative on failure SEE ALSO Kern...
idpf_rx_desc_rel(9)
NAME idpf_rx_desc_rel - Free a specific Rx q resources SYNOPSIS void idpf_rx_desc_rel (struct idpf_rx_queue *rxq , struct device *dev , u32 model ); ARGUMENTS rxq queue to clean the resources from dev device to free DMA memory model single or split queue model DESCRIPTION Free a...
idpf_rx_desc_rel_all(9)
NAME idpf_rx_desc_rel_all - Free Rx Resources for All Queues SYNOPSIS void idpf_rx_desc_rel_all (struct idpf_q_vec_rsrc *rsrc ); ARGUMENTS rsrc pointer to queue and vector resources DESCRIPTION Free all rx queues resources SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_txrx.c idpf_chk_linearize...
idpf_rx_desc_rel_bufq(9)
NAME idpf_rx_desc_rel_bufq - free buffer queue resources SYNOPSIS void idpf_rx_desc_rel_bufq (struct idpf_buf_queue *bufq , struct device *dev ); ARGUMENTS bufq buffer queue to clean the resources from dev device to free DMA memory SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_t...
idpf_rx_dim_work(9)
NAME idpf_rx_dim_work - Call back from the stack SYNOPSIS void idpf_rx_dim_work (struct work_struct *work ); ARGUMENTS work work queue structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_txrx.c idpf_chk_linearize(9), idpf_tx_timeout(9), idpf_tx_buf_rel_all(9), idpf_tx_desc_rel(9), idpf_comp...
idpf_rx_hash(9)
NAME idpf_rx_hash - set the hash value in the skb SYNOPSIS void idpf_rx_hash (const struct idpf_rx_queue *rxq , struct sk_buff *skb , const struct virtchnl2_rx_flex_desc_adv_nic_3 *rx_desc , struct libeth_rx_pt decoded ); ARGUMENTS rxq Rx descriptor ring packet is being transacted on skb point...
idpf_rx_hdr_buf_alloc_all(9)
NAME idpf_rx_hdr_buf_alloc_all - Allocate memory for header buffers SYNOPSIS int idpf_rx_hdr_buf_alloc_all (struct idpf_buf_queue *bufq ); ARGUMENTS bufq ring to use RETURN 0 on success, negative on failure. SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_txrx.c idpf_chk_linearize(9), idpf_tx_ti...
idpf_rx_hdr_buf_rel_all(9)
NAME idpf_rx_hdr_buf_rel_all - Release header buffer memory SYNOPSIS void idpf_rx_hdr_buf_rel_all (struct idpf_buf_queue *bufq ); ARGUMENTS bufq queue to use SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_txrx.c idpf_chk_linearize(9), idpf_tx_timeout(9), idpf_tx_buf_rel_all(9), idpf_tx_desc_rel(...
idpf_rx_hsplit_wa(9)
NAME idpf_rx_hsplit_wa - handle header buffer overflows and split errors SYNOPSIS u32 idpf_rx_hsplit_wa (const struct libeth_fqe *hdr , struct libeth_fqe *buf , u32 data_len ); ARGUMENTS hdr Rx buffer for the headers buf Rx buffer for the payload data_len number of bytes received to...
idpf_rx_hwtstamp(9)
NAME idpf_rx_hwtstamp - check for an RX timestamp and pass up the stack SYNOPSIS void idpf_rx_hwtstamp (const struct idpf_rx_queue *rxq , const struct virtchnl2_rx_flex_desc_adv_nic_3 *rx_desc , struct sk_buff *skb ); ARGUMENTS rxq pointer to the rx queue that receives the timestamp rx_desc pointe...
idpf_rx_init_buf_tail(9)
NAME idpf_rx_init_buf_tail - Write initial buffer ring tail value SYNOPSIS void idpf_rx_init_buf_tail (struct idpf_q_vec_rsrc *rsrc ); ARGUMENTS rsrc pointer to queue and vector resources SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_lib.c idpf_init_vector_stack(9), idpf_deinit_vecto...
idpf_rx_page_rel(9)
NAME idpf_rx_page_rel - Release an rx buffer page SYNOPSIS void idpf_rx_page_rel (struct libeth_fqe *rx_buf ); ARGUMENTS rx_buf the buffer to free SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_txrx.c idpf_chk_linearize(9), idpf_tx_timeout(9), idpf_tx_buf_rel_all(9), idpf_tx_desc_rel(9), idpf_comp...
idpf_rx_post_buf_desc(9)
NAME idpf_rx_post_buf_desc - Post buffer to bufq descriptor ring SYNOPSIS bool idpf_rx_post_buf_desc (struct idpf_buf_queue *bufq , u16 buf_id ); ARGUMENTS bufq buffer queue to post to buf_id buffer id to post RETURN false if buffer could not be allocated, true otherwise. SEE ALSO Kernel file ....
idpf_rx_post_init_bufs(9)
NAME idpf_rx_post_init_bufs - Post initial buffers to bufq SYNOPSIS bool idpf_rx_post_init_bufs (struct idpf_buf_queue *bufq , u16 working_set ); ARGUMENTS bufq buffer queue to post working set to working_set number of buffers to put in working set RETURN true if working_set bufs were posted successfu...
idpf_rx_rsc(9)
NAME idpf_rx_rsc - Set the RSC fields in the skb SYNOPSIS int idpf_rx_rsc (struct idpf_rx_queue *rxq , struct sk_buff *skb , const struct virtchnl2_rx_flex_desc_adv_nic_3 *rx_desc , struct libeth_rx_pt decoded ); ARGUMENTS rxq Rx descriptor ring packet is being transacted on skb pointer to cur...
idpf_rx_singleq_base_csum(9)
NAME idpf_rx_singleq_base_csum - Indicate in skb if hw indicated a good cksum SYNOPSIS struct libeth_rx_csum idpf_rx_singleq_base_csum (const union virtchnl2_rx_desc *rx_desc ); ARGUMENTS rx_desc the receive descriptor DESCRIPTION This function only operates on the VIRTCHNL2_RXDID_1_32B_BASE_M base 32byte descri...
idpf_rx_singleq_base_hash(9)
NAME idpf_rx_singleq_base_hash - set the hash value in the skb SYNOPSIS void idpf_rx_singleq_base_hash (struct idpf_rx_queue *rx_q , struct sk_buff *skb , const union virtchnl2_rx_desc *rx_desc , struct libeth_rx_pt decoded ); ARGUMENTS rx_q Rx completion queue skb skb currently being received ...
idpf_rx_singleq_buf_hw_alloc_all(9)
NAME idpf_rx_singleq_buf_hw_alloc_all - Replace used receive buffers SYNOPSIS bool idpf_rx_singleq_buf_hw_alloc_all (struct idpf_rx_queue *rx_q , u16 cleaned_count ); ARGUMENTS rx_q queue for which the hw buffers are allocated cleaned_count number of buffers to replace DESCRIPTION R...
idpf_rx_singleq_clean(9)
NAME idpf_rx_singleq_clean - Reclaim resources after receive completes SYNOPSIS int idpf_rx_singleq_clean (struct idpf_rx_queue *rx_q , int budget ); ARGUMENTS rx_q rx queue to clean budget Total limit on number of packets to process DESCRIPTION Returns true if there's any budget left (e.g. the c...
idpf_rx_singleq_clean_all(9)
NAME idpf_rx_singleq_clean_all - Clean all Rx queues SYNOPSIS bool idpf_rx_singleq_clean_all (struct idpf_q_vector *q_vec , int budget , int *cleaned ); ARGUMENTS q_vec queue vector budget Used to determine if we are in netpoll cleaned returns number of packets cleaned DESCRIPTION Retu...
idpf_rx_singleq_csum(9)
NAME idpf_rx_singleq_csum - Indicate in skb if checksum is good SYNOPSIS void idpf_rx_singleq_csum (struct idpf_rx_queue *rxq , struct sk_buff *skb , struct libeth_rx_csum csum_bits , struct libeth_rx_pt decoded ); ARGUMENTS rxq Rx ring being processed skb skb currently being received and modi...
idpf_rx_singleq_extract_base_fields(9)
NAME idpf_rx_singleq_extract_base_fields - Extract fields from the Rx descriptor SYNOPSIS void idpf_rx_singleq_extract_base_fields (const union virtchnl2_rx_desc *rx_desc , struct libeth_rqe_info *fields ); ARGUMENTS rx_desc the descriptor to process fields storage for extracted values DESCRIPTION D...
idpf_rx_singleq_extract_fields(9)
NAME idpf_rx_singleq_extract_fields - Extract fields from the Rx descriptor SYNOPSIS void idpf_rx_singleq_extract_fields (const struct idpf_rx_queue *rx_q , const union virtchnl2_rx_desc *rx_desc , struct libeth_rqe_info *fields ); ARGUMENTS rx_q Rx descriptor queue rx_desc the descriptor to proces...
idpf_rx_singleq_extract_flex_fields(9)
NAME idpf_rx_singleq_extract_flex_fields - Extract fields from the Rx descriptor SYNOPSIS void idpf_rx_singleq_extract_flex_fields (const union virtchnl2_rx_desc *rx_desc , struct libeth_rqe_info *fields ); ARGUMENTS rx_desc the descriptor to process fields storage for extracted values DESCRIPTION D...