id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
t4_get_regs_len(9) | NAME t4_get_regs_len - return the size of the chips register set
SYNOPSIS unsigned int t4_get_regs_len (struct adapter *adapter );
ARGUMENTS adapter the adapter
DESCRIPTION Returns the size of the chip's BAR0 register space.
SEE ALSO Kernel file ./drivers/net/ethernet/chelsio/cxgb4/t4_hw.c t4_wait_op_done_val(9... |
t4_get_scfg_version(9) | NAME t4_get_scfg_version - return the Serial Configuration version
SYNOPSIS int t4_get_scfg_version (struct adapter *adapter , u32 *vers );
ARGUMENTS adapter the adapter
vers where to place the version
DESCRIPTION Reads the Serial Configuration Version via the Firmware interface (thus this can onl... |
t4_get_tp_ch_map(9) | NAME t4_get_tp_ch_map - return TP ingress channels associated with a port
SYNOPSIS unsigned int t4_get_tp_ch_map (struct adapter *adap , int pidx );
ARGUMENTS adap the adapter
pidx the port index
DESCRIPTION Returns a bitmap indicating which TP Ingress Channels are associated with a given Port.... |
t4_get_tp_e2c_map(9) | NAME t4_get_tp_e2c_map - return the E2C channel map associated with a port
SYNOPSIS unsigned int t4_get_tp_e2c_map (struct adapter *adapter , int pidx );
ARGUMENTS adapter the adapter
pidx the port index
SEE ALSO Kernel file ./drivers/net/ethernet/chelsio/cxgb4/t4_hw.c t4_wait_op_done_val(9), t4_s... |
t4_get_tp_version(9) | NAME t4_get_tp_version - read the TP microcode version
SYNOPSIS int t4_get_tp_version (struct adapter *adapter , u32 *vers );
ARGUMENTS adapter the adapter
vers where to place the version
DESCRIPTION Reads the TP microcode version from flash.
SEE ALSO Kernel file ./drivers/net/ethernet/chelsio/cx... |
t4_get_trace_filter(9) | NAME t4_get_trace_filter - query one of the tracing filters
SYNOPSIS void t4_get_trace_filter (struct adapter *adap , struct trace_params *tp , int idx , int *enabled );
ARGUMENTS adap the adapter
tp the current trace filter parameters
idx which trace filter to query
en... |
t4_get_tx_sched(9) | NAME t4_get_tx_sched - get the configuration of a Tx HW traffic scheduler
SYNOPSIS void t4_get_tx_sched (struct adapter *adap , unsigned int sched , unsigned int *kbps , unsigned int *ipg , bool sleep_ok );
ARGUMENTS adap the adapter
sched the scheduler index
kbps the byte rate in ... |
t4_get_usm_stats(9) | NAME t4_get_usm_stats - read TP's non-TCP DDP MIB counters
SYNOPSIS void t4_get_usm_stats (struct adapter *adap , struct tp_usm_stats *st , bool sleep_ok );
ARGUMENTS adap the adapter
st holds the counter values
sleep_ok if true we may sleep while awaiting command completion
DESCRI... |
t4_get_version_info(9) | NAME t4_get_version_info - extract various chip/firmware version information
SYNOPSIS int t4_get_version_info (struct adapter *adapter );
ARGUMENTS adapter the adapter
DESCRIPTION Reads various chip/firmware version numbers and stores them into the adapter Adapter Parameters structure. If any of the efforts fai... |
t4_get_vpd_params(9) | NAME t4_get_vpd_params - read VPD parameters & retrieve Core Clock
SYNOPSIS int t4_get_vpd_params (struct adapter *adapter , struct vpd_params *p );
ARGUMENTS adapter adapter to read
p where to store the parameters
DESCRIPTION Reads card parameters stored in VPD EEPROM and retrieves the Core Cl... |
t4_get_vpd_version(9) | NAME t4_get_vpd_version - return the VPD version
SYNOPSIS int t4_get_vpd_version (struct adapter *adapter , u32 *vers );
ARGUMENTS adapter the adapter
vers where to place the version
DESCRIPTION Reads the VPD via the Firmware interface (thus this can only be called once we're ready to issue Fir... |
t4_handle_fw_rpl(9) | NAME t4_handle_fw_rpl - process a FW reply message
SYNOPSIS int t4_handle_fw_rpl (struct adapter *adap , const __be64 *rpl );
ARGUMENTS adap the adapter
rpl start of the FW message
DESCRIPTION Processes a FW message, such as link state change messages.
SEE ALSO Kernel file ./drivers/net/ether... |
t4_handle_get_port_info(9) | NAME t4_handle_get_port_info - process a FW reply message
SYNOPSIS void t4_handle_get_port_info (struct port_info *pi , const __be64 *rpl );
ARGUMENTS pi the port info
rpl start of the FW message
DESCRIPTION Processes a GET_PORT_INFO FW reply message.
SEE ALSO Kernel file ./drivers/net/ethe... |
t4_handle_intr_status(9) | NAME t4_handle_intr_status - table driven interrupt handler
SYNOPSIS int t4_handle_intr_status (struct adapter *adapter , unsigned int reg , const struct intr_info *acts );
ARGUMENTS adapter the adapter that generated the interrupt
reg the interrupt status register to process
acts t... |
t4_i2c_rd(9) | NAME t4_i2c_rd - read I2C data from adapter
SYNOPSIS int t4_i2c_rd (struct adapter *adap , unsigned int mbox , int port , unsigned int devid , unsigned int offset , unsigned int len , u8 *buf );
ARGUMENTS adap the adapter
mbox mailbox to use for the FW command
port Port number if ... |
t4_identify_port(9) | NAME t4_identify_port - identify a VI's port by blinking its LED
SYNOPSIS int t4_identify_port (struct adapter *adap , unsigned int mbox , unsigned int viid , unsigned int nblinks );
ARGUMENTS adap the adapter
mbox mailbox to use for the FW command
viid the VI id
nblinks ... |
t4_idma_monitor(9) | NAME t4_idma_monitor - monitor SGE Ingress DMA state
SYNOPSIS void t4_idma_monitor (struct adapter *adapter , struct sge_idma_monitor_state *idma , int hz , int ticks );
ARGUMENTS adapter the adapter
idma the adapter IDMA Monitor state
hz number of ticks/second
ticks ... |
t4_idma_monitor_init(9) | NAME t4_idma_monitor_init - initialize SGE Ingress DMA Monitor
SYNOPSIS void t4_idma_monitor_init (struct adapter *adapter , struct sge_idma_monitor_state *idma );
ARGUMENTS adapter the adapter
idma the adapter IDMA Monitor state
DESCRIPTION Initialize the state of an SGE Ingress DMA Monitor.
SEE... |
t4_init_devlog_params(9) | NAME t4_init_devlog_params - initialize adapter->params.devlog
SYNOPSIS int t4_init_devlog_params (struct adapter *adap );
ARGUMENTS adap the adapter
DESCRIPTION Initialize various fields of the adapter's Firmware Device Log Parameters structure.
SEE ALSO Kernel file ./drivers/net/ethernet/chelsio/cxgb4/t4_h... |
t4_init_portinfo(9) | NAME t4_init_portinfo - allocate a virtual interface and initialize port_info
SYNOPSIS int t4_init_portinfo (struct port_info *pi , int mbox , int port , int pf , int vf , u8 mac[] );
ARGUMENTS pi the port_info
mbox mailbox to use for the FW command
port physical port associated... |
t4_init_sge_params(9) | NAME t4_init_sge_params - initialize adap->params.sge
SYNOPSIS int t4_init_sge_params (struct adapter *adapter );
ARGUMENTS adapter the adapter
DESCRIPTION Initialize various fields of the adapter's SGE Parameters structure.
SEE ALSO Kernel file ./drivers/net/ethernet/chelsio/cxgb4/t4_hw.c t4_wait_op_done_val(9... |
t4_init_tp_params(9) | NAME t4_init_tp_params - initialize adap->params.tp
SYNOPSIS int t4_init_tp_params (struct adapter *adap , bool sleep_ok );
ARGUMENTS adap the adapter
sleep_ok if true we may sleep while awaiting command completion
DESCRIPTION Initialize various fields of the adapter's TP Parameters structure.
SEE... |
t4_intr_disable(9) | NAME t4_intr_disable - disable interrupts
SYNOPSIS void t4_intr_disable (struct adapter *adapter );
ARGUMENTS adapter the adapter whose interrupts should be disabled
DESCRIPTION Disable interrupts. We only disable the top-level interrupt concentrators. The caller must be a PCI function managing global interrup... |
t4_intr_enable(9) | NAME t4_intr_enable - enable interrupts
SYNOPSIS void t4_intr_enable (struct adapter *adapter );
ARGUMENTS adapter the adapter whose interrupts should be enabled
DESCRIPTION Enable PF-specific interrupts for the calling function and the top-level interrupt concentrator for global interrupts. Interrupts are alre... |
t4_intr_handler(9) | NAME t4_intr_handler - select the top-level interrupt handler
SYNOPSIS irq_handler_t t4_intr_handler (struct adapter *adap );
ARGUMENTS adap the adapter
DESCRIPTION Selects the top-level interrupt handler based on the type of interrupts (MSI-X, MSI, or INTx).
SEE ALSO Kernel file ./drivers/net/ethernet/che... |
t4_iq_free(9) | NAME t4_iq_free - free an ingress queue and its FLs
SYNOPSIS int t4_iq_free (struct adapter *adap , unsigned int mbox , unsigned int pf , unsigned int vf , unsigned int iqtype , unsigned int iqid , unsigned int fl0id , unsigned int fl1id );
ARGUMENTS adap the adapter
mbox mailbox to use for the ... |
t4_iq_stop(9) | NAME t4_iq_stop - stop an ingress queue and its FLs
SYNOPSIS int t4_iq_stop (struct adapter *adap , unsigned int mbox , unsigned int pf , unsigned int vf , unsigned int iqtype , unsigned int iqid , unsigned int fl0id , unsigned int fl1id );
ARGUMENTS adap the adapter
mbox mailbox to use for the ... |
t4_is_inserted_mod_type(9) | NAME t4_is_inserted_mod_type - is a plugged in Firmware Module Type
SYNOPSIS bool t4_is_inserted_mod_type (unsigned int fw_mod_type );
ARGUMENTS fw_mod_type the Firmware Mofule Type
DESCRIPTION Return whether the Firmware Module Type represents a real Transceiver Module/Cable Module Type which has been inserted.
SE... |
t4_link_acaps(9) | NAME t4_link_acaps - compute Link Advertised Port Capabilities
SYNOPSIS fw_port_cap32_t t4_link_acaps (struct adapter *adapter , unsigned int port , struct link_config *lc );
ARGUMENTS adapter the adapter
port the Port ID
lc the Port's Link Configuration
DESCRIPTION Synthesize th... |
t4_link_down_rc_str(9) | NAME t4_link_down_rc_str - return a string for a Link Down Reason Code
SYNOPSIS const char * t4_link_down_rc_str (unsigned char link_down_rc );
ARGUMENTS link_down_rc Link Down Reason Code
DESCRIPTION Returns a string representation of the Link Down Reason Code.
SEE ALSO Kernel file ./drivers/net/ethernet/chelsio/c... |
t4_link_l1cfg_core(9) | NAME t4_link_l1cfg_core - apply link configuration to MAC/PHY
SYNOPSIS int t4_link_l1cfg_core (struct adapter *adapter , unsigned int mbox , unsigned int port , struct link_config *lc , u8 sleep_ok , int timeout );
ARGUMENTS adapter the adapter
mbox the Firmware Mailbox to use
port t... |
t4_load_boot(9) | NAME t4_load_boot - download boot flash
SYNOPSIS int t4_load_boot (struct adapter *adap , u8 *boot_data , unsigned int boot_addr , unsigned int size );
ARGUMENTS adap the adapter
boot_data the boot image to write
boot_addr offset in flash to write boot_data
size image size
D... |
t4_load_cfg(9) | NAME t4_load_cfg - download config file
SYNOPSIS int t4_load_cfg (struct adapter *adap , const u8 *cfg_data , unsigned int size );
ARGUMENTS adap the adapter
cfg_data the cfg text file to write
size text file size
DESCRIPTION Write the supplied config text file to the card's serial f... |
t4_load_fw(9) | NAME t4_load_fw - download firmware
SYNOPSIS int t4_load_fw (struct adapter *adap , const u8 *fw_data , unsigned int size );
ARGUMENTS adap the adapter
fw_data the firmware image to write
size image size
DESCRIPTION Write the supplied firmware image to the card's serial flash.
SEE ... |
t4_load_mtus(9) | NAME t4_load_mtus - write the MTU and congestion control HW tables
SYNOPSIS void t4_load_mtus (struct adapter *adap , const unsigned short *mtus , const unsigned short *alpha , const unsigned short *beta );
ARGUMENTS adap the adapter
mtus the values for the MTU table
alpha the valu... |
t4_load_phy_fw(9) | NAME t4_load_phy_fw - download port PHY firmware
SYNOPSIS int t4_load_phy_fw (struct adapter *adap , int win , int (*phy_fw_version)(const u8 *, size_t) , const u8 *phy_fw_data , size_t phy_fw_size );
ARGUMENTS adap the adapter
win the PCI-E Memory Window index to use for t4_memory_rw
p... |
t4_mdio_rd(9) | NAME t4_mdio_rd - read a PHY register through MDIO
SYNOPSIS int t4_mdio_rd (struct adapter *adap , unsigned int mbox , unsigned int phy_addr , unsigned int mmd , unsigned int reg , u16 *valp );
ARGUMENTS adap the adapter
mbox mailbox to use for the FW command
phy_addr the PHY address
... |
t4_mdio_wr(9) | NAME t4_mdio_wr - write a PHY register through MDIO
SYNOPSIS int t4_mdio_wr (struct adapter *adap , unsigned int mbox , unsigned int phy_addr , unsigned int mmd , unsigned int reg , u16 val );
ARGUMENTS adap the adapter
mbox mailbox to use for the FW command
phy_addr the PHY address
... |
t4_memory_rw(9) | NAME t4_memory_rw - read/write EDC 0, EDC 1 or MC via PCIE memory window
SYNOPSIS int t4_memory_rw (struct adapter *adap , int win , int mtype , u32 addr , u32 len , void *hbuf , int dir );
ARGUMENTS adap the adapter
win PCI-E Memory Window to use
mtype memory type: MEM_EDC0, MEM_... |
t4_memory_rw_init(9) | NAME t4_memory_rw_init - Get memory window relative offset, base, and size.
SYNOPSIS int t4_memory_rw_init (struct adapter *adap , int win , int mtype , u32 *mem_off , u32 *mem_base , u32 *mem_aperture );
ARGUMENTS adap the adapter
win PCI-E Memory Window to use
mtype memory type:... |
t4_memory_rw_residual(9) | NAME t4_memory_rw_residual - Read/Write residual data.
SYNOPSIS void t4_memory_rw_residual (struct adapter *adap , u32 off , u32 addr , u8 *buf , int dir );
ARGUMENTS adap the adapter
off relative offset within residual to start read/write.
addr address within indicated memory ty... |
t4_memory_update_win(9) | NAME t4_memory_update_win - Move memory window to specified address.
SYNOPSIS void t4_memory_update_win (struct adapter *adap , int win , u32 addr );
ARGUMENTS adap the adapter
win PCI-E Memory Window to use
addr location to move.
DESCRIPTION Move memory window to specified addr... |
t4_mgmt_tx(9) | NAME t4_mgmt_tx - send a management message
SYNOPSIS int t4_mgmt_tx (struct adapter *adap , struct sk_buff *skb );
ARGUMENTS adap the adapter
skb the packet containing the management message
DESCRIPTION Send a management message through control queue 0.
SEE ALSO Kernel file ./drivers/net/et... |
t4_ofld_eq_free(9) | NAME t4_ofld_eq_free - free an offload egress queue
SYNOPSIS int t4_ofld_eq_free (struct adapter *adap , unsigned int mbox , unsigned int pf , unsigned int vf , unsigned int eqid );
ARGUMENTS adap the adapter
mbox mailbox to use for the FW command
pf the PF owning the queue
... |
t4_ofld_send(9) | NAME t4_ofld_send - send an offload packet
SYNOPSIS int t4_ofld_send (struct adapter *adap , struct sk_buff *skb );
ARGUMENTS adap the adapter
skb the packet
DESCRIPTION Sends an offload packet. We use the packet queue_mapping to select the appropriate Tx queue as follows: bit 0 indicates whe... |
t4_os_set_hw_addr(9) | NAME t4_os_set_hw_addr - store a port's MAC address in SW
SYNOPSIS void t4_os_set_hw_addr (struct adapter *adapter , int pidx , u8 hw_addr[] );
ARGUMENTS adapter the adapter
pidx the port index
hw_addr the Ethernet address
DESCRIPTION Store the Ethernet address of the given port in SW.... |
t4_phy_fw_ver(9) | NAME t4_phy_fw_ver - return current PHY firmware version
SYNOPSIS int t4_phy_fw_ver (struct adapter *adap , int *phy_fw_ver );
ARGUMENTS adap the adapter
phy_fw_ver return value buffer for PHY firmware version
DESCRIPTION Returns the current version of external PHY firmware on the adapter.
SEE ALSO ... |
t4_pktgl_free(9) | NAME t4_pktgl_free - free a packet gather list
SYNOPSIS void t4_pktgl_free (const struct pkt_gl *gl );
ARGUMENTS gl the gather list
DESCRIPTION Releases the pages of a packet gather list. We do not own the last page on the list and do not free it.
SEE ALSO Kernel file ./drivers/net/ethernet/chelsio/cxgb... |
t4_pmrx_get_stats(9) | NAME t4_pmrx_get_stats - returns the HW stats from PMRX
SYNOPSIS void t4_pmrx_get_stats (struct adapter *adap , u32 cnt[] , u64 cycles[] );
ARGUMENTS adap the adapter
cnt where to store the count statistics
cycles where to store the cycle statistics
DESCRIPTION Returns performance... |
t4_pmtx_get_stats(9) | NAME t4_pmtx_get_stats - returns the HW stats from PMTX
SYNOPSIS void t4_pmtx_get_stats (struct adapter *adap , u32 cnt[] , u64 cycles[] );
ARGUMENTS adap the adapter
cnt where to store the count statistics
cycles where to store the cycle statistics
DESCRIPTION Returns performance... |
t4_prep_adapter(9) | NAME t4_prep_adapter - prepare SW and HW for operation
SYNOPSIS int t4_prep_adapter (struct adapter *adapter );
ARGUMENTS adapter the adapter
DESCRIPTION Initialize adapter SW state for the various HW modules, set initial values for some adapter tunables, take PHYs out of reset, and initialize the MDIO interface... |
t4_query_params_rw(9) | NAME t4_query_params_rw - query FW or device parameters
SYNOPSIS int t4_query_params_rw (struct adapter *adap , unsigned int mbox , unsigned int pf , unsigned int vf , unsigned int nparams , const u32 *params , u32 *val , int rw , bool sleep_ok );
ARGUMENTS adap the adapter
mbox mailbox to use f... |
t4_read_cim_ibq(9) | NAME t4_read_cim_ibq - read the contents of a CIM inbound queue
SYNOPSIS int t4_read_cim_ibq (struct adapter *adap , unsigned int qid , u32 *data , size_t n );
ARGUMENTS adap the adapter
qid the queue index
data where to store the queue contents
n capacity of da... |
t4_read_cim_obq(9) | NAME t4_read_cim_obq - read the contents of a CIM outbound queue
SYNOPSIS int t4_read_cim_obq (struct adapter *adap , unsigned int qid , u32 *data , size_t n );
ARGUMENTS adap the adapter
qid the queue index
data where to store the queue contents
n capacity of d... |
t4_read_cimq_cfg(9) | NAME t4_read_cimq_cfg - read CIM queue configuration
SYNOPSIS void t4_read_cimq_cfg (struct adapter *adap , u16 *base , u16 *size , u16 *thres );
ARGUMENTS adap the adapter
base holds the queue base addresses in bytes
size holds the queue sizes in bytes
thres holds t... |
t4_read_cong_tbl(9) | NAME t4_read_cong_tbl - reads the congestion control table
SYNOPSIS void t4_read_cong_tbl (struct adapter *adap , u16 incr[NMTUS][NCCTRL_WIN] );
ARGUMENTS adap the adapter
incr where to store the alpha values
DESCRIPTION Reads the additive increments programmed into the HW congestion control ta... |
t4_read_flash(9) | NAME t4_read_flash - read words from serial flash
SYNOPSIS int t4_read_flash (struct adapter *adapter , unsigned int addr , unsigned int nwords , u32 *data , int byte_oriented );
ARGUMENTS adapter the adapter
addr the start address for the read
nwords how many 32-bit words to read
... |
t4_read_indirect(9) | NAME t4_read_indirect - read indirectly addressed registers
SYNOPSIS void t4_read_indirect (struct adapter *adap , unsigned int addr_reg , unsigned int data_reg , u32 *vals , unsigned int nregs , unsigned int start_idx );
ARGUMENTS adap the adapter
addr_reg register holding the indirect address
... |
t4_read_mtu_tbl(9) | NAME t4_read_mtu_tbl - returns the values in the HW path MTU table
SYNOPSIS void t4_read_mtu_tbl (struct adapter *adap , u16 *mtus , u8 *mtu_log );
ARGUMENTS adap the adapter
mtus where to store the MTU values
mtu_log where to store the MTU base-2 log (may be NULL)
DESCRIPTION Reads... |
t4_read_pace_tbl(9) | NAME t4_read_pace_tbl - read the pace table
SYNOPSIS void t4_read_pace_tbl (struct adapter *adap , unsigned int pace_vals[NTX_SCHED] );
ARGUMENTS adap the adapter
pace_vals holds the returned values
DESCRIPTION Returns the values of TP's pace table in microseconds.
SEE ALSO Kernel file ./drivers/ne... |
t4_read_reg(9) | NAME t4_read_reg - read a HW register
SYNOPSIS u32 t4_read_reg (struct adapter *adapter , u32 reg_addr );
ARGUMENTS adapter the adapter
reg_addr the register address
DESCRIPTION Returns the 32-bit value of the given HW register.
SEE ALSO Kernel file ./drivers/net/ethernet/chelsio/cxgb4vf/adapter.h t4... |
t4_read_reg64(9) | NAME t4_read_reg64 - read a 64-bit HW register
SYNOPSIS u64 t4_read_reg64 (struct adapter *adapter , u32 reg_addr );
ARGUMENTS adapter the adapter
reg_addr the register address
DESCRIPTION Returns the 64-bit value of the given HW register.
SEE ALSO Kernel file ./drivers/net/ethernet/chelsio/cxgb4vf/a... |
t4_read_rss(9) | NAME t4_read_rss - read the contents of the RSS mapping table
SYNOPSIS int t4_read_rss (struct adapter *adapter , u16 *map );
ARGUMENTS adapter the adapter
map holds the contents of the RSS mapping table
DESCRIPTION Reads the contents of the RSS hash->queue mapping table.
SEE ALSO Kernel file ./... |
t4_read_rss_key(9) | NAME t4_read_rss_key - read the global RSS key
SYNOPSIS void t4_read_rss_key (struct adapter *adap , u32 *key , bool sleep_ok );
ARGUMENTS adap the adapter
key 10-entry array holding the 320-bit RSS key
sleep_ok if true we may sleep while awaiting command completion
DESCRIPTION Read... |
t4_read_rss_pf_config(9) | NAME t4_read_rss_pf_config - read PF RSS Configuration Table
SYNOPSIS void t4_read_rss_pf_config (struct adapter *adapter , unsigned int index , u32 *valp , bool sleep_ok );
ARGUMENTS adapter the adapter
index the entry in the PF RSS table to read
valp where to store the returned valu... |
t4_read_rss_pf_map(9) | NAME t4_read_rss_pf_map - read PF RSS Map
SYNOPSIS u32 t4_read_rss_pf_map (struct adapter *adapter , bool sleep_ok );
ARGUMENTS adapter the adapter
sleep_ok if true we may sleep while awaiting command completion
DESCRIPTION Reads the PF RSS Map register and returns its value.
SEE ALSO Kernel file ./d... |
t4_read_rss_pf_mask(9) | NAME t4_read_rss_pf_mask - read PF RSS Mask
SYNOPSIS u32 t4_read_rss_pf_mask (struct adapter *adapter , bool sleep_ok );
ARGUMENTS adapter the adapter
sleep_ok if true we may sleep while awaiting command completion
DESCRIPTION Reads the PF RSS Mask register and returns its value.
SEE ALSO Kernel file... |
t4_read_rss_vf_config(9) | NAME t4_read_rss_vf_config - read VF RSS Configuration Table
SYNOPSIS void t4_read_rss_vf_config (struct adapter *adapter , unsigned int index , u32 *vfl , u32 *vfh , bool sleep_ok );
ARGUMENTS adapter the adapter
index the entry in the VF RSS table to read
vfl where to store the ret... |
t4_read_sge_dbqtimers(9) | NAME t4_read_sge_dbqtimers - read SGE Doorbell Queue Timer values
SYNOPSIS int t4_read_sge_dbqtimers (struct adapter *adap , unsigned int ndbqtimers , u16 *dbqtimers );
ARGUMENTS adap the adapter
ndbqtimers size of the provided SGE Doorbell Queue Timer table
dbqtimers SGE Doorbell Queue Time... |
t4_record_mbox(9) | NAME t4_record_mbox - record a Firmware Mailbox Command/Reply in the log
SYNOPSIS void t4_record_mbox (struct adapter *adapter , const __be64 *cmd , unsigned int size , int access , int execute );
ARGUMENTS adapter the adapter
cmd the Firmware Mailbox Command or Reply
size command l... |
t4_restart_aneg(9) | NAME t4_restart_aneg - restart autonegotiation
SYNOPSIS int t4_restart_aneg (struct adapter *adap , unsigned int mbox , unsigned int port );
ARGUMENTS adap the adapter
mbox mbox to use for the FW command
port the port id
DESCRIPTION Restarts autonegotiation for the selected port.... |
t4_rx_hststamp(9) | NAME t4_rx_hststamp - Recv PTP Event Message
SYNOPSIS int t4_rx_hststamp (struct adapter *adapter , const __be64 *rsp , struct sge_eth_rxq *rxq , struct sk_buff *skb );
ARGUMENTS adapter the adapter
rsp the response queue descriptor holding the RX_PKT message
rxq the response queue... |
t4_seeprom_wp(9) | NAME t4_seeprom_wp - enable/disable EEPROM write protection
SYNOPSIS int t4_seeprom_wp (struct adapter *adapter , bool enable );
ARGUMENTS adapter the adapter
enable whether to enable or disable write protection
DESCRIPTION Enables or disables write protection on the serial EEPROM.
SEE ALSO Kernel ... |
t4_set_addr_hash(9) | NAME t4_set_addr_hash - program the MAC inexact-match hash filter
SYNOPSIS int t4_set_addr_hash (struct adapter *adap , unsigned int mbox , unsigned int viid , bool ucast , u64 vec , bool sleep_ok );
ARGUMENTS adap the adapter
mbox mailbox to use for the FW command
viid the VI id
... |
t4_set_hw_addr(9) | NAME t4_set_hw_addr - store a port's MAC address in SW
SYNOPSIS void t4_set_hw_addr (struct adapter *adapter , int port_idx , u8 hw_addr[] );
ARGUMENTS adapter the adapter
port_idx the port index
hw_addr the Ethernet address
DESCRIPTION Store the Ethernet address of the given port in SW. ... |
t4_set_params(9) | NAME t4_set_params - sets FW or device parameters
SYNOPSIS int t4_set_params (struct adapter *adap , unsigned int mbox , unsigned int pf , unsigned int vf , unsigned int nparams , const u32 *params , const u32 *val );
ARGUMENTS adap the adapter
mbox mailbox to use for the FW command
pf ... |
t4_set_params_timeout(9) | NAME t4_set_params_timeout - sets FW or device parameters
SYNOPSIS int t4_set_params_timeout (struct adapter *adap , unsigned int mbox , unsigned int pf , unsigned int vf , unsigned int nparams , const u32 *params , const u32 *val , int timeout );
ARGUMENTS adap the adapter
mbox mailbox to use f... |
t4_set_reg_field(9) | NAME t4_set_reg_field - set a register field to a value
SYNOPSIS void t4_set_reg_field (struct adapter *adapter , unsigned int addr , u32 mask , u32 val );
ARGUMENTS adapter the adapter to program
addr the register address
mask specifies the portion of the register to modify
... |
t4_set_rxmode(9) | NAME t4_set_rxmode - set Rx properties of a virtual interface
SYNOPSIS int t4_set_rxmode (struct adapter *adap , unsigned int mbox , unsigned int viid , unsigned int viid_mirror , int mtu , int promisc , int all_multi , int bcast , int vlanex , bool sleep_ok );
ARGUMENTS adap the adapter
mbox ma... |
t4_set_trace_filter(9) | NAME t4_set_trace_filter - configure one of the tracing filters
SYNOPSIS int t4_set_trace_filter (struct adapter *adap , const struct trace_params *tp , int idx , int enable );
ARGUMENTS adap the adapter
tp the desired trace filter parameters
idx which filter to configure
... |
t4_set_vf_mac_acl(9) | NAME t4_set_vf_mac_acl - Set MAC address for the specified VF
SYNOPSIS int t4_set_vf_mac_acl (struct adapter *adapter , unsigned int vf , u8 start , unsigned int naddr , u8 *addr );
ARGUMENTS adapter The adapter
vf one of the VFs instantiated by the specified PF
start The start port... |
t4_set_vlan_acl(9) | NAME t4_set_vlan_acl - Set a VLAN id for the specified VF
SYNOPSIS int t4_set_vlan_acl (struct adapter *adap , unsigned int mbox , unsigned int vf , u16 vlan );
ARGUMENTS adap the adapter
mbox mailbox to use for the FW command
vf one of the VFs instantiated by the specified PF
... |
t4_sge_alloc_eth_txq(9) | NAME t4_sge_alloc_eth_txq - allocate an Ethernet TX Queue
SYNOPSIS int t4_sge_alloc_eth_txq (struct adapter *adap , struct sge_eth_txq *txq , struct net_device *dev , struct netdev_queue *netdevq , unsigned int iqid , u8 dbqt );
ARGUMENTS adap the adapter
txq the SGE Ethernet TX Queue to initia... |
t4_sge_ctxt_flush(9) | NAME t4_sge_ctxt_flush - flush the SGE context cache
SYNOPSIS int t4_sge_ctxt_flush (struct adapter *adap , unsigned int mbox , int ctxt_type );
ARGUMENTS adap the adapter
mbox mailbox to use for the FW command
ctxt_type Egress or Ingress
DESCRIPTION Issues a FW command through the gi... |
t4_sge_ctxt_rd_bd(9) | NAME t4_sge_ctxt_rd_bd - read an SGE context bypassing FW
SYNOPSIS int t4_sge_ctxt_rd_bd (struct adapter *adap , unsigned int cid , enum ctxt_type ctype , u32 *data );
ARGUMENTS adap the adapter
cid the context id
ctype the context type
data where to store the conte... |
t4_sge_decode_idma_state(9) | NAME t4_sge_decode_idma_state - decode the idma state
SYNOPSIS void t4_sge_decode_idma_state (struct adapter *adapter , int state );
ARGUMENTS adapter the adapter
state the state idma is stuck in
SEE ALSO Kernel file ./drivers/net/ethernet/chelsio/cxgb4/t4_hw.c t4_wait_op_done_val(9), t4_set_reg_fi... |
t4_sge_eth_txq_egress_update(9) | NAME t4_sge_eth_txq_egress_update - handle Ethernet TX Queue update
SYNOPSIS int t4_sge_eth_txq_egress_update (struct adapter *adap , struct sge_eth_txq *eq , int maxreclaim );
ARGUMENTS adap the adapter
eq the Ethernet TX Queue
maxreclaim the maximum number of TX Descriptors to recla... |
t4_sge_init(9) | NAME t4_sge_init - initialize SGE
SYNOPSIS int t4_sge_init (struct adapter *adap );
ARGUMENTS adap the adapter
DESCRIPTION Perform low-level SGE code initialization needed every time after a chip reset.
SEE ALSO Kernel file ./drivers/net/ethernet/chelsio/cxgb4/sge.c txq_avail(9), fl_cap(9), fl_starving(9),... |
t4_sge_init_soft(9) | NAME t4_sge_init_soft - grab core SGE values needed by SGE code
SYNOPSIS int t4_sge_init_soft (struct adapter *adap );
ARGUMENTS adap the adapter
DESCRIPTION We need to grab the SGE operating parameters that we need to have in order to do our job and make sure we can live with them.
SEE ALSO Kernel file ./... |
t4_sge_stop(9) | NAME t4_sge_stop - disable SGE operation
SYNOPSIS void t4_sge_stop (struct adapter *adap );
ARGUMENTS adap the adapter
DESCRIPTION Stop tasklets and timers associated with the DMA engine. Note that this is effective only if measures have been taken to disable any HW events that may restart them.
SEE ALSO Ke... |
t4_shutdown_adapter(9) | NAME t4_shutdown_adapter - shut down adapter, host & wire
SYNOPSIS int t4_shutdown_adapter (struct adapter *adapter );
ARGUMENTS adapter the adapter
DESCRIPTION Perform an emergency shutdown of the adapter and stop it from continuing any further communication on the ports or DMA to the host. This is typically u... |
t4_slow_intr_handler(9) | NAME t4_slow_intr_handler - control path interrupt handler
SYNOPSIS int t4_slow_intr_handler (struct adapter *adapter );
ARGUMENTS adapter the adapter
DESCRIPTION T4 interrupt handler for non-data global interrupt events, e.g., errors. The designation 'slow' is because it involves register reads, while data int... |
t4_systim_to_hwstamp(9) | NAME t4_systim_to_hwstamp - read hardware time stamp
SYNOPSIS int t4_systim_to_hwstamp (struct adapter *adapter , struct sk_buff *skb );
ARGUMENTS adapter the adapter
skb the packet
DESCRIPTION Read Time Stamp from MPS packet and insert in skb which is forwarded to PTP application
SEE ALSO Kerne... |
t4_tp_fw_ldst_rw(9) | NAME t4_tp_fw_ldst_rw - Access TP indirect register through LDST
SYNOPSIS int t4_tp_fw_ldst_rw (struct adapter *adap , int cmd , u32 *vals , unsigned int nregs , unsigned int start_index , unsigned int rw , bool sleep_ok );
ARGUMENTS adap the adapter
cmd TP fw ldst address space type
va... |
t4_tp_get_cpl_stats(9) | NAME t4_tp_get_cpl_stats - read TP's CPL MIB counters
SYNOPSIS void t4_tp_get_cpl_stats (struct adapter *adap , struct tp_cpl_stats *st , bool sleep_ok );
ARGUMENTS adap the adapter
st holds the counter values
sleep_ok if true we may sleep while awaiting command completion
DESCRIPT... |
t4_tp_get_err_stats(9) | NAME t4_tp_get_err_stats - read TP's error MIB counters
SYNOPSIS void t4_tp_get_err_stats (struct adapter *adap , struct tp_err_stats *st , bool sleep_ok );
ARGUMENTS adap the adapter
st holds the counter values
sleep_ok if true we may sleep while awaiting command completion
DESCRI... |
t4_tp_get_rdma_stats(9) | NAME t4_tp_get_rdma_stats - read TP's RDMA MIB counters
SYNOPSIS void t4_tp_get_rdma_stats (struct adapter *adap , struct tp_rdma_stats *st , bool sleep_ok );
ARGUMENTS adap the adapter
st holds the counter values
sleep_ok if true we may sleep while awaiting command completion
DESC... |
t4_tp_get_tcp_stats(9) | NAME t4_tp_get_tcp_stats - read TP's TCP MIB counters
SYNOPSIS void t4_tp_get_tcp_stats (struct adapter *adap , struct tp_tcp_stats *v4 , struct tp_tcp_stats *v6 , bool sleep_ok );
ARGUMENTS adap the adapter
v4 holds the TCP/IP counter values
v6 holds the TCP/IPv6 counter valu... |
t4_tp_indirect_rw(9) | NAME t4_tp_indirect_rw - Read/Write TP indirect register through LDST or backdoor
SYNOPSIS void t4_tp_indirect_rw (struct adapter *adap , u32 reg_addr , u32 reg_data , u32 *buff , u32 nregs , u32 start_index , int rw , bool sleep_ok );
ARGUMENTS adap the adapter
reg_addr Address Register
reg... |
t4_tp_mib_read(9) | NAME t4_tp_mib_read - Read TP MIB registers
SYNOPSIS void t4_tp_mib_read (struct adapter *adap , u32 *buff , u32 nregs , u32 start_index , bool sleep_ok );
ARGUMENTS adap the adapter
buff where the indirect register values are written
nregs how many indirect registers to read
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.