FreeBSD kernel CXGBE device code
adapter_params Struct Reference

#include <common.h>

Collaboration diagram for adapter_params:

Data Fields

struct sge_params sge
 
struct tp_params tp
 
struct vpd_params vpd
 
struct pci_params pci
 
struct devlog_params devlog
 
struct rss_params rss
 
struct vf_resources vfres
 
unsigned int core_vdd
 
unsigned int sf_size
 
unsigned int sf_nsec
 
unsigned int fw_vers
 
unsigned int bs_vers
 
unsigned int tp_vers
 
unsigned int er_vers
 
unsigned int scfg_vers
 
unsigned int vpd_vers
 
unsigned short mtus [NMTUS]
 
unsigned short a_wnd [NCCTRL_WIN]
 
unsigned short b_wnd [NCCTRL_WIN]
 
unsigned int cim_la_size
 
uint8_t nports
 
uint8_t portvec
 
unsigned int chipid:4
 
unsigned int rev:4
 
unsigned int fpga:1
 
unsigned int offload:1
 
unsigned int bypass:1
 
unsigned int ethoffload:1
 
unsigned int hash_filter:1
 
unsigned int filter2_wr_support:1
 
unsigned int port_caps32:1
 
unsigned int smac_add_support:1
 
unsigned int ofldq_wr_cred
 
unsigned int eo_wr_cred
 
unsigned int max_ordird_qp
 
unsigned int max_ird_adapter
 
uint32_t mps_bg_map
 
bool ulptx_memwrite_dsgl
 
bool fr_nsmr_tpte_wr_support
 
bool dev_512sgl_mr
 
bool viid_smt_extn_support
 
unsigned int max_pkts_per_eth_tx_pkts_wr
 
uint8_t nsched_cls
 

Detailed Description

Definition at line 358 of file common.h.

Field Documentation

◆ a_wnd

unsigned short adapter_params::a_wnd[NCCTRL_WIN]

Definition at line 379 of file common.h.

Referenced by get_params__post_init(), sysctl_cctrl(), and t4_prep_adapter().

◆ b_wnd

unsigned short adapter_params::b_wnd[NCCTRL_WIN]

Definition at line 380 of file common.h.

Referenced by get_params__post_init(), sysctl_cctrl(), and t4_prep_adapter().

◆ bs_vers

unsigned int adapter_params::bs_vers

Definition at line 372 of file common.h.

Referenced by get_params__pre_init(), and t4_get_version_info().

◆ bypass

unsigned int adapter_params::bypass

Definition at line 391 of file common.h.

◆ chipid

unsigned int adapter_params::chipid

◆ cim_la_size

unsigned int adapter_params::cim_la_size

◆ core_vdd

unsigned int adapter_params::core_vdd

Definition at line 366 of file common.h.

Referenced by get_params__post_init(), and sysctl_vdd().

◆ dev_512sgl_mr

bool adapter_params::dev_512sgl_mr

Definition at line 408 of file common.h.

Referenced by get_params__post_init(), and t4_max_fr_depth().

◆ devlog

struct devlog_params adapter_params::devlog

◆ eo_wr_cred

unsigned int adapter_params::eo_wr_cred

Definition at line 399 of file common.h.

Referenced by get_params__post_init().

◆ er_vers

unsigned int adapter_params::er_vers

Definition at line 374 of file common.h.

Referenced by get_params__pre_init(), and t4_get_version_info().

◆ ethoffload

unsigned int adapter_params::ethoffload

Definition at line 392 of file common.h.

Referenced by get_params__post_init(), and is_ethoffload().

◆ filter2_wr_support

unsigned int adapter_params::filter2_wr_support

Definition at line 394 of file common.h.

Referenced by get_params__post_init(), and set_tcamfilter().

◆ fpga

unsigned int adapter_params::fpga

Definition at line 388 of file common.h.

Referenced by is_fpga(), t4_prep_adapter(), and t4vf_prep_adapter().

◆ fr_nsmr_tpte_wr_support

bool adapter_params::fr_nsmr_tpte_wr_support

Definition at line 407 of file common.h.

Referenced by get_params__post_init().

◆ fw_vers

◆ hash_filter

unsigned int adapter_params::hash_filter

Definition at line 393 of file common.h.

Referenced by get_params__post_init(), and is_hashfilter().

◆ max_ird_adapter

unsigned int adapter_params::max_ird_adapter

Definition at line 402 of file common.h.

Referenced by get_params__post_init().

◆ max_ordird_qp

unsigned int adapter_params::max_ordird_qp

Definition at line 401 of file common.h.

Referenced by cur_max_read_depth(), and get_params__post_init().

◆ max_pkts_per_eth_tx_pkts_wr

unsigned int adapter_params::max_pkts_per_eth_tx_pkts_wr

Definition at line 410 of file common.h.

Referenced by alloc_txq(), get_params__post_init(), and sysctl_tx_vm_wr().

◆ mps_bg_map

uint32_t adapter_params::mps_bg_map

Definition at line 404 of file common.h.

Referenced by get_params__post_init(), and t4_get_mps_bg_map().

◆ mtus

unsigned short adapter_params::mtus[NMTUS]

Definition at line 378 of file common.h.

Referenced by get_params__post_init().

◆ nports

◆ nsched_cls

◆ offload

unsigned int adapter_params::offload

Definition at line 389 of file common.h.

Referenced by get_params__post_init(), and is_offload().

◆ ofldq_wr_cred

unsigned int adapter_params::ofldq_wr_cred

Definition at line 398 of file common.h.

Referenced by get_params__post_init().

◆ pci

◆ port_caps32

unsigned int adapter_params::port_caps32

Definition at line 395 of file common.h.

Referenced by set_params__post_init(), t4_link_l1cfg(), and t4_update_port_info().

◆ portvec

uint8_t adapter_params::portvec

◆ rev

unsigned int adapter_params::rev

Definition at line 387 of file common.h.

Referenced by chip_rev(), and t4_prep_adapter().

◆ rss

struct rss_params adapter_params::rss

Definition at line 364 of file common.h.

Referenced by get_params__post_init(), and t4vf_get_rss_glb_config().

◆ scfg_vers

unsigned int adapter_params::scfg_vers

Definition at line 375 of file common.h.

Referenced by t4_get_version_info(), and t4_sysctls().

◆ sf_nsec

unsigned int adapter_params::sf_nsec

◆ sf_size

◆ sge

◆ smac_add_support

unsigned int adapter_params::smac_add_support

Definition at line 396 of file common.h.

Referenced by t4_configure_add_smac().

◆ tp

◆ tp_vers

unsigned int adapter_params::tp_vers

Definition at line 373 of file common.h.

Referenced by get_params__pre_init(), and t4_get_version_info().

◆ ulptx_memwrite_dsgl

bool adapter_params::ulptx_memwrite_dsgl

Definition at line 406 of file common.h.

Referenced by get_params__post_init(), and t4_max_fr_depth().

◆ vfres

struct vf_resources adapter_params::vfres

◆ viid_smt_extn_support

bool adapter_params::viid_smt_extn_support

Definition at line 409 of file common.h.

Referenced by set_params__pre_init(), t4_add_mac(), t4_alloc_vi_func(), and t4_change_mac().

◆ vpd

◆ vpd_vers

unsigned int adapter_params::vpd_vers

Definition at line 376 of file common.h.

Referenced by t4_get_version_info(), and t4_sysctls().


The documentation for this struct was generated from the following file: