FreeBSD kernel CXGBE device code
|
#include <common.h>
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 |
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().
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().
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().
unsigned int adapter_params::chipid |
Definition at line 386 of file common.h.
Referenced by chip_id(), collect_rss_config(), cudbg_collect(), is_t4(), is_t5(), is_t6(), t4_prep_adapter(), and t4vf_prep_adapter().
unsigned int adapter_params::cim_la_size |
Definition at line 382 of file common.h.
Referenced by collect_cim_la(), sbuf_cim_la(), sbuf_cim_la4(), sbuf_cim_la6(), t4_cim_read_la(), and t4_prep_adapter().
unsigned int adapter_params::core_vdd |
Definition at line 366 of file common.h.
Referenced by get_params__post_init(), and sysctl_vdd().
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().
struct devlog_params adapter_params::devlog |
Definition at line 363 of file common.h.
Referenced by collect_fw_devlog(), fixup_devlog_params(), sbuf_devlog(), and t4_init_devlog_params().
unsigned int adapter_params::eo_wr_cred |
Definition at line 399 of file common.h.
Referenced by get_params__post_init().
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().
unsigned int adapter_params::ethoffload |
Definition at line 392 of file common.h.
Referenced by get_params__post_init(), and is_ethoffload().
unsigned int adapter_params::filter2_wr_support |
Definition at line 394 of file common.h.
Referenced by get_params__post_init(), and set_tcamfilter().
unsigned int adapter_params::fpga |
Definition at line 388 of file common.h.
Referenced by is_fpga(), t4_prep_adapter(), and t4vf_prep_adapter().
bool adapter_params::fr_nsmr_tpte_wr_support |
Definition at line 407 of file common.h.
Referenced by get_params__post_init().
unsigned int adapter_params::fw_vers |
Definition at line 371 of file common.h.
Referenced by ccr_init_port(), collect_vpd_data(), get_params__post_init(), get_params__pre_init(), set_params__pre_init(), sysctl_reset_sensor(), and t4_get_version_info().
unsigned int adapter_params::hash_filter |
Definition at line 393 of file common.h.
Referenced by get_params__post_init(), and is_hashfilter().
unsigned int adapter_params::max_ird_adapter |
Definition at line 402 of file common.h.
Referenced by get_params__post_init().
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().
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().
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().
unsigned short adapter_params::mtus[NMTUS] |
Definition at line 378 of file common.h.
Referenced by get_params__post_init().
uint8_t adapter_params::nports |
Definition at line 384 of file common.h.
Referenced by calculate_iaq(), cfg_itype_and_nqueues(), clear_stats(), collect_lb_stats(), collect_macstats(), get_params__pre_init(), read_i2c(), set_filter(), t4_attach(), t4_prep_adapter(), t4_set_sched_queue(), t4_setup_intr_handlers(), t4_sysctls(), t4vf_attach(), t4vf_ioctl(), and t4vf_prep_adapter().
uint8_t adapter_params::nsched_cls |
Definition at line 411 of file common.h.
Referenced by bind_txq_to_traffic_class(), cxgbe_sysctls(), get_params__post_init(), set_offload_policy(), set_sched_class_params(), sysctl_tc(), t4_init_tx_sched(), t4_reserve_cl_rl_kbps(), t4_set_sched_queue(), and update_tx_sched().
unsigned int adapter_params::offload |
Definition at line 389 of file common.h.
Referenced by get_params__post_init(), and is_offload().
unsigned int adapter_params::ofldq_wr_cred |
Definition at line 398 of file common.h.
Referenced by get_params__post_init().
struct pci_params adapter_params::pci |
Definition at line 362 of file common.h.
Referenced by setup_pad_and_pack_boundaries(), t4_attach(), t4_prep_adapter(), t4_seeprom_read(), t4_seeprom_wait(), t4_seeprom_write(), and t4vf_attach().
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().
uint8_t adapter_params::portvec |
Definition at line 385 of file common.h.
Referenced by get_params__post_init(), get_params__pre_init(), t4_port_init(), and t4_prep_adapter().
unsigned int adapter_params::rev |
Definition at line 387 of file common.h.
Referenced by chip_rev(), and t4_prep_adapter().
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().
unsigned int adapter_params::scfg_vers |
Definition at line 375 of file common.h.
Referenced by t4_get_version_info(), and t4_sysctls().
unsigned int adapter_params::sf_nsec |
Definition at line 369 of file common.h.
Referenced by t4_flash_erase_sectors(), t4_get_flash_params(), t4_load_boot(), t4_load_bootcfg(), t4_load_cfg(), t4_load_fw(), and write_flash().
unsigned int adapter_params::sf_size |
Definition at line 368 of file common.h.
Referenced by t4_flash_bootcfg_addr(), t4_flash_cfg_addr(), t4_get_flash_params(), t4_load_boot(), t4_load_bootcfg(), t4_load_cfg(), t4_load_fw(), t4_read_flash(), t4_write_flash(), and write_flash().
struct sge_params adapter_params::sge |
Definition at line 359 of file common.h.
Referenced by add_eq_sysctls(), add_fl_sysctls(), alloc_eq(), alloc_eq_hwq(), alloc_iq_fl_hwq(), ctrl_eq_alloc(), eth_eq_alloc(), eth_rx(), hwsz_ok(), init_eq(), init_fl(), init_iq(), max_rx_payload(), sysctl_bufsizes(), t4_bar2_sge_qregs(), t4_init_rx_buf_info(), t4_init_sge_params(), t4_sge_sysctls(), t4_sysctls(), t4_verify_chip_settings(), and t4vf_get_sge_params().
unsigned int adapter_params::smac_add_support |
Definition at line 396 of file common.h.
Referenced by t4_configure_add_smac().
struct tp_params adapter_params::tp |
Definition at line 360 of file common.h.
Referenced by check_fspec_against_fconf_iconf(), dack_ticks_to_usec(), eth_rx(), get_filter_mode(), hashfilter_ntuple(), max_rx_payload(), read_filter_mode_and_ingress_config(), set_filter_mask(), set_filter_mode(), sysctl_tp_la_mask(), t4_filter_field_shift(), t4_init_tp_params(), t4_set_filter_cfg(), t4_tp_read_la(), tcp_ticks_to_us(), and us_to_tcp_ticks().
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().
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().
struct vf_resources adapter_params::vfres |
Definition at line 365 of file common.h.
Referenced by cfg_itype_and_nqueues(), get_params__post_init(), t4_port_init(), t4vf_attach(), t4vf_get_vfres(), and t4vf_prep_adapter().
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().
struct vpd_params adapter_params::vpd |
Definition at line 361 of file common.h.
Referenced by chan_rate(), collect_clk_info(), collect_hw_sched(), core_ticks_per_usec(), core_ticks_to_us(), get_params__pre_init(), last_flit_to_ns(), t4_get_tx_sched(), t4_prep_adapter(), t4_set_desc(), t4_set_sched_bps(), t4_sysctls(), t4_tweak_chip_settings(), t4vf_prep_adapter(), us_to_core_ticks(), and us_to_tcp_ticks().
unsigned int adapter_params::vpd_vers |
Definition at line 376 of file common.h.
Referenced by t4_get_version_info(), and t4_sysctls().