id
stringlengths
4
63
text
stringlengths
153
8.81M
idpf_fill_ptype_lookup(9)
NAME idpf_fill_ptype_lookup - Fill L3 specific fields in ptype lookup table SYNOPSIS void idpf_fill_ptype_lookup (struct libeth_rx_pt *ptype , struct idpf_ptype_state *pstate , bool ipv4 , bool frag ); ARGUMENTS ptype ptype lookup table pstate state machine for ptype lookup table ipv4 ...
idpf_fill_rxq_config_chunk(9)
NAME idpf_fill_rxq_config_chunk - fill chunk describing the Rx queue SYNOPSIS void idpf_fill_rxq_config_chunk (const struct idpf_q_vec_rsrc *rsrc , struct idpf_rx_queue *q , struct virtchnl2_rxq_info *qi ); ARGUMENTS rsrc pointer to queue and vector resources q Rx queue to be inserted into VC...
idpf_fill_txq_config_chunk(9)
NAME idpf_fill_txq_config_chunk - fill chunk describing the Tx queue SYNOPSIS void idpf_fill_txq_config_chunk (const struct idpf_q_vec_rsrc *rsrc , const struct idpf_tx_queue *q , struct virtchnl2_txq_info *qi ); ARGUMENTS rsrc pointer to queue and vector resources q Tx queue to be inserted i...
idpf_find_ctlq(9)
NAME idpf_find_ctlq - Given a type and id, find ctlq info SYNOPSIS struct idpf_ctlq_info * idpf_find_ctlq (struct idpf_hw *hw , enum idpf_ctlq_type type , int id ); ARGUMENTS hw hardware struct type type of ctrlq to find id ctlq id to find DESCRIPTION Returns pointer to found...
idpf_find_mac_filter(9)
NAME idpf_find_mac_filter - Search filter list for specific mac filter SYNOPSIS struct idpf_mac_filter * idpf_find_mac_filter (struct idpf_vport_config *vconfig , const u8 *macaddr ); ARGUMENTS vconfig Vport config structure macaddr The MAC address DESCRIPTION Returns ptr to the filter object or NULL...
idpf_find_rxq_vec(9)
NAME idpf_find_rxq_vec - find rxq vector from q index SYNOPSIS struct idpf_q_vector * idpf_find_rxq_vec (const struct idpf_vport *vport , u32 q_num ); ARGUMENTS vport virtual port associated to queue q_num q index used to find queue DESCRIPTION returns pointer to rx vector SEE ALSO Kernel file...
idpf_find_txq_vec(9)
NAME idpf_find_txq_vec - find txq vector from q index SYNOPSIS struct idpf_q_vector * idpf_find_txq_vec (const struct idpf_vport *vport , u32 q_num ); ARGUMENTS vport virtual port associated to queue q_num q index used to find queue DESCRIPTION returns pointer to tx vector SEE ALSO Kernel file...
idpf_free_dma_mem(9)
NAME idpf_free_dma_mem - Free the allocated dma memory SYNOPSIS void idpf_free_dma_mem (struct idpf_hw *hw , struct idpf_dma_mem *mem ); ARGUMENTS hw pointer to hw struct mem pointer to dma_mem struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_lib.c idpf_init_vector...
idpf_get_channels(9)
NAME idpf_get_channels - get the number of channels supported by the device SYNOPSIS void idpf_get_channels (struct net_device *netdev , struct ethtool_channels *ch ); ARGUMENTS netdev network interface device structure ch channel information structure DESCRIPTION Report maximum of TX and RX. R...
idpf_get_coalesce(9)
NAME idpf_get_coalesce - get ITR values as requested by user SYNOPSIS int idpf_get_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_get_default_vports(9)
NAME idpf_get_default_vports - Get default number of vports SYNOPSIS u16 idpf_get_default_vports (struct idpf_adapter *adapter ); ARGUMENTS adapter private data struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf.h struct idpf_mac_filter(9), enum idpf_state(9), enum idpf_flags(9), enum idp...
idpf_get_device_type(9)
NAME idpf_get_device_type - Helper to find if it is a VF or PF device SYNOPSIS int idpf_get_device_type (struct pci_dev *pdev ); ARGUMENTS pdev PCI device information struct RETURN PF/VF device ID or -errno on failure. SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_main.c idpf_dev_init(9), idpf_...
idpf_get_ethtool_stats(9)
NAME idpf_get_ethtool_stats - report device statistics SYNOPSIS void idpf_get_ethtool_stats (struct net_device *netdev , struct ethtool_stats *stats , u64 *data ); ARGUMENTS netdev network interface device structure stats ethtool statistics structure data pointer to data buffer DESC...
idpf_get_free_slot(9)
NAME idpf_get_free_slot - get the next non-NULL location index in array SYNOPSIS int idpf_get_free_slot (struct idpf_adapter *adapter ); ARGUMENTS adapter adapter in which to look for a free vport slot SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_lib.c idpf_init_vector_stack(9), idpf_d...
idpf_get_link_ksettings(9)
NAME idpf_get_link_ksettings - Get Link Speed and Duplex settings SYNOPSIS int idpf_get_link_ksettings (struct net_device *netdev , struct ethtool_link_ksettings *cmd ); ARGUMENTS netdev network interface device structure cmd ethtool command DESCRIPTION Reports speed/duplex settings. SEE ALSO K...
idpf_get_max_tx_bufs(9)
NAME idpf_get_max_tx_bufs - Get max scatter-gather buffers supported by the device SYNOPSIS unsigned int idpf_get_max_tx_bufs (struct idpf_adapter *adapter ); ARGUMENTS adapter private data struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf.h struct idpf_mac_filter(9), enum idpf_state(9), ...
idpf_get_max_tx_hdr_size(9)
NAME idpf_get_max_tx_hdr_size - - get the size of tx header SYNOPSIS u16 idpf_get_max_tx_hdr_size (struct idpf_adapter *adapter ); ARGUMENTS adapter Driver specific private structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf.h struct idpf_mac_filter(9), enum idpf_state(9), enum idpf_fla...
idpf_get_max_vfs(9)
NAME idpf_get_max_vfs - Get max number of vfs supported SYNOPSIS int idpf_get_max_vfs (struct idpf_adapter *adapter ); ARGUMENTS adapter Driver specific private structure DESCRIPTION Returns max number of VFs SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_virtchnl.c struct idpf_vc_xn_manager(9)...
idpf_get_max_vports(9)
NAME idpf_get_max_vports - Get max number of vports SYNOPSIS u16 idpf_get_max_vports (struct idpf_adapter *adapter ); ARGUMENTS adapter private data struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf.h struct idpf_mac_filter(9), enum idpf_state(9), enum idpf_flags(9), enum idpf_cap_field(...
idpf_get_mbx_reg_addr(9)
NAME idpf_get_mbx_reg_addr - Get BAR0 mailbox register address SYNOPSIS void __iomem * idpf_get_mbx_reg_addr (struct idpf_adapter *adapter , resource_size_t reg_offset ); ARGUMENTS adapter private data struct reg_offset register offset value RETURN BAR0 mailbox register address based on register offset....
idpf_get_min_tx_pkt_len(9)
NAME idpf_get_min_tx_pkt_len - Get min packet length supported by the device SYNOPSIS u8 idpf_get_min_tx_pkt_len (struct idpf_adapter *adapter ); ARGUMENTS adapter private data struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf.h struct idpf_mac_filter(9), enum idpf_state(9), enum idpf_fl...
idpf_get_msglevel(9)
NAME idpf_get_msglevel - Get debug message level SYNOPSIS u32 idpf_get_msglevel (struct net_device *netdev ); ARGUMENTS netdev network interface device structure DESCRIPTION Returns current debug message level. SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_ethtool.c idpf_get_rx_ring_count(9...
idpf_get_per_q_coalesce(9)
NAME idpf_get_per_q_coalesce - get ITR values as requested by user SYNOPSIS int idpf_get_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 retrieved ...
idpf_get_q_coalesce(9)
NAME idpf_get_q_coalesce - get ITR values for specific queue SYNOPSIS int idpf_get_q_coalesce (struct net_device *netdev , struct ethtool_coalesce *ec , u32 q_num ); ARGUMENTS netdev pointer to the netdev associated with this query ec coalesce settings to program the device with q_num ...
idpf_get_reg_addr(9)
NAME idpf_get_reg_addr - Get BAR0 register address SYNOPSIS void __iomem * idpf_get_reg_addr (struct idpf_adapter *adapter , resource_size_t reg_offset ); ARGUMENTS adapter private data struct reg_offset register offset value DESCRIPTION Based on the register offset, return the actual BAR0 register addr...
idpf_get_reg_intr_vecs(9)
NAME idpf_get_reg_intr_vecs - Get vector queue register offset SYNOPSIS int idpf_get_reg_intr_vecs (struct idpf_adapter *adapter , struct idpf_vec_regs *reg_vals ); ARGUMENTS adapter adapter structure to get the vector chunks reg_vals Register offsets to store in RETURN number of registers that got po...
idpf_get_reserved_rdma_vecs(9)
NAME idpf_get_reserved_rdma_vecs - Get reserved RDMA vectors SYNOPSIS u16 idpf_get_reserved_rdma_vecs (struct idpf_adapter *adapter ); ARGUMENTS adapter private data struct RETURN number of vectors reserved for RDMA SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf.h struct idpf_mac_filter(9), en...
idpf_get_reserved_vecs(9)
NAME idpf_get_reserved_vecs - Get reserved vectors SYNOPSIS u16 idpf_get_reserved_vecs (struct idpf_adapter *adapter ); ARGUMENTS adapter private data struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf.h struct idpf_mac_filter(9), enum idpf_state(9), enum idpf_flags(9), enum idpf_cap_fiel...
idpf_get_ringparam(9)
NAME idpf_get_ringparam - Get ring parameters SYNOPSIS void idpf_get_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 struct...
idpf_get_rstat_reg_addr(9)
NAME idpf_get_rstat_reg_addr - Get BAR0 rstat register address SYNOPSIS void __iomem * idpf_get_rstat_reg_addr (struct idpf_adapter *adapter , resource_size_t reg_offset ); ARGUMENTS adapter private data struct reg_offset register offset value RETURN BAR0 rstat register address based on register offset....
idpf_get_rx_ring_count(9)
NAME idpf_get_rx_ring_count - get RX ring count SYNOPSIS u32 idpf_get_rx_ring_count (struct net_device *netdev ); ARGUMENTS netdev network interface device structure RETURN number of RX rings. SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_ethtool.c idpf_get_rxnfc(9), idpf_add_flow_steer(9), idp...
idpf_get_rxfh(9)
NAME idpf_get_rxfh - get the rx flow hash indirection table SYNOPSIS int idpf_get_rxfh (struct net_device *netdev , struct ethtool_rxfh_param *rxfh ); ARGUMENTS netdev network interface device structure rxfh pointer to param struct (indir, key, hfunc) DESCRIPTION RSS LUT and Key information are r...
idpf_get_rxfh_indir_size(9)
NAME idpf_get_rxfh_indir_size - get the rx flow hash indirection table size SYNOPSIS u32 idpf_get_rxfh_indir_size (struct net_device *netdev ); ARGUMENTS netdev network interface device structure DESCRIPTION Returns the table size on success, error value on failure. SEE ALSO Kernel file ./drivers/net/etherne...
idpf_get_rxfh_key_size(9)
NAME idpf_get_rxfh_key_size - get the RSS hash key size SYNOPSIS u32 idpf_get_rxfh_key_size (struct net_device *netdev ); ARGUMENTS netdev network interface device structure DESCRIPTION Returns the key size on success, error value on failure. SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_ethtoo...
idpf_get_rxnfc(9)
NAME idpf_get_rxnfc - command to get RX flow classification rules SYNOPSIS int idpf_get_rxnfc (struct net_device *netdev , struct ethtool_rxnfc *cmd , u32 *rule_locs ); ARGUMENTS netdev network interface device structure cmd ethtool rxnfc command rule_locs pointer to store rule location...
idpf_get_sset_count(9)
NAME idpf_get_sset_count - Get length of string set SYNOPSIS int idpf_get_sset_count (struct net_device *netdev , int sset ); ARGUMENTS netdev network interface device structure sset id of string set DESCRIPTION Reports size of various string tables. SEE ALSO Kernel file ./drivers/net/ethern...
idpf_get_stat_strings(9)
NAME idpf_get_stat_strings - Get stat strings SYNOPSIS void idpf_get_stat_strings (struct net_device *netdev , u8 *data ); ARGUMENTS netdev network interface device structure data buffer for string data DESCRIPTION Builds the statistics string table SEE ALSO Kernel file ./drivers/net/etherne...
idpf_get_stats64(9)
NAME idpf_get_stats64 - get statistics for network device structure SYNOPSIS void idpf_get_stats64 (struct net_device *netdev , struct rtnl_link_stats64 *stats ); ARGUMENTS netdev network interface device structure stats main device statistics structure SEE ALSO Kernel file ./drivers/net/eth...
idpf_get_strings(9)
NAME idpf_get_strings - Get string set SYNOPSIS void idpf_get_strings (struct net_device *netdev , u32 sset , u8 *data ); ARGUMENTS netdev network interface device structure sset id of string set data buffer for string data DESCRIPTION Builds string tables for various string sets ...
idpf_get_timestamp_filters(9)
NAME idpf_get_timestamp_filters - Get the supported timestamping mode SYNOPSIS void idpf_get_timestamp_filters (const struct idpf_vport *vport , struct kernel_ethtool_ts_info *info ); ARGUMENTS vport Virtual port structure info ethtool timestamping info structure DESCRIPTION Get the Tx/Rx timest...
idpf_get_ts_info(9)
NAME idpf_get_ts_info - Get device PHC association SYNOPSIS int idpf_get_ts_info (struct net_device *netdev , struct kernel_ethtool_ts_info *info ); ARGUMENTS netdev network interface device structure info ethtool timestamping info structure RETURN 0 on success, -errno otherwise. SEE ALSO Kernel...
idpf_get_ts_stats(9)
NAME idpf_get_ts_stats - Collect HW tstamping statistics SYNOPSIS void idpf_get_ts_stats (struct net_device *netdev , struct ethtool_ts_stats *ts_stats ); ARGUMENTS netdev network interface device structure ts_stats HW timestamping stats structure DESCRIPTION Collect HW timestamping statistics includ...
idpf_get_vec_ids(9)
NAME idpf_get_vec_ids - Initialize vector id from Mailbox parameters SYNOPSIS int idpf_get_vec_ids (struct idpf_adapter *adapter , u16 *vecids , int num_vecids , struct virtchnl2_vector_chunks *chunks ); ARGUMENTS adapter adapter structure to get the mailbox vector id vecids Array of vector ids ...
idpf_get_vport_id(9)
NAME idpf_get_vport_id - Get vport id SYNOPSIS u32 idpf_get_vport_id (struct idpf_vport *vport ); ARGUMENTS vport virtual port structure DESCRIPTION Return vport id from the adapter persistent data SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_virtchnl.c struct idpf_vc_xn_manager(9), idpf_v...
idpf_handle_event_link(9)
NAME idpf_handle_event_link - Handle link event message SYNOPSIS void idpf_handle_event_link (struct idpf_adapter *adapter , const struct virtchnl2_event *v2e ); ARGUMENTS adapter private data struct v2e virtchnl event message SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_virtch...
idpf_idc_deinit_core_aux_device(9)
NAME idpf_idc_deinit_core_aux_device - de-initialize Auxiliary Device(s) SYNOPSIS void idpf_idc_deinit_core_aux_device (struct idpf_adapter *adapter ); ARGUMENTS adapter driver private data structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_idc.c idpf_idc_init(9), idpf_vport_adev_release(9...
idpf_idc_deinit_vport_aux_device(9)
NAME idpf_idc_deinit_vport_aux_device - de-initialize Auxiliary Device(s) SYNOPSIS void idpf_idc_deinit_vport_aux_device (struct iidc_rdma_vport_dev_info *vdev_info ); ARGUMENTS vdev_info IDC vport device info pointer SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_idc.c idpf_idc_init(9), idpf_vpor...
idpf_idc_init(9)
NAME idpf_idc_init - Called to initialize IDC SYNOPSIS int idpf_idc_init (struct idpf_adapter *adapter ); ARGUMENTS adapter driver private data structure RETURN 0 on success or cap not enabled, error code on failure. SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_idc.c idpf_vport_adev_release(9), ...
idpf_idc_init_aux_core_dev(9)
NAME idpf_idc_init_aux_core_dev - initialize Auxiliary Device(s) SYNOPSIS int idpf_idc_init_aux_core_dev (struct idpf_adapter *adapter , enum iidc_function_type ftype ); ARGUMENTS adapter driver private data structure ftype PF or VF RETURN 0 on success or error code on failure. SEE ALSO Kernel fi...
idpf_idc_init_aux_vport_dev(9)
NAME idpf_idc_init_aux_vport_dev - initialize vport Auxiliary Device(s) SYNOPSIS int idpf_idc_init_aux_vport_dev (struct idpf_vport *vport ); ARGUMENTS vport virtual port data struct RETURN 0 on success or error code on failure. SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_idc.c idpf_idc_init(9...
idpf_idc_init_msix_data(9)
NAME idpf_idc_init_msix_data - initialize MSIX data for the cdev_info structure SYNOPSIS void idpf_idc_init_msix_data (struct idpf_adapter *adapter ); ARGUMENTS adapter driver private data structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_idc.c idpf_idc_init(9), idpf_vport_adev_release(9)...
idpf_idc_issue_reset_event(9)
NAME idpf_idc_issue_reset_event - Function to handle reset IDC event SYNOPSIS void idpf_idc_issue_reset_event (struct iidc_rdma_core_dev_info *cdev_info ); ARGUMENTS cdev_info IDC core device info pointer SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_idc.c idpf_idc_init(9), idpf_vport_adev_releas...
idpf_idc_rdma_vc_send_sync(9)
NAME idpf_idc_rdma_vc_send_sync - virtchnl send callback for IDC registered drivers SYNOPSIS int idpf_idc_rdma_vc_send_sync (struct iidc_rdma_core_dev_info *cdev_info , u8 *send_msg , u16 msg_size , u8 *recv_msg , u16 *recv_len ); ARGUMENTS cdev_info IDC core device info pointer send_msg message to send ...
idpf_idc_register(9)
NAME idpf_idc_register - register for IDC callbacks SYNOPSIS int idpf_idc_register (struct idpf_adapter *adapter ); ARGUMENTS adapter Driver specific private structure RETURN 0 on success or error code on failure. SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_dev.c idpf_ctlq_reg_init(9), idpf_mb...
idpf_idc_request_reset(9)
NAME idpf_idc_request_reset - Called by an Auxiliary Driver SYNOPSIS int idpf_idc_request_reset (struct iidc_rdma_core_dev_info *cdev_info , enum iidc_rdma_reset_type reset_type ); ARGUMENTS cdev_info IDC core device info pointer reset_type function, core or other DESCRIPTION This callback function is acc...
idpf_idc_vdev_mtu_event(9)
NAME idpf_idc_vdev_mtu_event - Function to handle IDC vport mtu change events SYNOPSIS void idpf_idc_vdev_mtu_event (struct iidc_rdma_vport_dev_info *vdev_info , enum iidc_rdma_event_type event_type ); ARGUMENTS vdev_info IDC vport device info pointer event_type type of event to pass to handler SEE ALSO K...
idpf_idc_vf_register(9)
NAME idpf_idc_vf_register - register for IDC callbacks SYNOPSIS int idpf_idc_vf_register (struct idpf_adapter *adapter ); ARGUMENTS adapter Driver specific private structure RETURN 0 on success or error code on failure. SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_vf_dev.c idpf_vf_ctlq_reg_ini...
idpf_idc_vport_dev_ctrl(9)
NAME idpf_idc_vport_dev_ctrl - Called by an Auxiliary Driver SYNOPSIS int idpf_idc_vport_dev_ctrl (struct iidc_rdma_core_dev_info *cdev_info , bool up ); ARGUMENTS cdev_info IDC core device info pointer up RDMA core driver status DESCRIPTION This callback function is accessed by an Auxiliary Drive...
idpf_idc_vport_dev_down(9)
NAME idpf_idc_vport_dev_down - called CORE is leaving vport aux dev support state SYNOPSIS void idpf_idc_vport_dev_down (struct idpf_adapter *adapter ); ARGUMENTS adapter private data struct SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_idc.c idpf_idc_init(9), idpf_vport_adev_release(9), idpf_p...
idpf_idc_vport_dev_up(9)
NAME idpf_idc_vport_dev_up - called when CORE is ready for vport aux devs SYNOPSIS int idpf_idc_vport_dev_up (struct idpf_adapter *adapter ); ARGUMENTS adapter private data struct RETURN 0 on success or error code on failure. SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_idc.c idpf_idc_init(9),...
idpf_init_avail_queues(9)
NAME idpf_init_avail_queues - Initialize available queues on the device SYNOPSIS void idpf_init_avail_queues (struct idpf_adapter *adapter ); ARGUMENTS adapter Driver specific private structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_virtchnl.c struct idpf_vc_xn_manager(9), idpf_vid_to_v...
idpf_init_dflt_mbx(9)
NAME idpf_init_dflt_mbx - Setup default mailbox parameters and make request SYNOPSIS int idpf_init_dflt_mbx (struct idpf_adapter *adapter ); ARGUMENTS adapter adapter info struct DESCRIPTION Returns 0 on success, negative otherwise SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_virtchnl.c struct...
idpf_init_dim(9)
NAME idpf_init_dim - Set up dynamic interrupt moderation SYNOPSIS void idpf_init_dim (struct idpf_q_vector *qv ); ARGUMENTS qv q_vector 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_c...
idpf_init_hard_reset(9)
NAME idpf_init_hard_reset - Initiate a hardware reset SYNOPSIS void idpf_init_hard_reset (struct idpf_adapter *adapter ); ARGUMENTS adapter Driver specific private structure DESCRIPTION Deallocate the vports and all the resources associated with them and reallocate. Also reinitialize the mailbox. Return 0 on suc...
idpf_init_mac_addr(9)
NAME idpf_init_mac_addr - initialize mac address for vport SYNOPSIS int idpf_init_mac_addr (struct idpf_vport *vport , struct net_device *netdev ); ARGUMENTS vport main vport structure netdev pointer to netdev struct associated with this vport SEE ALSO Kernel file ./drivers/net/ethernet/inte...
idpf_init_rss_lut(9)
NAME idpf_init_rss_lut - Allocate and initialize RSS LUT SYNOPSIS int idpf_init_rss_lut (struct idpf_vport *vport , struct idpf_rss_data *rss_data ); ARGUMENTS vport virtual port rss_data pointer to RSS key and lut info RETURN 0 on success, negative on failure SEE ALSO Kernel file ./drivers/net/et...
idpf_init_task(9)
NAME idpf_init_task - Delayed initialization task SYNOPSIS void idpf_init_task (struct work_struct *work ); ARGUMENTS work work_struct handle to our data DESCRIPTION Init task finishes up pending work started in probe. Due to the asynchronous nature in which the device communicates with hardware, we may hav...
idpf_init_vector_stack(9)
NAME idpf_init_vector_stack - Fill the MSIX vector stack with vector index SYNOPSIS int idpf_init_vector_stack (struct idpf_adapter *adapter ); ARGUMENTS adapter private data struct DESCRIPTION Return 0 on success, error on failure SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_lib.c idpf_deinit_ve...
idpf_initiate_soft_reset(9)
NAME idpf_initiate_soft_reset - Initiate a software reset SYNOPSIS int idpf_initiate_soft_reset (struct idpf_vport *vport , enum idpf_vport_reset_cause reset_cause ); ARGUMENTS vport virtual port data struct reset_cause reason for the soft reset DESCRIPTION Soft reset only reallocs vport queue resource...
idpf_intr_reg_init(9)
NAME idpf_intr_reg_init - Initialize interrupt registers SYNOPSIS int idpf_intr_reg_init (struct idpf_vport *vport , struct idpf_q_vec_rsrc *rsrc ); ARGUMENTS vport virtual port structure rsrc pointer to queue and vector resources SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_dev...
idpf_intr_rel(9)
NAME idpf_intr_rel - Release interrupt capabilities and free memory SYNOPSIS void idpf_intr_rel (struct idpf_adapter *adapter ); ARGUMENTS adapter adapter to disable interrupts on SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_lib.c idpf_init_vector_stack(9), idpf_deinit_vector_stack(9), i...
idpf_intr_req(9)
NAME idpf_intr_req - Request interrupt capabilities SYNOPSIS int idpf_intr_req (struct idpf_adapter *adapter ); ARGUMENTS adapter adapter to enable interrupts on DESCRIPTION Returns 0 on success, negative on failure SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_lib.c idpf_init_vector_stac...
idpf_is_capability_ena(9)
NAME idpf_is_capability_ena - Default implementation of capability checking SYNOPSIS bool idpf_is_capability_ena (struct idpf_adapter *adapter , bool all , enum idpf_cap_field field , u64 flag ); ARGUMENTS adapter Private data struct all all or one flag field caps field to check for ...
idpf_is_feature_ena(9)
NAME idpf_is_feature_ena - Determine if a particular feature is enabled SYNOPSIS bool idpf_is_feature_ena (const struct idpf_vport *vport , netdev_features_t feature ); ARGUMENTS vport Vport to check feature Netdev flag to check DESCRIPTION Returns true or false if a particular feature is enabled. ...
idpf_is_hsplit_supported(9)
NAME idpf_is_hsplit_supported - check whether the header split is supported SYNOPSIS bool idpf_is_hsplit_supported (const struct idpf_vport *vport ); ARGUMENTS vport virtual port to check the capability for RETURN true if it's supported by the HW/FW, false if not. SEE ALSO Kernel file ./drivers/net/ethe...
idpf_is_queue_model_split(9)
NAME idpf_is_queue_model_split - check if queue model is split SYNOPSIS int idpf_is_queue_model_split (u16 q_model ); ARGUMENTS q_model queue model single or split DESCRIPTION Returns true if queue model is split else false SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf.h struct idpf_mac_filter...
idpf_is_rdma_cap_ena(9)
NAME idpf_is_rdma_cap_ena - Determine if RDMA is supported SYNOPSIS bool idpf_is_rdma_cap_ena (struct idpf_adapter *adapter ); ARGUMENTS adapter private data struct RETURN true if RDMA capability is enabled, false otherwise SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf.h struct idpf_mac_filter...
idpf_is_reset_detected(9)
NAME idpf_is_reset_detected - check if we were reset at some point SYNOPSIS bool idpf_is_reset_detected (struct idpf_adapter *adapter ); ARGUMENTS adapter driver specific private structure DESCRIPTION Returns true if we are either in reset currently or were previously reset. SEE ALSO Kernel file ./drivers/net...
idpf_is_reset_in_prog(9)
NAME idpf_is_reset_in_prog - check if reset is in progress SYNOPSIS bool idpf_is_reset_in_prog (struct idpf_adapter *adapter ); ARGUMENTS adapter driver specific private structure DESCRIPTION Returns true if hard reset is in progress, false otherwise SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf...
idpf_mac_filter_async_handler(9)
NAME idpf_mac_filter_async_handler - Async callback for mac filters SYNOPSIS int idpf_mac_filter_async_handler (struct idpf_adapter *adapter , struct idpf_vc_xn *xn , const struct idpf_ctlq_msg *ctlq_msg ); ARGUMENTS adapter private data struct xn transaction for message ctlq_msg recei...
idpf_map_lan_mmio_regs(9)
NAME idpf_map_lan_mmio_regs - map remaining LAN BAR regions SYNOPSIS int idpf_map_lan_mmio_regs (struct idpf_adapter *adapter ); ARGUMENTS adapter Driver specific private structure RETURN 0 on success or error code on failure. SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_virtchnl.c struct idp...
idpf_mb_clean(9)
NAME idpf_mb_clean - Reclaim the send mailbox queue entries SYNOPSIS int idpf_mb_clean (struct idpf_adapter *adapter , struct idpf_ctlq_info *asq ); ARGUMENTS adapter driver specific private structure asq send control queue info DESCRIPTION Reclaim the send mailbox queue entries to be used to sen...
idpf_mb_intr_clean(9)
NAME idpf_mb_intr_clean - Interrupt handler for the mailbox SYNOPSIS irqreturn_t idpf_mb_intr_clean (int irq , void *data ); ARGUMENTS irq interrupt number data pointer to the adapter structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_lib.c idpf_init_vector_stack(9),...
idpf_mb_intr_init(9)
NAME idpf_mb_intr_init - Initialize the mailbox interrupt SYNOPSIS int idpf_mb_intr_init (struct idpf_adapter *adapter ); ARGUMENTS adapter adapter structure to store the mailbox vector SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_lib.c idpf_init_vector_stack(9), idpf_deinit_vector_sta...
idpf_mb_intr_reg_init(9)
NAME idpf_mb_intr_reg_init - Initialize mailbox interrupt register SYNOPSIS void idpf_mb_intr_reg_init (struct idpf_adapter *adapter ); ARGUMENTS adapter adapter structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_dev.c idpf_ctlq_reg_init(9), idpf_intr_reg_init(9), idpf_reset_reg_init(9), ...
idpf_mb_intr_rel_irq(9)
NAME idpf_mb_intr_rel_irq - Free the IRQ association with the OS SYNOPSIS void idpf_mb_intr_rel_irq (struct idpf_adapter *adapter ); ARGUMENTS adapter adapter structure DESCRIPTION This will also disable interrupt mode and queue up mailbox task. Mailbox task will reschedule itself if not in interrupt mode. SEE ...
idpf_mb_intr_req_irq(9)
NAME idpf_mb_intr_req_irq - Request irq for the mailbox interrupt SYNOPSIS int idpf_mb_intr_req_irq (struct idpf_adapter *adapter ); ARGUMENTS adapter adapter structure to pass to the mailbox irq handler SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_lib.c idpf_init_vector_stack(9), idpf...
idpf_mb_irq_enable(9)
NAME idpf_mb_irq_enable - Enable MSIX interrupt for the mailbox SYNOPSIS void idpf_mb_irq_enable (struct idpf_adapter *adapter ); ARGUMENTS adapter adapter to get the hardware address for register write SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_lib.c idpf_init_vector_stack(9), idpf_de...
idpf_mbx_task(9)
NAME idpf_mbx_task - Delayed task to handle mailbox responses SYNOPSIS void idpf_mbx_task (struct work_struct *work ); ARGUMENTS work work_struct handle 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_irq(...
idpf_net_dim(9)
NAME idpf_net_dim - Update net DIM algorithm SYNOPSIS void idpf_net_dim (struct idpf_q_vector *q_vector ); ARGUMENTS q_vector the vector associated with the interrupt DESCRIPTION Create a DIM sample and notify net_dim so that it can possibly decide a new ITR value based on incoming packets, bytes, and interrupts....
idpf_netdev_to_adapter(9)
NAME idpf_netdev_to_adapter - Get adapter handle from a netdev SYNOPSIS struct idpf_adapter * idpf_netdev_to_adapter (struct net_device *netdev ); ARGUMENTS netdev Network interface device structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf.h struct idpf_mac_filter(9), enum idpf_state(9)...
idpf_netdev_to_vport(9)
NAME idpf_netdev_to_vport - get a vport handle from a netdev SYNOPSIS struct idpf_vport * idpf_netdev_to_vport (struct net_device *netdev ); ARGUMENTS netdev network interface device structure SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf.h struct idpf_mac_filter(9), enum idpf_state(9), enu...
idpf_open(9)
NAME idpf_open - Called when a network interface becomes active SYNOPSIS int idpf_open (struct net_device *netdev ); ARGUMENTS netdev network interface device structure DESCRIPTION The open entry point is called when a network interface is made active by the system (IFF_UP). At this point all resources nee...
idpf_parse_protocol_ids(9)
NAME idpf_parse_protocol_ids - parse protocol IDs for a given packet type SYNOPSIS void idpf_parse_protocol_ids (struct virtchnl2_ptype *ptype , struct libeth_rx_pt *rx_pt ); ARGUMENTS ptype packet type to parse rx_pt store the parsed packet type info into SEE ALSO Kernel file ./drivers/net/eth...
idpf_plug_core_aux_dev(9)
NAME idpf_plug_core_aux_dev - allocate and register an Auxiliary device SYNOPSIS int idpf_plug_core_aux_dev (struct iidc_rdma_core_dev_info *cdev_info ); ARGUMENTS cdev_info IDC core device info pointer RETURN 0 on success or error code on failure. SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_idc...
idpf_plug_vport_aux_dev(9)
NAME idpf_plug_vport_aux_dev - allocate and register a vport Auxiliary device SYNOPSIS int idpf_plug_vport_aux_dev (struct iidc_rdma_core_dev_info *cdev_info , struct iidc_rdma_vport_dev_info *vdev_info ); ARGUMENTS cdev_info IDC core device info pointer vdev_info IDC vport device info pointer RETURN 0 o...
idpf_post_buf_refill(9)
NAME idpf_post_buf_refill - Post buffer id to refill queue SYNOPSIS void idpf_post_buf_refill (struct idpf_sw_queue *refillq , u16 buf_id ); ARGUMENTS refillq refill queue to post to buf_id buffer id to post SEE ALSO Kernel file ./drivers/net/ethernet/intel/idpf/idpf_txrx.c idpf_chk_linearize(9), i...
idpf_prep_map_unmap_queue_set_vector_msg(9)
NAME idpf_prep_map_unmap_queue_set_vector_msg - prepare message to map or unmap queue set to the interrupt vector SYNOPSIS u32 idpf_prep_map_unmap_queue_set_vector_msg (u32 vport_id , void *buf , const void *pos , u32 num_chunks ); ARGUMENTS vport_id ID of virtual port queues are associated with buf ...
idpf_prepare_cfg_rxqs_msg(9)
NAME idpf_prepare_cfg_rxqs_msg - prepare message to configure selected Rx queues SYNOPSIS u32 idpf_prepare_cfg_rxqs_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 pos ...
idpf_prepare_cfg_txqs_msg(9)
NAME idpf_prepare_cfg_txqs_msg - prepare message to configure selected Tx queues SYNOPSIS u32 idpf_prepare_cfg_txqs_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 pos ...