id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
i40e_next_filter(9) | NAME i40e_next_filter - Get the next non-broadcast filter from a list
SYNOPSIS struct i40e_new_mac_filter * i40e_next_filter (struct i40e_new_mac_filter *next );
ARGUMENTS next pointer to filter in list
DESCRIPTION Returns the next non-broadcast filter in the list. Required so that we ignore broadcast filters... |
i40e_notify_client_of_l2_param_changes(9) | NAME i40e_notify_client_of_l2_param_changes - call the client notify callback
SYNOPSIS void i40e_notify_client_of_l2_param_changes (struct i40e_pf *pf );
ARGUMENTS pf PF device pointer
DESCRIPTION If there is a client, call its callback
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_client.c... |
i40e_notify_client_of_netdev_close(9) | NAME i40e_notify_client_of_netdev_close - call the client close callback
SYNOPSIS void i40e_notify_client_of_netdev_close (struct i40e_pf *pf , bool reset );
ARGUMENTS pf PF device pointer
reset true when close called due to a reset pending
DESCRIPTION If there is a client to this netdev, call... |
i40e_notify_client_of_vf_enable(9) | NAME i40e_notify_client_of_vf_enable - call the client vf notification callback
SYNOPSIS void i40e_notify_client_of_vf_enable (struct i40e_pf *pf , u32 num_vfs );
ARGUMENTS pf PF device pointer
num_vfs the number of VFs currently enabled, 0 for disable
DESCRIPTION If there is a client attached t... |
i40e_notify_client_of_vf_msg(9) | NAME i40e_notify_client_of_vf_msg - call the client vf message callback
SYNOPSIS void i40e_notify_client_of_vf_msg (struct i40e_vsi *vsi , u32 vf_id , u8 *msg , u16 len );
ARGUMENTS vsi the VSI with the message
vf_id the absolute VF id that sent the message
msg message buffer
... |
i40e_notify_client_of_vf_reset(9) | NAME i40e_notify_client_of_vf_reset - call the client vf reset callback
SYNOPSIS void i40e_notify_client_of_vf_reset (struct i40e_pf *pf , u32 vf_id );
ARGUMENTS pf PF device pointer
vf_id asolute id of VF being reset
DESCRIPTION If there is a client attached to this PF, notify when a VF is re... |
i40e_nvm_version_str(9) | NAME i40e_nvm_version_str - format the NVM version strings
SYNOPSIS char * i40e_nvm_version_str (struct i40e_hw *hw , char *buf , size_t len );
ARGUMENTS hw ptr to the hardware info
buf string buffer to store
len buffer size
SEE ALSO Kernel file ./drivers/net/ethernet/intel... |
i40e_nvmupd_check_wait_event(9) | NAME i40e_nvmupd_check_wait_event - handle NVM update operation events
SYNOPSIS void i40e_nvmupd_check_wait_event (struct i40e_hw *hw , u16 opcode , struct libie_aq_desc *desc );
ARGUMENTS hw pointer to the hardware structure
opcode the event that just happened
desc AdminQ descrip... |
i40e_nvmupd_clear_wait_state(9) | NAME i40e_nvmupd_clear_wait_state - clear wait state on hw
SYNOPSIS void i40e_nvmupd_clear_wait_state (struct i40e_hw *hw );
ARGUMENTS hw pointer to the hardware structure
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_nvm.c i40e_init_nvm(9), i40e_acquire_nvm(9), i40e_release_nvm... |
i40e_nvmupd_command(9) | NAME i40e_nvmupd_command - Process an NVM update command
SYNOPSIS int i40e_nvmupd_command (struct i40e_hw *hw , struct i40e_nvm_access *cmd , u8 *bytes , int *perrno );
ARGUMENTS hw pointer to hardware structure
cmd pointer to nvm update command
bytes pointer to the data buffer
... |
i40e_nvmupd_exec_aq(9) | NAME i40e_nvmupd_exec_aq - Run an AQ command
SYNOPSIS int i40e_nvmupd_exec_aq (struct i40e_hw *hw , struct i40e_nvm_access *cmd , u8 *bytes , int *perrno );
ARGUMENTS hw pointer to hardware structure
cmd pointer to nvm update command buffer
bytes pointer to the data buffer
... |
i40e_nvmupd_get_aq_event(9) | NAME i40e_nvmupd_get_aq_event - Get the Admin Queue event from previous exec_aq
SYNOPSIS int i40e_nvmupd_get_aq_event (struct i40e_hw *hw , struct i40e_nvm_access *cmd , u8 *bytes , int *perrno );
ARGUMENTS hw pointer to hardware structure
cmd pointer to nvm update command buffer
byte... |
i40e_nvmupd_get_aq_result(9) | NAME i40e_nvmupd_get_aq_result - Get the results from the previous exec_aq
SYNOPSIS int i40e_nvmupd_get_aq_result (struct i40e_hw *hw , struct i40e_nvm_access *cmd , u8 *bytes , int *perrno );
ARGUMENTS hw pointer to hardware structure
cmd pointer to nvm update command buffer
bytes ... |
i40e_nvmupd_nvm_erase(9) | NAME i40e_nvmupd_nvm_erase - Erase an NVM module
SYNOPSIS int i40e_nvmupd_nvm_erase (struct i40e_hw *hw , struct i40e_nvm_access *cmd , int *perrno );
ARGUMENTS hw pointer to hardware structure
cmd pointer to nvm update command buffer
perrno pointer to return error code
DESCRIPT... |
i40e_nvmupd_nvm_read(9) | NAME i40e_nvmupd_nvm_read - Read NVM
SYNOPSIS int i40e_nvmupd_nvm_read (struct i40e_hw *hw , struct i40e_nvm_access *cmd , u8 *bytes , int *perrno );
ARGUMENTS hw pointer to hardware structure
cmd pointer to nvm update command buffer
bytes pointer to the data buffer
perr... |
i40e_nvmupd_nvm_write(9) | NAME i40e_nvmupd_nvm_write - Write NVM
SYNOPSIS int i40e_nvmupd_nvm_write (struct i40e_hw *hw , struct i40e_nvm_access *cmd , u8 *bytes , int *perrno );
ARGUMENTS hw pointer to hardware structure
cmd pointer to nvm update command buffer
bytes pointer to the data buffer
p... |
i40e_nvmupd_state_init(9) | NAME i40e_nvmupd_state_init - Handle NVM update state Init
SYNOPSIS int i40e_nvmupd_state_init (struct i40e_hw *hw , struct i40e_nvm_access *cmd , u8 *bytes , int *perrno );
ARGUMENTS hw pointer to hardware structure
cmd pointer to nvm update command buffer
bytes pointer to the ... |
i40e_nvmupd_state_reading(9) | NAME i40e_nvmupd_state_reading - Handle NVM update state Reading
SYNOPSIS int i40e_nvmupd_state_reading (struct i40e_hw *hw , struct i40e_nvm_access *cmd , u8 *bytes , int *perrno );
ARGUMENTS hw pointer to hardware structure
cmd pointer to nvm update command buffer
bytes pointe... |
i40e_nvmupd_state_writing(9) | NAME i40e_nvmupd_state_writing - Handle NVM update state Writing
SYNOPSIS int i40e_nvmupd_state_writing (struct i40e_hw *hw , struct i40e_nvm_access *cmd , u8 *bytes , int *perrno );
ARGUMENTS hw pointer to hardware structure
cmd pointer to nvm update command buffer
bytes pointe... |
i40e_nvmupd_validate_command(9) | NAME i40e_nvmupd_validate_command - Validate given command
SYNOPSIS enum i40e_nvmupd_cmd i40e_nvmupd_validate_command (struct i40e_hw *hw , struct i40e_nvm_access *cmd , int *perrno );
ARGUMENTS hw pointer to hardware structure
cmd pointer to nvm update command buffer
perrno poin... |
i40e_open(9) | NAME i40e_open - Called when a network interface is made active
SYNOPSIS int i40e_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... |
i40e_parse_cee_app_tlv(9) | NAME i40e_parse_cee_app_tlv -
SYNOPSIS void i40e_parse_cee_app_tlv (struct i40e_cee_feat_tlv *tlv , struct i40e_dcbx_config *dcbcfg );
ARGUMENTS tlv CEE DCBX APP TLV
dcbcfg Local store to update APP PRIO data
DESCRIPTION Parses CEE DCBX APP PRIO TLV
SEE ALSO Kernel file ./drivers/net/ethe... |
i40e_parse_cee_pfccfg_tlv(9) | NAME i40e_parse_cee_pfccfg_tlv -
SYNOPSIS void i40e_parse_cee_pfccfg_tlv (struct i40e_cee_feat_tlv *tlv , struct i40e_dcbx_config *dcbcfg );
ARGUMENTS tlv CEE DCBX PFC CFG TLV
dcbcfg Local store to update PFC CFG data
DESCRIPTION Parses CEE DCBX PFC CFG TLV
SEE ALSO Kernel file ./drivers/... |
i40e_parse_cee_pgcfg_tlv(9) | NAME i40e_parse_cee_pgcfg_tlv -
SYNOPSIS void i40e_parse_cee_pgcfg_tlv (struct i40e_cee_feat_tlv *tlv , struct i40e_dcbx_config *dcbcfg );
ARGUMENTS tlv CEE DCBX PG CFG TLV
dcbcfg Local store to update ETS CFG data
DESCRIPTION Parses CEE DCBX PG CFG TLV
SEE ALSO Kernel file ./drivers/net/... |
i40e_parse_cee_tlv(9) | NAME i40e_parse_cee_tlv -
SYNOPSIS void i40e_parse_cee_tlv (struct i40e_lldp_org_tlv *tlv , struct i40e_dcbx_config *dcbcfg );
ARGUMENTS tlv CEE DCBX TLV
dcbcfg Local store to update DCBX config data
DESCRIPTION Get the TLV subtype and send it to parsing function based on the subtype value
SEE ... |
i40e_parse_cls_flower(9) | NAME i40e_parse_cls_flower - Parse tc flower filters provided by kernel
SYNOPSIS int i40e_parse_cls_flower (struct i40e_vsi *vsi , struct flow_cls_offload *f , struct i40e_cloud_filter *filter );
ARGUMENTS vsi Pointer to VSI
f Pointer to struct flow_cls_offload
filter Pointer to... |
i40e_parse_discover_capabilities(9) | NAME i40e_parse_discover_capabilities -
SYNOPSIS void i40e_parse_discover_capabilities (struct i40e_hw *hw , void *buff , u32 cap_count , enum i40e_admin_queue_opc list_type_opc );
ARGUMENTS hw pointer to the hw struct
buff pointer to a buffer containing device/function capability records
... |
i40e_parse_ieee_app_tlv(9) | NAME i40e_parse_ieee_app_tlv -
SYNOPSIS void i40e_parse_ieee_app_tlv (struct i40e_lldp_org_tlv *tlv , struct i40e_dcbx_config *dcbcfg );
ARGUMENTS tlv IEEE 802.1Qaz APP TLV
dcbcfg Local store to update APP PRIO data
DESCRIPTION Parses IEEE 802.1Qaz APP PRIO TLV
SEE ALSO Kernel file ./dr... |
i40e_parse_ieee_etscfg_tlv(9) | NAME i40e_parse_ieee_etscfg_tlv -
SYNOPSIS void i40e_parse_ieee_etscfg_tlv (struct i40e_lldp_org_tlv *tlv , struct i40e_dcbx_config *dcbcfg );
ARGUMENTS tlv IEEE 802.1Qaz ETS CFG TLV
dcbcfg Local store to update ETS CFG data
DESCRIPTION Parses IEEE 802.1Qaz ETS CFG TLV
SEE ALSO Kernel file ... |
i40e_parse_ieee_etsrec_tlv(9) | NAME i40e_parse_ieee_etsrec_tlv -
SYNOPSIS void i40e_parse_ieee_etsrec_tlv (struct i40e_lldp_org_tlv *tlv , struct i40e_dcbx_config *dcbcfg );
ARGUMENTS tlv IEEE 802.1Qaz ETS REC TLV
dcbcfg Local store to update ETS REC data
DESCRIPTION Parses IEEE 802.1Qaz ETS REC TLV
SEE ALSO Kernel file ... |
i40e_parse_ieee_pfccfg_tlv(9) | NAME i40e_parse_ieee_pfccfg_tlv -
SYNOPSIS void i40e_parse_ieee_pfccfg_tlv (struct i40e_lldp_org_tlv *tlv , struct i40e_dcbx_config *dcbcfg );
ARGUMENTS tlv IEEE 802.1Qaz PFC CFG TLV
dcbcfg Local store to update PFC CFG data
DESCRIPTION Parses IEEE 802.1Qaz PFC CFG TLV
SEE ALSO Kernel file ... |
i40e_parse_ieee_tlv(9) | NAME i40e_parse_ieee_tlv -
SYNOPSIS void i40e_parse_ieee_tlv (struct i40e_lldp_org_tlv *tlv , struct i40e_dcbx_config *dcbcfg );
ARGUMENTS tlv IEEE 802.1Qaz TLV
dcbcfg Local store to update ETS REC data
DESCRIPTION Get the TLV subtype and send it to parsing function based on the subtype value
S... |
i40e_parse_org_tlv(9) | NAME i40e_parse_org_tlv -
SYNOPSIS void i40e_parse_org_tlv (struct i40e_lldp_org_tlv *tlv , struct i40e_dcbx_config *dcbcfg );
ARGUMENTS tlv Organization specific TLV
dcbcfg Local store to update ETS REC data
DESCRIPTION Currently only IEEE 802.1Qaz TLV is supported, all others will be returned
... |
i40e_parse_rx_flow_user_data(9) | NAME i40e_parse_rx_flow_user_data - Deconstruct user-defined data
SYNOPSIS int i40e_parse_rx_flow_user_data (struct ethtool_rx_flow_spec *fsp , struct i40e_rx_flow_userdef *data );
ARGUMENTS fsp pointer to rx flow specification
data pointer to userdef data structure for storage
DESCRIPTION Rea... |
i40e_partition_setting_complaint(9) | NAME i40e_partition_setting_complaint - generic complaint for MFP restriction
SYNOPSIS void i40e_partition_setting_complaint (struct i40e_pf *pf );
ARGUMENTS pf the PF struct
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_ethtool.c struct i40e_stats(9), i40e_add_one_ethtool_stat(9), __i40e_add_... |
i40e_pci_error_detected(9) | NAME i40e_pci_error_detected - warning that something funky happened in PCI land
SYNOPSIS pci_ers_result_t i40e_pci_error_detected (struct pci_dev *pdev , pci_channel_state_t error );
ARGUMENTS pdev PCI device information struct
error the type of PCI error
DESCRIPTION Called to warn that somethi... |
i40e_pci_error_reset_done(9) | NAME i40e_pci_error_reset_done - pci reset done, device driver reset can begin
SYNOPSIS void i40e_pci_error_reset_done (struct pci_dev *pdev );
ARGUMENTS pdev PCI device information struct
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_mem(9), i4... |
i40e_pci_error_reset_prepare(9) | NAME i40e_pci_error_reset_prepare - prepare device driver for pci reset
SYNOPSIS void i40e_pci_error_reset_prepare (struct pci_dev *pdev );
ARGUMENTS pdev PCI device information struct
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_mem(9), i40e_f... |
i40e_pci_error_resume(9) | NAME i40e_pci_error_resume - restart operations after PCI error recovery
SYNOPSIS void i40e_pci_error_resume (struct pci_dev *pdev );
ARGUMENTS pdev PCI device information struct
DESCRIPTION Called to allow the driver to bring things back up after PCI error and/or reset recovery has finished.
SEE ALSO Kernel... |
i40e_pci_error_slot_reset(9) | NAME i40e_pci_error_slot_reset - a PCI slot reset just happened
SYNOPSIS pci_ers_result_t i40e_pci_error_slot_reset (struct pci_dev *pdev );
ARGUMENTS pdev PCI device information struct
DESCRIPTION Called to find if the driver can work with the device now that the pci slot has been reset. If a basic connecti... |
i40e_pci_sriov_configure(9) | NAME i40e_pci_sriov_configure -
SYNOPSIS int i40e_pci_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 of VFs in sysfs.
SEE... |
i40e_pci_sriov_enable(9) | NAME i40e_pci_sriov_enable -
SYNOPSIS int i40e_pci_sriov_enable (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
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_virtc... |
i40e_pf_config_rss(9) | NAME i40e_pf_config_rss - Prepare for RSS if used
SYNOPSIS int i40e_pf_config_rss (struct i40e_pf *pf );
ARGUMENTS pf board private structure
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_mem(9), i40e_free_dma_mem(9), i40e_allocate_virt_mem(9... |
i40e_pf_get_main_veb(9) | NAME i40e_pf_get_main_veb - get pointer to main VEB
SYNOPSIS struct i40e_veb * i40e_pf_get_main_veb (struct i40e_pf *pf );
ARGUMENTS pf pointer to a PF
RETURN pointer to main VEB or NULL if it does not exist
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e.h __i40e_pf_next_vsi(9), __i40e_pf_... |
i40e_pf_get_main_vsi(9) | NAME i40e_pf_get_main_vsi - get pointer to main VSI
SYNOPSIS struct i40e_vsi * i40e_pf_get_main_vsi (struct i40e_pf *pf );
ARGUMENTS pf pointer to a PF
RETURN pointer to main VSI or NULL if it does not exist
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e.h __i40e_pf_next_vsi(9), __i40e_pf_... |
i40e_pf_get_num_tc(9) | NAME i40e_pf_get_num_tc - Get enabled traffic classes for PF
SYNOPSIS u8 i40e_pf_get_num_tc (struct i40e_pf *pf );
ARGUMENTS pf PF being queried
DESCRIPTION Return number of traffic classes enabled for the given PF
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), ... |
i40e_pf_get_tc_map(9) | NAME i40e_pf_get_tc_map - Get bitmap for enabled traffic classes
SYNOPSIS u8 i40e_pf_get_tc_map (struct i40e_pf *pf );
ARGUMENTS pf PF being queried
DESCRIPTION Return a bitmap for enabled traffic classes for this PF.
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9)... |
i40e_pf_get_veb_by_seid(9) | NAME i40e_pf_get_veb_by_seid - find VEB by SEID
SYNOPSIS struct i40e_veb * i40e_pf_get_veb_by_seid (struct i40e_pf *pf , u16 seid );
ARGUMENTS pf pointer to a PF
seid SEID of the VSI
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e.h __i40e_pf_next_vsi(9), __i40e_pf_next_veb(9)... |
i40e_pf_get_vsi_by_seid(9) | NAME i40e_pf_get_vsi_by_seid - find VSI by SEID
SYNOPSIS struct i40e_vsi * i40e_pf_get_vsi_by_seid (struct i40e_pf *pf , u16 seid );
ARGUMENTS pf pointer to a PF
seid SEID of the VSI
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e.h __i40e_pf_next_vsi(9), __i40e_pf_next_veb(9)... |
i40e_pf_loop_reset(9) | NAME i40e_pf_loop_reset - perform reset in a loop.
SYNOPSIS int i40e_pf_loop_reset (struct i40e_pf *pf );
ARGUMENTS pf board private structure
DESCRIPTION This function is useful when a NIC is about to enter recovery mode. When a NIC's internal data structures are corrupted the NIC's firmware is going to ... |
i40e_pf_quiesce_all_vsi(9) | NAME i40e_pf_quiesce_all_vsi - Pause all VSIs on a PF
SYNOPSIS void i40e_pf_quiesce_all_vsi (struct i40e_pf *pf );
ARGUMENTS pf the PF
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_mem(9), i40e_free_dma_mem(9), i40e_allocate_virt_mem(9), i40... |
i40e_pf_reset(9) | NAME i40e_pf_reset - Reset the PF
SYNOPSIS int i40e_pf_reset (struct i40e_hw *hw );
ARGUMENTS hw pointer to the hardware structure
DESCRIPTION Assuming someone else has triggered a global reset, assure the global reset is complete and then reset the PF
SEE ALSO Kernel file ./drivers/net/ethernet/inte... |
i40e_pf_reset_stats(9) | NAME i40e_pf_reset_stats - Reset all of the stats for the given PF
SYNOPSIS void i40e_pf_reset_stats (struct i40e_pf *pf );
ARGUMENTS pf the PF to be reset
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_mem(9), i40e_free_dma_mem(9), i40e_allocate_virt... |
i40e_pf_rxq_wait(9) | NAME i40e_pf_rxq_wait - Wait for a PF's Rx queue to be enabled or disabled
SYNOPSIS int i40e_pf_rxq_wait (struct i40e_pf *pf , int pf_q , bool enable );
ARGUMENTS pf the PF being configured
pf_q the PF queue
enable enable or disable state of the queue
DESCRIPTION This routine wil... |
i40e_pf_txq_wait(9) | NAME i40e_pf_txq_wait - Wait for a PF's Tx queue to be enabled or disabled
SYNOPSIS int i40e_pf_txq_wait (struct i40e_pf *pf , int pf_q , bool enable );
ARGUMENTS pf the PF being configured
pf_q the PF queue
enable enable or disable state of the queue
DESCRIPTION This routine w... |
i40e_pf_unquiesce_all_vsi(9) | NAME i40e_pf_unquiesce_all_vsi - Resume all VSIs on a PF
SYNOPSIS void i40e_pf_unquiesce_all_vsi (struct i40e_pf *pf );
ARGUMENTS pf the PF
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), i40e_allocate_dma_mem(9), i40e_free_dma_mem(9), i40e_allocate_virt_mem(9),... |
i40e_pf_wait_queues_disabled(9) | NAME i40e_pf_wait_queues_disabled - Wait for all queues of PF VSIs to be disabled
SYNOPSIS int i40e_pf_wait_queues_disabled (struct i40e_pf *pf );
ARGUMENTS pf the PF
DESCRIPTION This function waits for the queues to be in disabled state for all the VSIs that are managed by this PF.
SEE ALSO Kernel file ... |
i40e_phy_type_to_ethtool(9) | NAME i40e_phy_type_to_ethtool - convert the phy_types to ethtool link modes
SYNOPSIS void i40e_phy_type_to_ethtool (struct i40e_pf *pf , struct ethtool_link_ksettings *ks );
ARGUMENTS pf PF struct with phy_types
ks ethtool link ksettings struct to fill out
SEE ALSO Kernel file ./drivers/net... |
i40e_pin_state(9) | NAME i40e_pin_state - determine PIN state
SYNOPSIS enum i40e_ptp_gpio_pin_state i40e_pin_state (int index , int func );
ARGUMENTS index PIN index
func function assigned to PIN
DESCRIPTION Determine PIN state based on PIN index and function assigned. Return PIN state.
SEE ALSO Kernel file ./d... |
i40e_pit_index_to_mask(9) | NAME i40e_pit_index_to_mask - Return the FLEX mask for a given PIT index
SYNOPSIS u64 i40e_pit_index_to_mask (int pit_index );
ARGUMENTS pit_index PIT index to convert
DESCRIPTION Returns the mask for a given PIT index. Will return 0 if the pit_index is of range.
SEE ALSO Kernel file ./drivers/net/ethernet/intel/... |
i40e_poll_globr(9) | NAME i40e_poll_globr - Poll for Global Reset completion
SYNOPSIS int i40e_poll_globr (struct i40e_hw *hw , u32 retry_limit );
ARGUMENTS hw pointer to the hardware structure
retry_limit how many times to retry before failure
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_common.c ... |
i40e_poll_sr_srctl_done_bit(9) | NAME i40e_poll_sr_srctl_done_bit - Polls the GLNVM_SRCTL done bit
SYNOPSIS int i40e_poll_sr_srctl_done_bit (struct i40e_hw *hw );
ARGUMENTS hw pointer to the HW structure
DESCRIPTION Polls the SRCTL Shadow RAM register done bit.
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_nvm.c i40e_init... |
i40e_pps_configure(9) | NAME i40e_pps_configure - configure PPS events
SYNOPSIS int i40e_pps_configure (struct ptp_clock_info *ptp , struct ptp_clock_request *rq , int on );
ARGUMENTS ptp ptp clock
rq clock request
on status
DESCRIPTION Configure PPS events for external clock source. Return 0 on s... |
i40e_pre_tx_queue_cfg(9) | NAME i40e_pre_tx_queue_cfg - pre tx queue configure
SYNOPSIS void i40e_pre_tx_queue_cfg (struct i40e_hw *hw , u32 queue , bool enable );
ARGUMENTS hw pointer to the HW structure
queue target PF queue index
enable state change request
DESCRIPTION Handles hw requirement to indicate ... |
i40e_prep_for_reset(9) | NAME i40e_prep_for_reset - prep for the core to reset
SYNOPSIS void i40e_prep_for_reset (struct i40e_pf *pf );
ARGUMENTS pf board private structure
DESCRIPTION Close up the VFs and other things in prep for PF Reset.
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c i40e_hw_to_dev(9), ... |
i40e_prep_remove_pd_page(9) | NAME i40e_prep_remove_pd_page - Prepares to remove a PD page from sd entry.
SYNOPSIS int i40e_prep_remove_pd_page (struct i40e_hmc_info *hmc_info , u32 idx );
ARGUMENTS hmc_info pointer to the HMC configuration information structure
idx segment descriptor index to find the relevant page descriptor
... |
i40e_prep_remove_sd_bp(9) | NAME i40e_prep_remove_sd_bp - Prepares to remove a backing page from a sd entry
SYNOPSIS int i40e_prep_remove_sd_bp (struct i40e_hmc_info *hmc_info , u32 idx );
ARGUMENTS hmc_info pointer to the HMC configuration information structure
idx the page index
SEE ALSO Kernel file ./drivers/net/ethernet/... |
i40e_prepare_add_macvlan(9) | NAME i40e_prepare_add_macvlan -
SYNOPSIS u16 i40e_prepare_add_macvlan (struct i40e_aqc_add_macvlan_element_data *mv_list , struct libie_aq_desc *desc , u16 count , u16 seid );
ARGUMENTS mv_list list of macvlans to be added
desc pointer to AQ descriptor structure
count length of the li... |
i40e_prepare_fdir_filter(9) | NAME i40e_prepare_fdir_filter - Prepare and program fdir filter
SYNOPSIS int i40e_prepare_fdir_filter (struct i40e_pf *pf , struct i40e_fdir_filter *fd_data , bool add , char *packet_addr , int payload_offset , u8 pctype );
ARGUMENTS pf physical function to attach filter to
fd_data filter data
... |
i40e_print_input_set(9) | NAME i40e_print_input_set - Show changes between two input sets
SYNOPSIS void i40e_print_input_set (struct i40e_vsi *vsi , u64 old , u64 new );
ARGUMENTS vsi the vsi being configured
old the old input set
new the new input set
DESCRIPTION Print the difference between old and n... |
i40e_print_link_message(9) | NAME i40e_print_link_message - print link up or down
SYNOPSIS void i40e_print_link_message (struct i40e_vsi *vsi , bool isup );
ARGUMENTS vsi the VSI for which link needs a message
isup true of link is up, false otherwise
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_main.c ... |
i40e_print_vf_mdd_event(9) | NAME i40e_print_vf_mdd_event - print VF Tx/Rx malicious driver detect event
SYNOPSIS void i40e_print_vf_mdd_event (struct i40e_pf *pf , struct i40e_vf *vf , bool is_tx );
ARGUMENTS pf board private structure
vf pointer to the VF structure
is_tx true - for Tx event, false - for ... |
i40e_print_vfs_mdd_events(9) | NAME i40e_print_vfs_mdd_events - print VFs malicious driver detect event
SYNOPSIS void i40e_print_vfs_mdd_events (struct i40e_pf *pf );
ARGUMENTS pf pointer to the PF structure
DESCRIPTION Called from i40e_handle_mdd_event to rate limit and print VFs MDD events.
SEE ALSO Kernel file ./drivers/net/ethernet/... |
i40e_probe(9) | NAME i40e_probe - Device initialization routine
SYNOPSIS int i40e_probe (struct pci_dev *pdev , const struct pci_device_id *ent );
ARGUMENTS pdev PCI device information struct
ent entry in i40e_pci_tbl
DESCRIPTION i40e_probe initializes a PF identified by a pci_dev structure. The OS initializ... |
i40e_process_rx_buffs(9) | NAME i40e_process_rx_buffs - Processing of buffers post XDP prog or on error
SYNOPSIS void i40e_process_rx_buffs (struct i40e_ring *rx_ring , int xdp_res , struct xdp_buff *xdp );
ARGUMENTS rx_ring Rx descriptor ring to transact packets on
xdp_res Result of the XDP program
xdp xdp_buff... |
i40e_process_skb_fields(9) | NAME i40e_process_skb_fields - Populate skb header fields from Rx descriptor
SYNOPSIS void i40e_process_skb_fields (struct i40e_ring *rx_ring , union i40e_rx_desc *rx_desc , struct sk_buff *skb );
ARGUMENTS rx_ring rx descriptor ring packet is being transacted on
rx_desc pointer to the EOP Rx descript... |
i40e_program_fdir_filter(9) | NAME i40e_program_fdir_filter - Program a Flow Director filter
SYNOPSIS int i40e_program_fdir_filter (struct i40e_fdir_filter *fdir_data , u8 *raw_packet , struct i40e_pf *pf , bool add );
ARGUMENTS fdir_data Packet data that will be filter parameters
raw_packet the pre-allocated packet buffer for FDir
... |
i40e_prune_flex_pit_list(9) | NAME i40e_prune_flex_pit_list - Cleanup unused entries in FLX_PIT table
SYNOPSIS void i40e_prune_flex_pit_list (struct i40e_pf *pf );
ARGUMENTS pf pointer to PF structure
DESCRIPTION This function searches the list of filters and determines which FLX_PIT entries are still required. It will prune any entries... |
i40e_ptp_adjfine(9) | NAME i40e_ptp_adjfine - Adjust the PHC frequency
SYNOPSIS int i40e_ptp_adjfine (struct ptp_clock_info *ptp , long scaled_ppm );
ARGUMENTS ptp The PTP clock structure
scaled_ppm Scaled parts per million adjustment from base
DESCRIPTION Adjust the frequency of the PHC by the indicated delta from the b... |
i40e_ptp_adjtime(9) | NAME i40e_ptp_adjtime - Adjust the PHC time
SYNOPSIS int i40e_ptp_adjtime (struct ptp_clock_info *ptp , s64 delta );
ARGUMENTS ptp The PTP clock structure
delta Offset in nanoseconds to adjust the PHC time by
DESCRIPTION Adjust the current clock time by a delta specified in nanoseconds.
SEE AL... |
i40e_ptp_alloc_pins(9) | NAME i40e_ptp_alloc_pins - allocate PTP pins structure
SYNOPSIS int i40e_ptp_alloc_pins (struct i40e_pf *pf );
ARGUMENTS pf Board private structure
DESCRIPTION allocate PTP pins structure
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_ptp.c i40e_ptp_extts0_work(9), i40e_is_ptp_pin_dev(9), ... |
i40e_ptp_convert_to_hwtstamp(9) | NAME i40e_ptp_convert_to_hwtstamp - Convert device clock to system time
SYNOPSIS void i40e_ptp_convert_to_hwtstamp (struct skb_shared_hwtstamps *hwtstamps , u64 timestamp );
ARGUMENTS hwtstamps Timestamp structure to update
timestamp Timestamp from the hardware
DESCRIPTION We need to convert the NIC... |
i40e_ptp_create_clock(9) | NAME i40e_ptp_create_clock - Create PTP clock device for userspace
SYNOPSIS long i40e_ptp_create_clock (struct i40e_pf *pf );
ARGUMENTS pf Board private structure
DESCRIPTION This function creates a new PTP clock device. It only creates one if we don't already have one, so it is safe to call. Will return ... |
i40e_ptp_enable_pin(9) | NAME i40e_ptp_enable_pin - enable PINs.
SYNOPSIS int i40e_ptp_enable_pin (struct i40e_pf *pf , unsigned int chan , enum ptp_pin_function func , int on );
ARGUMENTS pf private board structure
chan channel
func PIN function
on state
DESCRIPTION Enable PTP pins fo... |
i40e_ptp_extts0_work(9) | NAME i40e_ptp_extts0_work - workqueue task function
SYNOPSIS void i40e_ptp_extts0_work (struct work_struct *work );
ARGUMENTS work workqueue task structure
DESCRIPTION Service for PTP external clock event
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_ptp.c i40e_is_ptp_pin_dev(9), i40e_can_s... |
i40e_ptp_feature_enable(9) | NAME i40e_ptp_feature_enable - Enable external clock pins
SYNOPSIS int i40e_ptp_feature_enable (struct ptp_clock_info *ptp , struct ptp_clock_request *rq , int on );
ARGUMENTS ptp The PTP clock structure
rq The PTP clock request structure
on To turn feature on/off
DESCRIPTIO... |
i40e_ptp_free_pins(9) | NAME i40e_ptp_free_pins - free memory used by PTP pins
SYNOPSIS void i40e_ptp_free_pins (struct i40e_pf *pf );
ARGUMENTS pf Board private structure
DESCRIPTION Release memory allocated for PTP pins.
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_ptp.c i40e_ptp_extts0_work(9), i40e_is_ptp_p... |
i40e_ptp_get_rx_events(9) | NAME i40e_ptp_get_rx_events - Read I40E_PRTTSYN_STAT_1 and latch events
SYNOPSIS u32 i40e_ptp_get_rx_events (struct i40e_pf *pf );
ARGUMENTS pf the PF data structure
DESCRIPTION This function reads I40E_PRTTSYN_STAT_1 and updates the corresponding timers for noticed latch events. This allows the driver to ... |
i40e_ptp_gettimex(9) | NAME i40e_ptp_gettimex - Get the time of the PHC
SYNOPSIS int i40e_ptp_gettimex (struct ptp_clock_info *ptp , struct timespec64 *ts , struct ptp_system_timestamp *sts );
ARGUMENTS ptp The PTP clock structure
ts timespec structure to hold the current time value
sts structure to... |
i40e_ptp_hwtstamp_get(9) | NAME i40e_ptp_hwtstamp_get - interface to read the HW timestamping
SYNOPSIS int i40e_ptp_hwtstamp_get (struct net_device *netdev , struct kernel_hwtstamp_config *config );
ARGUMENTS netdev Network device structure
config Timestamping configuration structure
DESCRIPTION Obtain the current hardware t... |
i40e_ptp_hwtstamp_set(9) | NAME i40e_ptp_hwtstamp_set - interface to control the HW timestamping
SYNOPSIS int i40e_ptp_hwtstamp_set (struct net_device *netdev , struct kernel_hwtstamp_config *config , struct netlink_ext_ack *extack );
ARGUMENTS netdev Network device structure
config Timestamping configuration structure
... |
i40e_ptp_init(9) | NAME i40e_ptp_init - Initialize the 1588 support after device probe or reset
SYNOPSIS void i40e_ptp_init (struct i40e_pf *pf );
ARGUMENTS pf Board private structure
DESCRIPTION This function sets device up for 1588 support. The first time it is run, it will create a PHC clock device. It does not create... |
i40e_ptp_init_leds_hw(9) | NAME i40e_ptp_init_leds_hw - init LEDs
SYNOPSIS void i40e_ptp_init_leds_hw (struct i40e_hw *hw );
ARGUMENTS hw pointer to a hardware structure
DESCRIPTION Set initial state of LEDs
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_ptp.c i40e_ptp_extts0_work(9), i40e_is_ptp_pin_dev(9), i40e_c... |
i40e_ptp_read(9) | NAME i40e_ptp_read - Read the PHC time from the device
SYNOPSIS void i40e_ptp_read (struct i40e_pf *pf , struct timespec64 *ts , struct ptp_system_timestamp *sts );
ARGUMENTS pf Board private structure
ts timespec structure to hold the current time value
sts structure to hold... |
i40e_ptp_restore_hw_time(9) | NAME i40e_ptp_restore_hw_time - Restore the ptp_prev_hw_time + delta to PTP regs
SYNOPSIS void i40e_ptp_restore_hw_time (struct i40e_pf *pf );
ARGUMENTS pf Board private structure
DESCRIPTION Restore the PTP hardware clock registers. We previously cached the PTP hardware time as pf->ptp_prev_hw_time.... |
i40e_ptp_rx_hang(9) | NAME i40e_ptp_rx_hang - Detect error case when Rx timestamp registers are hung
SYNOPSIS void i40e_ptp_rx_hang (struct i40e_pf *pf );
ARGUMENTS pf The PF private data structure
DESCRIPTION This watchdog task is scheduled to detect error case where hardware has dropped an Rx packet that was timestamped whe... |
i40e_ptp_rx_hwtstamp(9) | NAME i40e_ptp_rx_hwtstamp - Utility function which checks for an Rx timestamp
SYNOPSIS void i40e_ptp_rx_hwtstamp (struct i40e_pf *pf , struct sk_buff *skb , u8 index );
ARGUMENTS pf Board private structure
skb Particular skb to send timestamp with
index Index into the receive ti... |
i40e_ptp_save_hw_time(9) | NAME i40e_ptp_save_hw_time - Save the current PTP time as ptp_prev_hw_time
SYNOPSIS void i40e_ptp_save_hw_time (struct i40e_pf *pf );
ARGUMENTS pf Board private structure
DESCRIPTION Read the current PTP time and save it into pf->ptp_prev_hw_time. This should be called at the end of preparing to reset, just... |
i40e_ptp_set_1pps_signal_hw(9) | NAME i40e_ptp_set_1pps_signal_hw - configure 1PPS PTP signal for pins
SYNOPSIS void i40e_ptp_set_1pps_signal_hw (struct i40e_pf *pf );
ARGUMENTS pf the PF private data structure
DESCRIPTION Configure 1PPS signal used for PTP pins
SEE ALSO Kernel file ./drivers/net/ethernet/intel/i40e/i40e_ptp.c i40e_ptp... |
i40e_ptp_set_increment(9) | NAME i40e_ptp_set_increment - Utility function to update clock increment rate
SYNOPSIS void i40e_ptp_set_increment (struct i40e_pf *pf );
ARGUMENTS pf Board private structure
DESCRIPTION During a link change, the DMA frequency that drives the 1588 logic will change. In order to keep the PRTTSYN_TIME registe... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.