id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
idpf_rx_singleq_flex_csum(9) | NAME idpf_rx_singleq_flex_csum - Indicate in skb if hw indicated a good cksum
SYNOPSIS struct libeth_rx_csum idpf_rx_singleq_flex_csum (const union virtchnl2_rx_desc *rx_desc );
ARGUMENTS rx_desc the receive descriptor
DESCRIPTION This function only operates on the VIRTCHNL2_RXDID_2_FLEX_SQ_NIC flexible descript... |
idpf_rx_singleq_flex_hash(9) | NAME idpf_rx_singleq_flex_hash - set the hash value in the skb
SYNOPSIS void idpf_rx_singleq_flex_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_is_non_eop(9) | NAME idpf_rx_singleq_is_non_eop - process handling of non-EOP buffers
SYNOPSIS bool idpf_rx_singleq_is_non_eop (const union virtchnl2_rx_desc *rx_desc );
ARGUMENTS rx_desc Rx descriptor for current buffer
SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_singleq_txrx.c idpf_tx_singleq_csum(9), idpf... |
idpf_rx_singleq_test_staterr(9) | NAME idpf_rx_singleq_test_staterr - tests bits in Rx descriptor status and error fields
SYNOPSIS bool idpf_rx_singleq_test_staterr (const union virtchnl2_rx_desc *rx_desc , const u64 stat_err_bits );
ARGUMENTS rx_desc pointer to receive descriptor (in le64 format)
stat_err_bits
value to... |
idpf_rx_splitq_clean(9) | NAME idpf_rx_splitq_clean - Clean completed descriptors from Rx queue
SYNOPSIS int idpf_rx_splitq_clean (struct idpf_rx_queue *rxq , int budget );
ARGUMENTS rxq Rx descriptor queue to retrieve receive buffer queue
budget Total limit on number of packets to process
DESCRIPTION This function prov... |
idpf_rx_splitq_clean_all(9) | NAME idpf_rx_splitq_clean_all - Clean completion queues
SYNOPSIS bool idpf_rx_splitq_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
RETURN false i... |
idpf_rx_splitq_extract_csum_bits(9) | NAME idpf_rx_splitq_extract_csum_bits - Extract checksum bits from descriptor
SYNOPSIS struct libeth_rx_csum idpf_rx_splitq_extract_csum_bits (const struct virtchnl2_rx_flex_desc_adv_nic_3 *rx_desc );
ARGUMENTS rx_desc receive descriptor
RETURN parsed checksum status.
SEE ALSO Kernel file ./drivers/net/etherne... |
idpf_rx_splitq_is_eop(9) | NAME idpf_rx_splitq_is_eop - process handling of EOP buffers
SYNOPSIS bool idpf_rx_splitq_is_eop (struct virtchnl2_rx_flex_desc_adv_nic_3 *rx_desc );
ARGUMENTS rx_desc Rx descriptor for current buffer
RETURN true if the buffer is an EOP buffer, false otherwise, indicating that this is in fact a non-EOP buffer.
... |
idpf_rx_splitq_test_staterr(9) | NAME idpf_rx_splitq_test_staterr - tests bits in Rx descriptor status and error fields
SYNOPSIS bool idpf_rx_splitq_test_staterr (const u8 stat_err_field , const u8 stat_err_bits );
ARGUMENTS stat_err_field field from descriptor to test bits in
stat_err_bits
value to mask
RETURN true if an... |
idpf_rx_update_bufq_desc(9) | NAME idpf_rx_update_bufq_desc - Update buffer queue descriptor
SYNOPSIS int idpf_rx_update_bufq_desc (struct idpf_buf_queue *bufq , u32 buf_id , struct virtchnl2_splitq_rx_buf_desc *buf_desc );
ARGUMENTS bufq Pointer to the buffer queue
buf_id buffer ID
buf_desc Buffer queue descriptor
... |
idpf_rxq_group_alloc(9) | NAME idpf_rxq_group_alloc - Allocate all rxq group resources
SYNOPSIS int idpf_rxq_group_alloc (struct idpf_vport *vport , struct idpf_q_vec_rsrc *rsrc , u16 num_rxq );
ARGUMENTS vport vport to allocate rxq groups for
rsrc pointer to queue and vector resources
num_rxq number of rxqs t... |
idpf_rxq_group_rel(9) | NAME idpf_rxq_group_rel - Release all resources for rxq groups
SYNOPSIS void idpf_rxq_group_rel (struct idpf_q_vec_rsrc *rsrc );
ARGUMENTS rsrc pointer to queue and vector resources
SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_txrx.c idpf_chk_linearize(9), idpf_tx_timeout(9), idpf_tx_buf_rel_a... |
idpf_rxq_set_descids(9) | NAME idpf_rxq_set_descids - set the descids supported by this queue
SYNOPSIS void idpf_rxq_set_descids (struct idpf_q_vec_rsrc *rsrc , struct idpf_rx_queue *q );
ARGUMENTS rsrc pointer to queue and vector resources
q rx queue for which descids are set
SEE ALSO Kernel file ./drivers/net/ethe... |
idpf_rxq_sw_queue_rel(9) | NAME idpf_rxq_sw_queue_rel - Release software queue resources
SYNOPSIS void idpf_rxq_sw_queue_rel (struct idpf_rxq_group *rx_qgrp );
ARGUMENTS rx_qgrp rx queue group with software queues
SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_txrx.c idpf_chk_linearize(9), idpf_tx_timeout(9), idpf_tx_buf_rel... |
idpf_send_add_queues_msg(9) | NAME idpf_send_add_queues_msg - Send virtchnl add queues message
SYNOPSIS int idpf_send_add_queues_msg (struct idpf_adapter *adapter , struct idpf_vport_config *vport_config , struct idpf_q_vec_rsrc *rsrc , u32 vport_id );
ARGUMENTS adapter adapter pointer used to send virtchnl message
vport_config
... |
idpf_send_alloc_vectors_msg(9) | NAME idpf_send_alloc_vectors_msg - Send virtchnl alloc vectors message
SYNOPSIS int idpf_send_alloc_vectors_msg (struct idpf_adapter *adapter , u16 num_vectors );
ARGUMENTS adapter Driver specific private structure
num_vectors number of vectors to be allocated
DESCRIPTION Returns 0 on success, negative o... |
idpf_send_chunked_msg(9) | NAME idpf_send_chunked_msg - send VC message consisting of chunks
SYNOPSIS int idpf_send_chunked_msg (struct idpf_adapter *adapter , const struct idpf_chunked_msg_params *params );
ARGUMENTS adapter Driver specific private structure
params message params
DESCRIPTION Helper function for preparing a m... |
idpf_send_config_queue_set_msg(9) | NAME idpf_send_config_queue_set_msg - send virtchnl config queues message for selected queues
SYNOPSIS int idpf_send_config_queue_set_msg (const struct idpf_queue_set *qs );
ARGUMENTS qs set of the queues
DESCRIPTION Send config queues virtchnl message for queues contained in the qs array. The qs array can... |
idpf_send_config_queues_msg(9) | NAME idpf_send_config_queues_msg - Send config queues virtchnl message
SYNOPSIS int idpf_send_config_queues_msg (struct idpf_adapter *adapter , struct idpf_q_vec_rsrc *rsrc , u32 vport_id );
ARGUMENTS adapter adapter pointer used to send virtchnl message
rsrc pointer to queue and vector resources
... |
idpf_send_config_rx_queue_set_msg(9) | NAME idpf_send_config_rx_queue_set_msg - send virtchnl config Rx queues message for selected queues.
SYNOPSIS int idpf_send_config_rx_queue_set_msg (const struct idpf_queue_set *qs );
ARGUMENTS qs set of the Rx queues to configure
DESCRIPTION Send config queues virtchnl message for queues contained in the q... |
idpf_send_config_rx_queues_msg(9) | NAME idpf_send_config_rx_queues_msg - send virtchnl config Rx queues message
SYNOPSIS int idpf_send_config_rx_queues_msg (struct idpf_adapter *adapter , struct idpf_q_vec_rsrc *rsrc , u32 vport_id );
ARGUMENTS adapter adapter pointer used to send virtchnl message
rsrc pointer to queue and vector re... |
idpf_send_config_tx_queue_set_msg(9) | NAME idpf_send_config_tx_queue_set_msg - send virtchnl config Tx queues message for selected queues
SYNOPSIS int idpf_send_config_tx_queue_set_msg (const struct idpf_queue_set *qs );
ARGUMENTS qs set of the Tx queues to configure
DESCRIPTION Send config queues virtchnl message for queues contained in the qs... |
idpf_send_config_tx_queues_msg(9) | NAME idpf_send_config_tx_queues_msg - send virtchnl config Tx queues message
SYNOPSIS int idpf_send_config_tx_queues_msg (struct idpf_adapter *adapter , struct idpf_q_vec_rsrc *rsrc , u32 vport_id );
ARGUMENTS adapter adapter pointer used to send virtchnl message
rsrc pointer to queue and vector re... |
idpf_send_create_vport_msg(9) | NAME idpf_send_create_vport_msg - Send virtchnl create vport message
SYNOPSIS int idpf_send_create_vport_msg (struct idpf_adapter *adapter , struct idpf_vport_max_q *max_q );
ARGUMENTS adapter Driver specific private structure
max_q vport max queue info
DESCRIPTION send virtchnl creae vport message... |
idpf_send_dealloc_vectors_msg(9) | NAME idpf_send_dealloc_vectors_msg - Send virtchnl de allocate vectors message
SYNOPSIS int idpf_send_dealloc_vectors_msg (struct idpf_adapter *adapter );
ARGUMENTS adapter Driver specific private structure
DESCRIPTION Returns 0 on success, negative on failure.
SEE ALSO Kernel file ./drivers/net/ethernet/inte... |
idpf_send_delete_queues_msg(9) | NAME idpf_send_delete_queues_msg - send delete queues virtchnl message
SYNOPSIS int idpf_send_delete_queues_msg (struct idpf_adapter *adapter , struct idpf_queue_id_reg_info *chunks , u32 vport_id );
ARGUMENTS adapter adapter pointer used to send virtchnl message
chunks queue ids received over mailbo... |
idpf_send_destroy_vport_msg(9) | NAME idpf_send_destroy_vport_msg - Send virtchnl destroy vport message
SYNOPSIS int idpf_send_destroy_vport_msg (struct idpf_adapter *adapter , u32 vport_id );
ARGUMENTS adapter adapter pointer used to send virtchnl message
vport_id vport identifier used while preparing the virtchnl message
RETURN 0 o... |
idpf_send_disable_queue_set_msg(9) | NAME idpf_send_disable_queue_set_msg - send disable queues virtchnl message for selected queues
SYNOPSIS int idpf_send_disable_queue_set_msg (const struct idpf_queue_set *qs );
ARGUMENTS qs set of the queues
RETURN 0 on success, -errno on failure.
SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/id... |
idpf_send_disable_queues_msg(9) | NAME idpf_send_disable_queues_msg - send disable queues virtchnl message
SYNOPSIS int idpf_send_disable_queues_msg (struct idpf_vport *vport );
ARGUMENTS vport Virtual port private data structure
DESCRIPTION Will send disable queues virtchnl message. Returns 0 on success, negative on failure.
SEE ALSO Kernel... |
idpf_send_disable_vport_msg(9) | NAME idpf_send_disable_vport_msg - Send virtchnl disable vport message
SYNOPSIS int idpf_send_disable_vport_msg (struct idpf_adapter *adapter , u32 vport_id );
ARGUMENTS adapter adapter pointer used to send virtchnl message
vport_id vport identifier used while preparing the virtchnl message
RETURN 0 o... |
idpf_send_ena_dis_loopback_msg(9) | NAME idpf_send_ena_dis_loopback_msg - Send virtchnl enable/disable loopback message
SYNOPSIS int idpf_send_ena_dis_loopback_msg (struct idpf_adapter *adapter , u32 vport_id , bool loopback_ena );
ARGUMENTS adapter adapter pointer used to send virtchnl message
vport_id vport identifier used while prepar... |
idpf_send_ena_dis_queue_set_msg(9) | NAME idpf_send_ena_dis_queue_set_msg - send virtchnl enable or disable queues message for selected queues
SYNOPSIS int idpf_send_ena_dis_queue_set_msg (const struct idpf_queue_set *qs , bool en );
ARGUMENTS qs set of the queues to enable or disable
en whether to enable or disable queues
DES... |
idpf_send_ena_dis_queues_msg(9) | NAME idpf_send_ena_dis_queues_msg - send virtchnl enable or disable queues message
SYNOPSIS int idpf_send_ena_dis_queues_msg (struct idpf_adapter *adapter , struct idpf_q_vec_rsrc *rsrc , u32 vport_id , bool en );
ARGUMENTS adapter adapter pointer used to send virtchnl message
rsrc pointer to queue... |
idpf_send_enable_queue_set_msg(9) | NAME idpf_send_enable_queue_set_msg - send enable queues virtchnl message for selected queues
SYNOPSIS int idpf_send_enable_queue_set_msg (const struct idpf_queue_set *qs );
ARGUMENTS qs set of the queues
DESCRIPTION Send enable queues virtchnl message for queues contained in the qs array.
RETURN 0 on succ... |
idpf_send_enable_queues_msg(9) | NAME idpf_send_enable_queues_msg - send enable queues virtchnl message
SYNOPSIS int idpf_send_enable_queues_msg (struct idpf_vport *vport );
ARGUMENTS vport Virtual port private data structure
DESCRIPTION Will send enable queues virtchnl message. Returns 0 on success, negative on failure.
SEE ALSO Kernel fi... |
idpf_send_enable_vport_msg(9) | NAME idpf_send_enable_vport_msg - Send virtchnl enable vport message
SYNOPSIS int idpf_send_enable_vport_msg (struct idpf_adapter *adapter , u32 vport_id );
ARGUMENTS adapter adapter pointer used to send virtchnl message
vport_id vport identifier used while preparing the virtchnl message
RETURN 0 on s... |
idpf_send_get_caps_msg(9) | NAME idpf_send_get_caps_msg - Send virtchnl get capabilities message
SYNOPSIS int idpf_send_get_caps_msg (struct idpf_adapter *adapter );
ARGUMENTS adapter Driver specific private structure
DESCRIPTION Send virtchl get capabilities message. Returns 0 on success, negative on failure.
SEE ALSO Kernel file ./dri... |
idpf_send_get_lan_memory_regions(9) | NAME idpf_send_get_lan_memory_regions - Send virtchnl get LAN memory regions msg
SYNOPSIS int idpf_send_get_lan_memory_regions (struct idpf_adapter *adapter );
ARGUMENTS adapter Driver specific private struct
RETURN 0 on success or error code on failure.
SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/... |
idpf_send_get_rx_ptype_msg(9) | NAME idpf_send_get_rx_ptype_msg - Send virtchnl for ptype info
SYNOPSIS int idpf_send_get_rx_ptype_msg (struct idpf_adapter *adapter );
ARGUMENTS adapter driver specific private structure
RETURN 0 on success, negative on failure.
SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_virtchnl.c struct ... |
idpf_send_get_set_rss_key_msg(9) | NAME idpf_send_get_set_rss_key_msg - Send virtchnl get or set RSS key message
SYNOPSIS int idpf_send_get_set_rss_key_msg (struct idpf_adapter *adapter , struct idpf_rss_data *rss_data , u32 vport_id , bool get );
ARGUMENTS adapter adapter pointer used to send virtchnl message
rss_data pointer to RSS ke... |
idpf_send_get_set_rss_lut_msg(9) | NAME idpf_send_get_set_rss_lut_msg - Send virtchnl get or set RSS lut message
SYNOPSIS int idpf_send_get_set_rss_lut_msg (struct idpf_adapter *adapter , struct idpf_rss_data *rss_data , u32 vport_id , bool get );
ARGUMENTS adapter adapter pointer used to send virtchnl message
rss_data pointer to RSS ke... |
idpf_send_get_stats_msg(9) | NAME idpf_send_get_stats_msg - Send virtchnl get statistics message
SYNOPSIS int idpf_send_get_stats_msg (struct idpf_netdev_priv *np , struct idpf_port_stats *port_stats );
ARGUMENTS np netdev private structure
port_stats structure to store the vport statistics
RETURN 0 on success, negative on fai... |
idpf_send_map_unmap_queue_set_vector_msg(9) | NAME idpf_send_map_unmap_queue_set_vector_msg - send virtchnl map or unmap queue set vector message
SYNOPSIS int idpf_send_map_unmap_queue_set_vector_msg (const struct idpf_queue_set *qs , bool map );
ARGUMENTS qs set of the queues to map or unmap
map true for map and false for unmap
RETURN ... |
idpf_send_map_unmap_queue_vector_msg(9) | NAME idpf_send_map_unmap_queue_vector_msg - send virtchnl map or unmap queue vector message
SYNOPSIS int idpf_send_map_unmap_queue_vector_msg (struct idpf_adapter *adapter , struct idpf_q_vec_rsrc *rsrc , u32 vport_id , bool map );
ARGUMENTS adapter adapter pointer used to send virtchnl message
rsrc ... |
idpf_send_mb_msg(9) | NAME idpf_send_mb_msg - Send message over mailbox
SYNOPSIS int idpf_send_mb_msg (struct idpf_adapter *adapter , struct idpf_ctlq_info *asq , u32 op , u16 msg_size , u8 *msg , u16 cookie );
ARGUMENTS adapter driver specific private structure
asq control queue to send message to
op ... |
idpf_send_set_sriov_vfs_msg(9) | NAME idpf_send_set_sriov_vfs_msg - Send virtchnl set sriov vfs message
SYNOPSIS int idpf_send_set_sriov_vfs_msg (struct idpf_adapter *adapter , u16 num_vfs );
ARGUMENTS adapter Driver specific private structure
num_vfs number of virtual functions to be created
DESCRIPTION Returns 0 on success, negati... |
idpf_send_ver_msg(9) | NAME idpf_send_ver_msg - send virtchnl version message
SYNOPSIS int idpf_send_ver_msg (struct idpf_adapter *adapter );
ARGUMENTS adapter Driver specific private structure
DESCRIPTION Send virtchnl version message. Returns 0 on success, negative on failure.
SEE ALSO Kernel file ./drivers/net/ethernet/intel/id... |
idpf_service_task(9) | NAME idpf_service_task - Delayed task for handling mailbox responses
SYNOPSIS void idpf_service_task (struct work_struct *work );
ARGUMENTS work work_struct handle to our data
SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_lib.c idpf_init_vector_stack(9), idpf_deinit_vector_stack(9), ... |
idpf_set_channels(9) | NAME idpf_set_channels - set the new channel count
SYNOPSIS int idpf_set_channels (struct net_device *netdev , struct ethtool_channels *ch );
ARGUMENTS netdev network interface device structure
ch channel information structure
DESCRIPTION Negotiate a new number of channels with CP. Returns 0 on... |
idpf_set_coalesce(9) | NAME idpf_set_coalesce - set ITR values as requested by user
SYNOPSIS int idpf_set_coalesce (struct net_device *netdev , struct ethtool_coalesce *ec , struct kernel_ethtool_coalesce *kec , struct netlink_ext_ack *extack );
ARGUMENTS netdev pointer to the netdev associated with this query
ec coal... |
idpf_set_ethtool_ops(9) | NAME idpf_set_ethtool_ops - Initialize ethtool ops struct
SYNOPSIS void idpf_set_ethtool_ops (struct net_device *netdev );
ARGUMENTS netdev network interface device structure
DESCRIPTION Sets ethtool ops struct in our netdev so that ethtool can call our functions.
SEE ALSO Kernel file ./drivers/net/etherne... |
idpf_set_features(9) | NAME idpf_set_features - set the netdev feature flags
SYNOPSIS int idpf_set_features (struct net_device *netdev , netdev_features_t features );
ARGUMENTS netdev ptr to the netdev being adjusted
features the feature set that the stack is suggesting
SEE ALSO Kernel file ./drivers/net/ethernet/int... |
idpf_set_mac(9) | NAME idpf_set_mac - NDO callback to set port mac address
SYNOPSIS int idpf_set_mac (struct net_device *netdev , void *p );
ARGUMENTS netdev network interface device structure
p pointer to an address structure
DESCRIPTION Returns 0 on success, negative on failure
SEE ALSO Kernel file ./d... |
idpf_set_msglevel(9) | NAME idpf_set_msglevel - Set debug message level
SYNOPSIS void idpf_set_msglevel (struct net_device *netdev , u32 data );
ARGUMENTS netdev network interface device structure
data message level
DESCRIPTION Set current debug message level. Higher values cause the driver to be noisier.
SEE ALSO Ker... |
idpf_set_per_q_coalesce(9) | NAME idpf_set_per_q_coalesce - set ITR values as requested by user
SYNOPSIS int idpf_set_per_q_coalesce (struct net_device *netdev , u32 q_num , struct ethtool_coalesce *ec );
ARGUMENTS netdev pointer to the netdev associated with this query
q_num queue for which the itr values has to be set
... |
idpf_set_promiscuous(9) | NAME idpf_set_promiscuous - set promiscuous and send message to mailbox
SYNOPSIS int idpf_set_promiscuous (struct idpf_adapter *adapter , struct idpf_vport_user_config_data *config_data , u32 vport_id );
ARGUMENTS adapter Driver specific private structure
config_data Vport specific config data
vpo... |
idpf_set_q_coalesce(9) | NAME idpf_set_q_coalesce - set ITR values for specific queue
SYNOPSIS int idpf_set_q_coalesce (const struct idpf_vport *vport , struct idpf_q_coalesce *q_coal , const struct ethtool_coalesce *ec , int q_num , bool is_rxq );
ARGUMENTS vport vport associated to the queue that need updating
q_coal per... |
idpf_set_real_num_queues(9) | NAME idpf_set_real_num_queues - set number of queues for netdev
SYNOPSIS int idpf_set_real_num_queues (struct idpf_vport *vport );
ARGUMENTS vport virtual port structure
DESCRIPTION Returns 0 on success, negative on failure.
SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_lib.c idpf_init_... |
idpf_set_ringparam(9) | NAME idpf_set_ringparam - Set ring parameters
SYNOPSIS int idpf_set_ringparam (struct net_device *netdev , struct ethtool_ringparam *ring , struct kernel_ethtool_ringparam *kring , struct netlink_ext_ack *ext_ack );
ARGUMENTS netdev network interface device structure
ring ethtool ringparam structu... |
idpf_set_rx_mode(9) | NAME idpf_set_rx_mode - NDO callback to set the netdev filters
SYNOPSIS void idpf_set_rx_mode (struct net_device *netdev );
ARGUMENTS netdev network interface device structure
DESCRIPTION Stack takes addr_list_lock spinlock before calling our .set_rx_mode. We cannot sleep in this context.
SEE ALSO Kernel f... |
idpf_set_rxfh(9) | NAME idpf_set_rxfh - set the rx flow hash indirection table
SYNOPSIS int idpf_set_rxfh (struct net_device *netdev , struct ethtool_rxfh_param *rxfh , struct netlink_ext_ack *extack );
ARGUMENTS netdev network interface device structure
rxfh pointer to param struct (indir, key, hfunc)
extac... |
idpf_shutdown(9) | NAME idpf_shutdown - PCI callback for shutting down device
SYNOPSIS void idpf_shutdown (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_remove(9), idpf_cfg_hw(9), idpf_probe(... |
idpf_sideband_action_ena(9) | NAME idpf_sideband_action_ena - Check if steering is enabled for action
SYNOPSIS bool idpf_sideband_action_ena (struct idpf_vport *vport , struct ethtool_rx_flow_spec *fsp );
ARGUMENTS vport Private data struct
fsp flow spec
RETURN true if sideband filters are allowed for fsp, false otherwise
... |
idpf_sideband_flow_type_ena(9) | NAME idpf_sideband_flow_type_ena - Check if steering is enabled for flow type
SYNOPSIS bool idpf_sideband_flow_type_ena (struct idpf_vport *vport , u32 flow_type );
ARGUMENTS vport Private data struct
flow_type flow type to check (from ethtool.h)
RETURN true if sideband filters are allowed for flow_t... |
idpf_size_to_txd_count(9) | NAME idpf_size_to_txd_count - Get number of descriptors needed for large Tx frag
SYNOPSIS u32 idpf_size_to_txd_count (unsigned int size );
ARGUMENTS size transmit request size in bytes
DESCRIPTION In the case where a large frag (>= 16K) needs to be split across multiple descriptors, we need to assume that we ... |
idpf_sriov_configure(9) | NAME idpf_sriov_configure - Configure the requested VFs
SYNOPSIS int idpf_sriov_configure (struct pci_dev *pdev , int num_vfs );
ARGUMENTS pdev pointer to a pci_dev structure
num_vfs number of vfs to allocate
DESCRIPTION Enable or change the number of VFs. Called when the user updates the number o... |
idpf_sriov_ena(9) | NAME idpf_sriov_ena - Enable or change number of VFs
SYNOPSIS int idpf_sriov_ena (struct idpf_adapter *adapter , int num_vfs );
ARGUMENTS adapter private data struct
num_vfs number of VFs to allocate
SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_lib.c idpf_init_vector_stack(9),... |
idpf_statistics_task(9) | NAME idpf_statistics_task - Delayed task to get statistics over mailbox
SYNOPSIS void idpf_statistics_task (struct work_struct *work );
ARGUMENTS work work_struct handle to our data
SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_lib.c idpf_init_vector_stack(9), idpf_deinit_vector_stac... |
idpf_stop(9) | NAME idpf_stop - Disables a network interface
SYNOPSIS int idpf_stop (struct net_device *netdev );
ARGUMENTS netdev network interface device structure
DESCRIPTION The stop entry point is called when an interface is de-activated by the OS, and the netdevice enters the DOWN state. The hardware is still under t... |
idpf_trigger_reset(9) | NAME idpf_trigger_reset - trigger reset
SYNOPSIS void idpf_trigger_reset (struct idpf_adapter *adapter , enum idpf_flags trig_cause );
ARGUMENTS adapter Driver specific private structure
trig_cause Reason to trigger a reset
SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_dev.c idpf_ctlq_r... |
idpf_tso(9) | NAME idpf_tso - computes mss and TSO length to prepare for TSO
SYNOPSIS int idpf_tso (struct sk_buff *skb , struct idpf_tx_offload_params *off );
ARGUMENTS skb pointer to skb
off pointer to struct that holds offload parameters
RETURN error (negative) if TSO was requested but cannot be applied... |
idpf_tstamp_task(9) | NAME idpf_tstamp_task - Delayed task to handle Tx tstamps
SYNOPSIS void idpf_tstamp_task (struct work_struct *work );
ARGUMENTS work work_struct handle
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_enable_shtime(9), id... |
idpf_tx_buf_alloc_all(9) | NAME idpf_tx_buf_alloc_all - Allocate memory for all buffer resources
SYNOPSIS int idpf_tx_buf_alloc_all (struct idpf_tx_queue *tx_q );
ARGUMENTS tx_q 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_tx_buf_hw_update(9) | NAME idpf_tx_buf_hw_update - Store the new tail value
SYNOPSIS void idpf_tx_buf_hw_update (struct idpf_tx_queue *tx_q , u32 val , bool xmit_more );
ARGUMENTS tx_q queue to bump
val new tail index
xmit_more more skb's pending
DESCRIPTION The naming here is special in that 'hw' signals... |
idpf_tx_buf_rel_all(9) | NAME idpf_tx_buf_rel_all - Free any empty Tx buffers
SYNOPSIS void idpf_tx_buf_rel_all (struct idpf_tx_queue *txq );
ARGUMENTS txq 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_desc_rel(9), idpf_compl_desc_rel(9), i... |
idpf_tx_clean_bufs(9) | NAME idpf_tx_clean_bufs - clean flow scheduling TX queue buffers
SYNOPSIS void idpf_tx_clean_bufs (struct idpf_tx_queue *txq , u32 buf_id , struct libeth_sq_napi_stats *cleaned , int budget );
ARGUMENTS txq queue to clean
buf_id packet's starting buffer ID, from completion descriptor
clea... |
idpf_tx_clean_complq(9) | NAME idpf_tx_clean_complq - Reclaim resources on completion queue
SYNOPSIS bool idpf_tx_clean_complq (struct idpf_compl_queue *complq , int budget , int *cleaned );
ARGUMENTS complq Tx ring to clean
budget Used to determine if we are in netpoll
cleaned returns number of packets cleaned
... |
idpf_tx_desc_alloc(9) | NAME idpf_tx_desc_alloc - Allocate the Tx descriptors
SYNOPSIS int idpf_tx_desc_alloc (const struct idpf_vport *vport , struct idpf_tx_queue *tx_q );
ARGUMENTS vport vport to allocate resources for
tx_q the tx ring to set up
RETURN 0 on success, negative on failure
SEE ALSO Kernel file ./drive... |
idpf_tx_desc_alloc_all(9) | NAME idpf_tx_desc_alloc_all - allocate all queues Tx resources
SYNOPSIS int idpf_tx_desc_alloc_all (struct idpf_vport *vport , struct idpf_q_vec_rsrc *rsrc );
ARGUMENTS vport virtual port private structure
rsrc pointer to queue and vector resources
RETURN 0 on success, negative on failure
SEE A... |
idpf_tx_desc_rel(9) | NAME idpf_tx_desc_rel - Free Tx resources per queue
SYNOPSIS void idpf_tx_desc_rel (struct idpf_tx_queue *txq );
ARGUMENTS txq Tx descriptor ring for a specific queue
DESCRIPTION Free all transmit software resources
SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_txrx.c idpf_chk_linearize(9),... |
idpf_tx_desc_rel_all(9) | NAME idpf_tx_desc_rel_all - Free Tx Resources for All Queues
SYNOPSIS void idpf_tx_desc_rel_all (struct idpf_q_vec_rsrc *rsrc );
ARGUMENTS rsrc pointer to queue and vector resources
DESCRIPTION Free all transmit software resources
SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_txrx.c idpf_chk... |
idpf_tx_dim_work(9) | NAME idpf_tx_dim_work - Call back from the stack
SYNOPSIS void idpf_tx_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_tx_drop_skb(9) | NAME idpf_tx_drop_skb - free the SKB and bump tail if necessary
SYNOPSIS netdev_tx_t idpf_tx_drop_skb (struct idpf_tx_queue *tx_q , struct sk_buff *skb );
ARGUMENTS tx_q queue to send buffer on
skb pointer to skb
RETURN always NETDEV_TX_OK
SEE ALSO Kernel file ./drivers/net/ethernet/intel/id... |
idpf_tx_get_free_buf_id(9) | NAME idpf_tx_get_free_buf_id - get a free buffer ID from the refill queue
SYNOPSIS bool idpf_tx_get_free_buf_id (struct idpf_sw_queue *refillq , u32 *buf_id );
ARGUMENTS refillq refill queue to get buffer ID from
buf_id return buffer ID
RETURN true if a buffer ID was found, false if not
SEE ALSO Ke... |
idpf_tx_handle_rs_completion(9) | NAME idpf_tx_handle_rs_completion - clean a single packet and all of its buffers whether on the buffer ring or in the hash table
SYNOPSIS void idpf_tx_handle_rs_completion (struct idpf_tx_queue *txq , struct idpf_splitq_tx_compl_desc *desc , struct libeth_sq_napi_stats *cleaned , int budget );
ARGUMENTS txq T... |
idpf_tx_maybe_stop_splitq(9) | NAME idpf_tx_maybe_stop_splitq - 1st level check for Tx splitq stop conditions
SYNOPSIS int idpf_tx_maybe_stop_splitq (struct idpf_tx_queue *tx_q , u32 descs_needed , u32 bufs_needed );
ARGUMENTS tx_q the queue to be checked
descs_needed
number of descriptors required for this packet... |
idpf_tx_read_tstamp(9) | NAME idpf_tx_read_tstamp - schedule a work to read Tx timestamp value
SYNOPSIS void idpf_tx_read_tstamp (struct idpf_tx_queue *txq , struct sk_buff *skb );
ARGUMENTS txq queue to read the timestamp from
skb socket buffer to provide Tx timestamp value
DESCRIPTION Schedule a work to read Tx tim... |
idpf_tx_res_count_required(9) | NAME idpf_tx_res_count_required - get number of Tx resources needed for this pkt
SYNOPSIS unsigned int idpf_tx_res_count_required (struct idpf_tx_queue *txq , struct sk_buff *skb , u32 *bufs_needed );
ARGUMENTS txq queue to send buffer on
skb send buffer
bufs_needed (output) number of ... |
idpf_tx_set_tstamp_desc(9) | NAME idpf_tx_set_tstamp_desc - Set the Tx descriptor fields needed to generate PHY Tx timestamp
SYNOPSIS void idpf_tx_set_tstamp_desc (union idpf_flex_tx_ctx_desc *ctx_desc , u32 idx );
ARGUMENTS ctx_desc Context descriptor
idx Index of the Tx timestamp latch
SEE ALSO Kernel file ./drivers/net/et... |
idpf_tx_singleq_build_ctob(9) | NAME idpf_tx_singleq_build_ctob - populate command tag offset and size
SYNOPSIS __le64 idpf_tx_singleq_build_ctob (u64 td_cmd , u64 td_offset , unsigned int size , u64 td_tag );
ARGUMENTS td_cmd Command to be filled in desc
td_offset Offset to be filled in desc
size Size of the buffer
... |
idpf_tx_singleq_build_ctx_desc(9) | NAME idpf_tx_singleq_build_ctx_desc - populate context descriptor
SYNOPSIS void idpf_tx_singleq_build_ctx_desc (struct idpf_tx_queue *txq , struct idpf_tx_offload_params *offload );
ARGUMENTS txq queue to send buffer on
offload offload parameter structure
SEE ALSO Kernel file ./drivers/net/ether... |
idpf_tx_singleq_clean(9) | NAME idpf_tx_singleq_clean - Reclaim resources from queue
SYNOPSIS bool idpf_tx_singleq_clean (struct idpf_tx_queue *tx_q , int napi_budget , int *cleaned );
ARGUMENTS tx_q Tx queue to clean
napi_budget Used to determine if we are in netpoll
cleaned returns number of packets cleaned
SEE AL... |
idpf_tx_singleq_clean_all(9) | NAME idpf_tx_singleq_clean_all - Clean all Tx queues
SYNOPSIS bool idpf_tx_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_tx_singleq_csum(9) | NAME idpf_tx_singleq_csum - Enable tx checksum offloads
SYNOPSIS int idpf_tx_singleq_csum (struct sk_buff *skb , struct idpf_tx_offload_params *off );
ARGUMENTS skb pointer to skb
off pointer to struct that holds offload parameters
DESCRIPTION Returns 0 or error (negative) if checksum offload... |
idpf_tx_singleq_dma_map_error(9) | NAME idpf_tx_singleq_dma_map_error - handle TX DMA map errors
SYNOPSIS void idpf_tx_singleq_dma_map_error (struct idpf_tx_queue *txq , struct sk_buff *skb , struct idpf_tx_buf *first , u16 idx );
ARGUMENTS txq queue to send buffer on
skb send buffer
first original first buffer in... |
idpf_tx_singleq_frame(9) | NAME idpf_tx_singleq_frame - Sends buffer on Tx ring using base descriptors
SYNOPSIS netdev_tx_t idpf_tx_singleq_frame (struct sk_buff *skb , struct idpf_tx_queue *tx_q );
ARGUMENTS skb send buffer
tx_q queue to send buffer on
DESCRIPTION Returns NETDEV_TX_OK if sent, else an error code
SEE A... |
idpf_tx_singleq_get_ctx_desc(9) | NAME idpf_tx_singleq_get_ctx_desc - grab next desc and update buffer ring
SYNOPSIS struct idpf_base_tx_ctx_desc * idpf_tx_singleq_get_ctx_desc (struct idpf_tx_queue *txq );
ARGUMENTS txq queue to put context descriptor on
DESCRIPTION Since the TX buffer rings mimics the descriptor ring, update the tx buffer ... |
idpf_tx_singleq_map(9) | NAME idpf_tx_singleq_map - Build the Tx base descriptor
SYNOPSIS void idpf_tx_singleq_map (struct idpf_tx_queue *tx_q , struct idpf_tx_buf *first , struct idpf_tx_offload_params *offloads );
ARGUMENTS tx_q queue to send buffer on
first first buffer info buffer to use
offloads pointer t... |
idpf_tx_splitq_build_ctb(9) | NAME idpf_tx_splitq_build_ctb - populate command tag and size for queue based scheduling descriptors
SYNOPSIS void idpf_tx_splitq_build_ctb (union idpf_tx_flex_desc *desc , struct idpf_tx_splitq_params *params , u16 td_cmd , u16 size );
ARGUMENTS desc descriptor to populate
params pointer to tx pa... |
idpf_tx_splitq_build_desc(9) | NAME idpf_tx_splitq_build_desc - determine which type of data descriptor to build
SYNOPSIS void idpf_tx_splitq_build_desc (union idpf_tx_flex_desc *desc , struct idpf_tx_splitq_params *params , u16 td_cmd , u16 size );
ARGUMENTS desc descriptor to populate
params pointer to tx params struct
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.