id
stringlengths
4
63
text
stringlengths
153
8.81M
t3_os_phymod_changed(9)
NAME t3_os_phymod_changed - handle PHY module changes SYNOPSIS void t3_os_phymod_changed (struct adapter *adap , int port_id ); ARGUMENTS adap the adapter associated with the link change port_id the port index whose limk status has changed DESCRIPTION This is the OS-dependent handler for PHY modul...
t3_phy_advertise(9)
NAME t3_phy_advertise - set the PHY advertisement registers for autoneg SYNOPSIS int t3_phy_advertise (struct cphy *phy , unsigned int advert ); ARGUMENTS phy the PHY to operate on advert bitmap of capabilities the PHY should advertise DESCRIPTION Sets a 10/100/1000 PHY's advertisement registers...
t3_phy_advertise_fiber(9)
NAME t3_phy_advertise_fiber - set fiber PHY advertisement register SYNOPSIS int t3_phy_advertise_fiber (struct cphy *phy , unsigned int advert ); ARGUMENTS phy the PHY to operate on advert bitmap of capabilities the PHY should advertise DESCRIPTION Sets a fiber PHY's advertisement register to ad...
t3_phy_reset(9)
NAME t3_phy_reset - reset a PHY block SYNOPSIS int t3_phy_reset (struct cphy *phy , int mmd , int wait ); ARGUMENTS phy the PHY to operate on mmd the device address of the PHY block to reset wait how long to wait for the reset to complete in 1ms increments DESCRIPTION Resets a ...
t3_port_intr_clear(9)
NAME t3_port_intr_clear - clear port-specific interrupts SYNOPSIS void t3_port_intr_clear (struct adapter *adapter , int idx ); ARGUMENTS adapter associated adapter idx index of port whose interrupts to clear DESCRIPTION Clear port-specific (i.e., MAC and PHY) interrupts for the given adapter por...
t3_port_intr_disable(9)
NAME t3_port_intr_disable - disable port-specific interrupts SYNOPSIS void t3_port_intr_disable (struct adapter *adapter , int idx ); ARGUMENTS adapter associated adapter idx index of port whose interrupts should be disabled DESCRIPTION Disable port-specific (i.e., MAC and PHY) interrupts for the...
t3_port_intr_enable(9)
NAME t3_port_intr_enable - enable port-specific interrupts SYNOPSIS void t3_port_intr_enable (struct adapter *adapter , int idx ); ARGUMENTS adapter associated adapter idx index of port whose interrupts should be enabled DESCRIPTION Enable port-specific (i.e., MAC and PHY) interrupts for the give...
t3_read_flash(9)
NAME t3_read_flash - read words from serial flash SYNOPSIS int t3_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 ...
t3_read_indirect(9)
NAME t3_read_indirect - read indirectly addressed registers SYNOPSIS void t3_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 ...
t3_reset_qset(9)
NAME t3_reset_qset - reset a sge qset SYNOPSIS void t3_reset_qset (struct sge_qset *q ); ARGUMENTS q the queue set DESCRIPTION Reset the qset structure. the NAPI structure is preserved in the event of the qset's reincarnation, for example during EEH recovery. SEE ALSO Kernel file ./drivers/net/ethernet/c...
t3_seeprom_wp(9)
NAME t3_seeprom_wp - enable/disable EEPROM write protection SYNOPSIS int t3_seeprom_wp (struct adapter *adapter , int enable ); ARGUMENTS adapter the adapter enable 1 to enable write protection, 0 to disable it DESCRIPTION Enables or disables write protection on the serial EEPROM. SEE ALSO Kernel f...
t3_set_phy_speed_duplex(9)
NAME t3_set_phy_speed_duplex - force PHY speed and duplex SYNOPSIS int t3_set_phy_speed_duplex (struct cphy *phy , int speed , int duplex ); ARGUMENTS phy the PHY to operate on speed requested PHY speed duplex requested PHY duplex DESCRIPTION Force a 10/100/1000 PHY's speed and dup...
t3_set_proto_sram(9)
NAME t3_set_proto_sram - set the contents of the protocol sram SYNOPSIS int t3_set_proto_sram (struct adapter *adap , const u8 *data ); ARGUMENTS adap the adapter data the protocol image DESCRIPTION Write the contents of the protocol SRAM. SEE ALSO Kernel file ./drivers/net/ethernet/chelsio/cx...
t3_set_reg_field(9)
NAME t3_set_reg_field - set a register field to a value SYNOPSIS void t3_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 ...
t3_set_vlan_accel(9)
NAME t3_set_vlan_accel - control HW VLAN extraction SYNOPSIS void t3_set_vlan_accel (struct adapter *adapter , unsigned int ports , int on ); ARGUMENTS adapter the adapter ports bitmap of adapter ports to operate on on enable (1) or disable (0) HW VLAN extraction DESCRIPTION Enable...
t3_sge_alloc_qset(9)
NAME t3_sge_alloc_qset - initialize an SGE queue set SYNOPSIS int t3_sge_alloc_qset (struct adapter *adapter , unsigned int id , int nports , int irq_vec_idx , const struct qset_params *p , int ntxq , struct net_device *dev , struct netdev_queue *netdevq ); ARGUMENTS adapter the adapter id the qu...
t3_sge_cqcntxt_op(9)
NAME t3_sge_cqcntxt_op - perform an operation on a completion queue context SYNOPSIS int t3_sge_cqcntxt_op (struct adapter *adapter , unsigned int id , unsigned int op , unsigned int credits ); ARGUMENTS adapter the adapter id the context id op the operation to perform cr...
t3_sge_disable_cqcntxt(9)
NAME t3_sge_disable_cqcntxt - disable an SGE completion queue SYNOPSIS int t3_sge_disable_cqcntxt (struct adapter *adapter , unsigned int id ); ARGUMENTS adapter the adapter id the completion queue context id DESCRIPTION Disable an SGE completion queue. The caller is responsible for ensuring on...
t3_sge_disable_fl(9)
NAME t3_sge_disable_fl - disable an SGE free-buffer list SYNOPSIS int t3_sge_disable_fl (struct adapter *adapter , unsigned int id ); ARGUMENTS adapter the adapter id the free list context id DESCRIPTION Disable an SGE free-buffer list. The caller is responsible for ensuring only one context op...
t3_sge_disable_rspcntxt(9)
NAME t3_sge_disable_rspcntxt - disable an SGE response queue SYNOPSIS int t3_sge_disable_rspcntxt (struct adapter *adapter , unsigned int id ); ARGUMENTS adapter the adapter id the response queue context id DESCRIPTION Disable an SGE response queue. The caller is responsible for ensuring only o...
t3_sge_enable_ecntxt(9)
NAME t3_sge_enable_ecntxt - enable/disable an SGE egress context SYNOPSIS int t3_sge_enable_ecntxt (struct adapter *adapter , unsigned int id , int enable ); ARGUMENTS adapter the adapter id the egress context id enable enable (1) or disable (0) the context DESCRIPTION Enable or dis...
t3_sge_err_intr_handler(9)
NAME t3_sge_err_intr_handler - SGE async event interrupt handler SYNOPSIS void t3_sge_err_intr_handler (struct adapter *adapter ); ARGUMENTS adapter the adapter DESCRIPTION Interrupt handler for SGE asynchronous (non-data) events. SEE ALSO Kernel file ./drivers/net/ethernet/chelsio/cxgb3/sge.c refill_rspq(9), n...
t3_sge_init(9)
NAME t3_sge_init - initialize SGE SYNOPSIS void t3_sge_init (struct adapter *adap , struct sge_params *p ); ARGUMENTS adap the adapter p the SGE parameters DESCRIPTION Performs SGE initialization needed every time after a chip reset. We do not initialize any of the queue sets here, in...
t3_sge_init_cqcntxt(9)
NAME t3_sge_init_cqcntxt - initialize an SGE completion queue context SYNOPSIS int t3_sge_init_cqcntxt (struct adapter *adapter , unsigned int id , u64 base_addr , unsigned int size , int rspq , int ovfl_mode , unsigned int credits , unsigned int credit_thres ); ARGUMENTS adapter the adapter to configure ...
t3_sge_init_ecntxt(9)
NAME t3_sge_init_ecntxt - initialize an SGE egress context SYNOPSIS int t3_sge_init_ecntxt (struct adapter *adapter , unsigned int id , int gts_enable , enum sge_context_type type , int respq , u64 base_addr , unsigned int size , unsigned int token , int gen , unsigned int cidx ); ARGUMENTS adapter the adapter to...
t3_sge_init_flcntxt(9)
NAME t3_sge_init_flcntxt - initialize an SGE free-buffer list context SYNOPSIS int t3_sge_init_flcntxt (struct adapter *adapter , unsigned int id , int gts_enable , u64 base_addr , unsigned int size , unsigned int bsize , unsigned int cong_thres , int gen , unsigned int cidx ); ARGUMENTS adapter the adapter to co...
t3_sge_init_rspcntxt(9)
NAME t3_sge_init_rspcntxt - initialize an SGE response queue context SYNOPSIS int t3_sge_init_rspcntxt (struct adapter *adapter , unsigned int id , int irq_vec_idx , u64 base_addr , unsigned int size , unsigned int fl_thres , int gen , unsigned int cidx ); ARGUMENTS adapter the adapter to configure id ...
t3_sge_prep(9)
NAME t3_sge_prep - one-time SGE initialization SYNOPSIS void t3_sge_prep (struct adapter *adap , struct sge_params *p ); ARGUMENTS adap the associated adapter p SGE parameters DESCRIPTION Performs one-time initialization of SGE SW state. Includes determining defaults for the assorted SGE pa...
t3_sge_start(9)
NAME t3_sge_start - enable SGE SYNOPSIS void t3_sge_start (struct adapter *adap ); ARGUMENTS adap the adapter DESCRIPTION Enables the SGE for DMAs. This is the last step in starting packet transfers. SEE ALSO Kernel file ./drivers/net/ethernet/chelsio/cxgb3/sge.c refill_rspq(9), need_skb_unmap(9), unmap_skb...
t3_sge_stop(9)
NAME t3_sge_stop - disable SGE operation completly SYNOPSIS void t3_sge_stop (struct adapter *adap ); ARGUMENTS adap the adapter DESCRIPTION Called from process context. Disables the DMA engine and any pending queue restart works. SEE ALSO Kernel file ./drivers/net/ethernet/chelsio/cxgb3/sge.c refill_rspq(9)...
t3_sge_stop_dma(9)
NAME t3_sge_stop_dma - Disable SGE DMA engine operation SYNOPSIS void t3_sge_stop_dma (struct adapter *adap ); ARGUMENTS adap the adapter DESCRIPTION Can be invoked from interrupt context e.g. error handler. Note that this function cannot disable the restart of works as it cannot wait if called from inter...
t3_sge_write_context(9)
NAME t3_sge_write_context - write an SGE context SYNOPSIS int t3_sge_write_context (struct adapter *adapter , unsigned int id , unsigned int type ); ARGUMENTS adapter the adapter id the context id type the context type DESCRIPTION Program an SGE context with the values already loa...
t3_start_sge_timers(9)
NAME t3_start_sge_timers - start SGE timer call backs SYNOPSIS void t3_start_sge_timers (struct adapter *adap ); ARGUMENTS adap the adapter DESCRIPTION Starts each SGE queue set's timer call back SEE ALSO Kernel file ./drivers/net/ethernet/chelsio/cxgb3/sge.c refill_rspq(9), need_skb_unmap(9), unmap_skb(9), ...
t3_stop_sge_timers(9)
NAME t3_stop_sge_timers - stop SGE timer call backs SYNOPSIS void t3_stop_sge_timers (struct adapter *adap ); ARGUMENTS adap the adapter DESCRIPTION Stops each SGE queue set's timer call back SEE ALSO Kernel file ./drivers/net/ethernet/chelsio/cxgb3/sge.c refill_rspq(9), need_skb_unmap(9), unmap_skb(9), free...
t3_synchronize_rx(9)
NAME t3_synchronize_rx - wait for current Rx processing on a port to complete SYNOPSIS void t3_synchronize_rx (struct adapter *adap , const struct port_info *p ); ARGUMENTS adap the adapter p the port DESCRIPTION Ensures that current Rx processing on any of the queues associated with the giv...
t3_tp_get_mib_stats(9)
NAME t3_tp_get_mib_stats - read TP's MIB counters SYNOPSIS void t3_tp_get_mib_stats (struct adapter *adap , struct tp_mib_stats *tps ); ARGUMENTS adap the adapter tps holds the returned counter values DESCRIPTION Returns the values of TP's MIB counters. SEE ALSO Kernel file ./drivers/net/ethe...
t3_tp_set_coalescing_size(9)
NAME t3_tp_set_coalescing_size - set receive coalescing size SYNOPSIS int t3_tp_set_coalescing_size (struct adapter *adap , unsigned int size , int psh ); ARGUMENTS adap the adapter size the receive coalescing size psh whether a set PSH bit should deliver coalesced data DESCRIPT...
t3_tp_set_max_rxsize(9)
NAME t3_tp_set_max_rxsize - set the max receive size SYNOPSIS void t3_tp_set_max_rxsize (struct adapter *adap , unsigned int size ); ARGUMENTS adap the adapter size the max receive size DESCRIPTION Set TP's max receive size. This is the limit that applies when receive coalescing is disabled. ...
t3_tp_set_offload_mode(9)
NAME t3_tp_set_offload_mode - put TP in NIC/offload mode SYNOPSIS void t3_tp_set_offload_mode (struct adapter *adap , int enable ); ARGUMENTS adap the adapter enable 1 to select offload mode, 0 for regular NIC DESCRIPTION Switches TP to NIC/offload mode. SEE ALSO Kernel file ./drivers/net/ethern...
t3_update_qset_coalesce(9)
NAME t3_update_qset_coalesce - update coalescing settings for a queue set SYNOPSIS void t3_update_qset_coalesce (struct sge_qset *qs , const struct qset_params *p ); ARGUMENTS qs the SGE queue set p new queue set parameters DESCRIPTION Update the coalescing settings for an SGE queue set. ...
t3_wait_op_done_val(9)
NAME t3_wait_op_done_val - wait until an operation is completed SYNOPSIS int t3_wait_op_done_val (struct adapter *adapter , int reg , u32 mask , int polarity , int attempts , int delay , u32 *valp ); ARGUMENTS adapter the adapter performing the operation reg the register to check for completion ...
t3_write_flash(9)
NAME t3_write_flash - write up to a page of data to the serial flash SYNOPSIS int t3_write_flash (struct adapter *adapter , unsigned int addr , unsigned int n , const u8 *data ); ARGUMENTS adapter the adapter addr the start address to write n length of data to write data ...
t3_write_regs(9)
NAME t3_write_regs - write a bunch of registers SYNOPSIS void t3_write_regs (struct adapter *adapter , const struct addr_val_pair *p , int n , unsigned int offset ); ARGUMENTS adapter the adapter to program p an array of register address/register value pairs n the number of add...
t4_alloc_encap_mac_filt(9)
NAME t4_alloc_encap_mac_filt - Adds a mac entry in mps tcam with VNI support SYNOPSIS int t4_alloc_encap_mac_filt (struct adapter *adap , unsigned int viid , const u8 *addr , const u8 *mask , unsigned int vni , unsigned int vni_mask , u8 dip_hit , u8 lookup_type , bool sleep_ok ); ARGUMENTS adap the adapter ...
t4_alloc_mac_filt(9)
NAME t4_alloc_mac_filt - allocates exact-match filters for MAC addresses SYNOPSIS int t4_alloc_mac_filt (struct adapter *adap , unsigned int mbox , unsigned int viid , bool free , unsigned int naddr , const u8 **addr , u16 *idx , u64 *hash , bool sleep_ok ); ARGUMENTS adap the adapter mbox mailb...
t4_alloc_raw_mac_filt(9)
NAME t4_alloc_raw_mac_filt - Adds a mac entry in mps tcam SYNOPSIS int t4_alloc_raw_mac_filt (struct adapter *adap , unsigned int viid , const u8 *addr , const u8 *mask , unsigned int idx , u8 lookup_type , u8 port_id , bool sleep_ok ); ARGUMENTS adap the adapter viid the VI id addr ...
t4_alloc_vi(9)
NAME t4_alloc_vi - allocate a virtual interface SYNOPSIS int t4_alloc_vi (struct adapter *adap , unsigned int mbox , unsigned int port , unsigned int pf , unsigned int vf , unsigned int nmac , u8 *mac , unsigned int *rss_size , u8 *vivld , u8 *vin ); ARGUMENTS adap the adapter mbox mailbox to us...
t4_bar2_sge_qregs(9)
NAME t4_bar2_sge_qregs - return BAR2 SGE Queue register information SYNOPSIS int t4_bar2_sge_qregs (struct adapter *adapter , unsigned int qid , enum t4_bar2_qtype qtype , int user , u64 *pbar2_qoffset , unsigned int *pbar2_qid ); ARGUMENTS adapter the adapter qid the Queue ID qtype ...
t4_cfg_pfvf(9)
NAME t4_cfg_pfvf - configure PF/VF resource limits SYNOPSIS int t4_cfg_pfvf (struct adapter *adap , unsigned int mbox , unsigned int pf , unsigned int vf , unsigned int txq , unsigned int txq_eth_ctrl , unsigned int rxqi , unsigned int rxq , unsigned int tc , unsigned int vi , un‐ signed int cmask , unsigned int pmask...
t4_change_mac(9)
NAME t4_change_mac - modifies the exact-match filter for a MAC address SYNOPSIS int t4_change_mac (struct adapter *adap , unsigned int mbox , unsigned int viid , int idx , const u8 *addr , bool persist , u8 *smt_idx ); ARGUMENTS adap the adapter mbox mailbox to use for the FW command vii...
t4_check_fw_version(9)
NAME t4_check_fw_version - check if the FW is supported with this driver SYNOPSIS int t4_check_fw_version (struct adapter *adap ); ARGUMENTS adap the adapter DESCRIPTION Checks if an adapter's FW is compatible with the driver. Returns 0 if there's exact match, a negative error if the version could not be rea...
t4_cim_read(9)
NAME t4_cim_read - read a block from CIM internal address space SYNOPSIS int t4_cim_read (struct adapter *adap , unsigned int addr , unsigned int n , unsigned int *valp ); ARGUMENTS adap the adapter addr the start address within the CIM address space n number of words to read ...
t4_cim_read_la(9)
NAME t4_cim_read_la - read CIM LA capture buffer SYNOPSIS int t4_cim_read_la (struct adapter *adap , u32 *la_buf , unsigned int *wrptr ); ARGUMENTS adap the adapter la_buf where to store the LA data wrptr the HW write pointer within the capture buffer DESCRIPTION Reads the contents ...
t4_cim_write(9)
NAME t4_cim_write - write a block into CIM internal address space SYNOPSIS int t4_cim_write (struct adapter *adap , unsigned int addr , unsigned int n , const unsigned int *valp ); ARGUMENTS adap the adapter addr the start address within the CIM address space n number of words ...
t4_config_glbl_rss(9)
NAME t4_config_glbl_rss - configure the global RSS mode SYNOPSIS int t4_config_glbl_rss (struct adapter *adapter , int mbox , unsigned int mode , unsigned int flags ); ARGUMENTS adapter the adapter mbox mbox to use for the FW command mode global RSS mode flags mode-spec...
t4_config_rss_range(9)
NAME t4_config_rss_range - configure a portion of the RSS mapping table SYNOPSIS int t4_config_rss_range (struct adapter *adapter , int mbox , unsigned int viid , int start , int n , const u16 *rspq , unsigned int nrspq ); ARGUMENTS adapter the adapter mbox mbox to use for the FW command vi...
t4_config_vi_rss(9)
NAME t4_config_vi_rss - configure per VI RSS settings SYNOPSIS int t4_config_vi_rss (struct adapter *adapter , int mbox , unsigned int viid , unsigned int flags , unsigned int defq ); ARGUMENTS adapter the adapter mbox mbox to use for the FW command viid the VI id flags ...
t4_crypto_send(9)
NAME t4_crypto_send - send crypto packet SYNOPSIS int t4_crypto_send (struct adapter *adap , struct sk_buff *skb ); ARGUMENTS adap the adapter skb the packet DESCRIPTION Sends crypto packet. We use the packet queue_mapping to select the appropriate Tx queue as follows: bit 0 indicates whether...
t4_ctrl_eq_free(9)
NAME t4_ctrl_eq_free - free a control egress queue SYNOPSIS int t4_ctrl_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_dump_version_info(9)
NAME t4_dump_version_info - dump all of the adapter configuration IDs SYNOPSIS void t4_dump_version_info (struct adapter *adapter ); ARGUMENTS adapter the adapter DESCRIPTION Dumps all of the various bits of adapter configuration version/revision IDs information. This is typically called at some point after t4_...
t4_early_init(9)
NAME t4_early_init - ask FW to initialize the device SYNOPSIS int t4_early_init (struct adapter *adap , unsigned int mbox ); ARGUMENTS adap the adapter mbox mailbox to use for the FW command DESCRIPTION Issues a command to FW to partially initialize the device. This performs initialization tha...
t4_eeprom_ptov(9)
NAME t4_eeprom_ptov - translate a physical EEPROM address to virtual SYNOPSIS int t4_eeprom_ptov (unsigned int phys_addr , unsigned int fn , unsigned int sz ); ARGUMENTS phys_addr the physical EEPROM address fn the PCI function number sz size of function-specific area DESCRIPTION ...
t4_enable_pi_params(9)
NAME t4_enable_pi_params - enable/disable a Port's Virtual Interface SYNOPSIS int t4_enable_pi_params (struct adapter *adap , unsigned int mbox , struct port_info *pi , bool rx_en , bool tx_en , bool dcb_en ); ARGUMENTS adap the adapter mbox mailbox to use for the FW command pi ...
t4_enable_vi(9)
NAME t4_enable_vi - enable/disable a virtual interface SYNOPSIS int t4_enable_vi (struct adapter *adap , unsigned int mbox , unsigned int viid , bool rx_en , bool tx_en ); ARGUMENTS adap the adapter mbox mailbox to use for the FW command viid the VI id rx_en 1=enable...
t4_enable_vi_params(9)
NAME t4_enable_vi_params - enable/disable a virtual interface SYNOPSIS int t4_enable_vi_params (struct adapter *adap , unsigned int mbox , unsigned int viid , bool rx_en , bool tx_en , bool dcb_en ); ARGUMENTS adap the adapter mbox mailbox to use for the FW command viid the VI id ...
t4_eth_eq_free(9)
NAME t4_eth_eq_free - free an Ethernet egress queue SYNOPSIS int t4_eth_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_ethrx_handler(9)
NAME t4_ethrx_handler - process an ingress ethernet packet SYNOPSIS int t4_ethrx_handler (struct sge_rspq *q , const __be64 *rsp , const struct pkt_gl *si ); ARGUMENTS q the response queue that received the packet rsp the response queue descriptor holding the RX_PKT message si ...
t4_filter_field_shift(9)
NAME t4_filter_field_shift - calculate filter field shift SYNOPSIS int t4_filter_field_shift (const struct adapter *adap , int filter_sel ); ARGUMENTS adap the adapter filter_sel the desired field (from TP_VLAN_PRI_MAP bits) DESCRIPTION Return the shift position of a filter field within the Compresse...
t4_fixup_host_params(9)
NAME t4_fixup_host_params - fix up host-dependent parameters SYNOPSIS int t4_fixup_host_params (struct adapter *adap , unsigned int page_size , unsigned int cache_line_size ); ARGUMENTS adap the adapter page_size the host's Base Page Size cache_line_size the host's Cache Li...
t4_fl_pkt_align(9)
NAME t4_fl_pkt_align - return the fl packet alignment SYNOPSIS int t4_fl_pkt_align (struct adapter *adap ); ARGUMENTS adap the adapter DESCRIPTION T4 has a single field to specify the packing and padding boundary. T5 onwards has separate fields for this and hence the alignment for next packet offset is maxim...
t4_flash_bootcfg_addr(9)
NAME t4_flash_bootcfg_addr - return the address of the flash optionrom configuration SYNOPSIS int t4_flash_bootcfg_addr (struct adapter *adapter ); ARGUMENTS adapter the adapter DESCRIPTION Return the address within the flash where the OptionROM Configuration is stored, or an error if the device FLASH is too sma...
t4_flash_cfg_addr(9)
NAME t4_flash_cfg_addr - return the address of the flash configuration file SYNOPSIS unsigned int t4_flash_cfg_addr (struct adapter *adapter ); ARGUMENTS adapter the adapter DESCRIPTION Return the address within the flash where the Firmware Configuration File is stored. SEE ALSO Kernel file ./drivers/net/ethern...
t4_flash_erase_sectors(9)
NAME t4_flash_erase_sectors - erase a range of flash sectors SYNOPSIS int t4_flash_erase_sectors (struct adapter *adapter , int start , int end ); ARGUMENTS adapter the adapter start the first sector to erase end the last sector to erase DESCRIPTION Erases the sectors in the given i...
t4_free_encap_mac_filt(9)
NAME t4_free_encap_mac_filt - frees MPS entry at given index SYNOPSIS int t4_free_encap_mac_filt (struct adapter *adap , unsigned int viid , int idx , bool sleep_ok ); ARGUMENTS adap the adapter viid the VI id idx index of MPS entry to be freed sleep_ok call is allowed...
t4_free_mac_filt(9)
NAME t4_free_mac_filt - frees exact-match filters of given MAC addresses SYNOPSIS int t4_free_mac_filt (struct adapter *adap , unsigned int mbox , unsigned int viid , unsigned int naddr , const u8 **addr , bool sleep_ok ); ARGUMENTS adap the adapter mbox mailbox to use for the FW command ...
t4_free_raw_mac_filt(9)
NAME t4_free_raw_mac_filt - Frees a raw mac entry in mps tcam SYNOPSIS int t4_free_raw_mac_filt (struct adapter *adap , unsigned int viid , const u8 *addr , const u8 *mask , unsigned int idx , u8 lookup_type , u8 port_id , bool sleep_ok ); ARGUMENTS adap the adapter viid the VI id addr ...
t4_free_sge_resources(9)
NAME t4_free_sge_resources - free SGE resources SYNOPSIS void t4_free_sge_resources (struct adapter *adap ); ARGUMENTS adap the adapter DESCRIPTION Frees resources used by the SGE queue sets. SEE ALSO Kernel file ./drivers/net/ethernet/chelsio/cxgb4/sge.c txq_avail(9), fl_cap(9), fl_starving(9), deferred_u...
t4_free_vi(9)
NAME t4_free_vi - free a virtual interface SYNOPSIS int t4_free_vi (struct adapter *adap , unsigned int mbox , unsigned int pf , unsigned int vf , unsigned int viid ); ARGUMENTS adap the adapter mbox mailbox to use for the FW command pf the PF owning the VI vf t...
t4_fw_bye(9)
NAME t4_fw_bye - end communication with FW SYNOPSIS int t4_fw_bye (struct adapter *adap , unsigned int mbox ); ARGUMENTS adap the adapter mbox mailbox to use for the FW command DESCRIPTION Issues a command to terminate communication with FW. SEE ALSO Kernel file ./drivers/net/ethernet/chelsio/...
t4_fw_halt(9)
NAME t4_fw_halt - issue a reset/halt to FW and put uP into RESET SYNOPSIS int t4_fw_halt (struct adapter *adap , unsigned int mbox , int force ); ARGUMENTS adap the adapter mbox mailbox to use for the FW RESET command (if desired) force force uP into RESET even if FW RESET command ...
t4_fw_hello(9)
NAME t4_fw_hello - establish communication with FW SYNOPSIS int t4_fw_hello (struct adapter *adap , unsigned int mbox , unsigned int evt_mbox , enum dev_master master , enum dev_state *state ); ARGUMENTS adap the adapter mbox mailbox to use for the FW command evt_mbox mailbox to recei...
t4_fw_initialize(9)
NAME t4_fw_initialize - ask FW to initialize the device SYNOPSIS int t4_fw_initialize (struct adapter *adap , unsigned int mbox ); ARGUMENTS adap the adapter mbox mailbox to use for the FW command DESCRIPTION Issues a command to FW to partially initialize the device. This performs initializati...
t4_fw_reset(9)
NAME t4_fw_reset - issue a reset to FW SYNOPSIS int t4_fw_reset (struct adapter *adap , unsigned int mbox , int reset ); ARGUMENTS adap the adapter mbox mailbox to use for the FW command reset specifies the type of reset to perform DESCRIPTION Issues a reset command of the specifi...
t4_fw_restart(9)
NAME t4_fw_restart - restart the firmware by taking the uP out of RESET SYNOPSIS int t4_fw_restart (struct adapter *adap , unsigned int mbox , int reset ); ARGUMENTS adap the adapter mbox mailbox to use for the FW command reset if we want to do a RESET to restart things DESCRIPTIO...
t4_fw_upgrade(9)
NAME t4_fw_upgrade - perform all of the steps necessary to upgrade FW SYNOPSIS int t4_fw_upgrade (struct adapter *adap , unsigned int mbox , const u8 *fw_data , unsigned int size , int force ); ARGUMENTS adap the adapter mbox mailbox to use for the FW RESET command (if desired) fw_data ...
t4_fwcache(9)
NAME t4_fwcache - firmware cache operation SYNOPSIS int t4_fwcache (struct adapter *adap , enum fw_params_param_dev_fwcache op ); ARGUMENTS adap the adapter op the operation (flush or flush and invalidate) SEE ALSO Kernel file ./drivers/net/ethernet/chelsio/cxgb4/t4_hw.c t4_wait_op_done_val(9...
t4_get_bs_version(9)
NAME t4_get_bs_version - read the firmware bootstrap version SYNOPSIS int t4_get_bs_version (struct adapter *adapter , u32 *vers ); ARGUMENTS adapter the adapter vers where to place the version DESCRIPTION Reads the FW Bootstrap version from flash. SEE ALSO Kernel file ./drivers/net/ethernet/chel...
t4_get_chan_txrate(9)
NAME t4_get_chan_txrate - get the current per channel Tx rates SYNOPSIS void t4_get_chan_txrate (struct adapter *adap , u64 *nic_rate , u64 *ofld_rate ); ARGUMENTS adap the adapter nic_rate rates for NIC traffic ofld_rate rates for offloaded traffic DESCRIPTION Return the current Tx rates...
t4_get_exprom_version(9)
NAME t4_get_exprom_version - return the Expansion ROM version (if any) SYNOPSIS int t4_get_exprom_version (struct adapter *adap , u32 *vers ); ARGUMENTS adap the adapter vers where to place the version DESCRIPTION Reads the Expansion ROM header from FLASH and returns the version number (if...
t4_get_fcoe_stats(9)
NAME t4_get_fcoe_stats - read TP's FCoE MIB counters for a port SYNOPSIS void t4_get_fcoe_stats (struct adapter *adap , unsigned int idx , struct tp_fcoe_stats *st , bool sleep_ok ); ARGUMENTS adap the adapter idx the port index st holds the counter values sleep_ok i...
t4_get_fw_version(9)
NAME t4_get_fw_version - read the firmware version SYNOPSIS int t4_get_fw_version (struct adapter *adapter , u32 *vers ); ARGUMENTS adapter the adapter vers where to place the version DESCRIPTION Reads the FW version from flash. SEE ALSO Kernel file ./drivers/net/ethernet/chelsio/cxgb4/t4_hw.c t4...
t4_get_lb_stats(9)
NAME t4_get_lb_stats - collect loopback port statistics SYNOPSIS void t4_get_lb_stats (struct adapter *adap , int idx , struct lb_port_stats *p ); ARGUMENTS adap the adapter idx the loopback port index p the stats structure to fill DESCRIPTION Return HW statistics for the giv...
t4_get_link_params(9)
NAME t4_get_link_params - retrieve basic link parameters for given port SYNOPSIS int t4_get_link_params (struct port_info *pi , unsigned int *link_okp , unsigned int *speedp , unsigned int *mtup ); ARGUMENTS pi the port link_okp value return pointer for link up/down speedp value retur...
t4_get_mps_bg_map(9)
NAME t4_get_mps_bg_map - return the buffer groups associated with a port SYNOPSIS unsigned int t4_get_mps_bg_map (struct adapter *adapter , int pidx ); ARGUMENTS adapter the adapter pidx the port index DESCRIPTION Returns a bitmap indicating which MPS buffer groups are associated with the given Po...
t4_get_pfres(9)
NAME t4_get_pfres - retrieve VF resource limits SYNOPSIS int t4_get_pfres (struct adapter *adapter ); ARGUMENTS adapter the adapter DESCRIPTION Retrieves configured resource limits and capabilities for a physical function. The results are stored in adapter->pfres. SEE ALSO Kernel file ./drivers/net/ethernet/ch...
t4_get_port_stats(9)
NAME t4_get_port_stats - collect port statistics SYNOPSIS void t4_get_port_stats (struct adapter *adap , int idx , struct port_stats *p ); ARGUMENTS adap the adapter idx the port index p the stats structure to fill DESCRIPTION Collect statistics related to the given port from...
t4_get_port_stats_offset(9)
NAME t4_get_port_stats_offset - collect port stats relative to a previous snapshot SYNOPSIS void t4_get_port_stats_offset (struct adapter *adap , int idx , struct port_stats *stats , struct port_stats *offset ); ARGUMENTS adap The adapter idx The port stats Current stats to fill ...
t4_get_port_type_description(9)
NAME t4_get_port_type_description - return Port Type string description SYNOPSIS const char * t4_get_port_type_description (enum fw_port_type port_type ); ARGUMENTS port_type firmware Port Type enumeration SEE ALSO Kernel file ./drivers/net/ethernet/chelsio/cxgb4/t4_hw.c t4_wait_op_done_val(9), t4_set_reg_field(9)...
t4_get_raw_vpd_params(9)
NAME t4_get_raw_vpd_params - read VPD parameters from VPD EEPROM SYNOPSIS int t4_get_raw_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. SEE ALSO Kernel file ...
t4_get_regs(9)
NAME t4_get_regs - read chip registers into provided buffer SYNOPSIS void t4_get_regs (struct adapter *adap , void *buf , size_t buf_size ); ARGUMENTS adap the adapter buf register buffer buf_size size (in bytes) of register buffer DESCRIPTION If the provided register buffer isn't l...