FreeBSD kernel CXGBE device code
|
#include <adapter.h>
Data Structures | |
struct | irq |
Public Member Functions | |
SLIST_ENTRY (adapter) link | |
struct adapter::irq | __aligned (CACHE_LINE_SIZE) *irq |
CXGBE_LIST_HEAD (, clip_entry) *clip_table | |
TAILQ_HEAD (, clip_entry) clip_pending | |
TAILQ_HEAD (, sge_fl) sfl | |
Data Fields | |
device_t | dev |
struct cdev * | cdev |
const struct devnames * | names |
int | regs_rid |
struct resource * | regs_res |
int | msix_rid |
struct resource * | msix_res |
bus_space_handle_t | bh |
bus_space_tag_t | bt |
bus_size_t | mmio_len |
int | udbs_rid |
struct resource * | udbs_res |
volatile uint8_t * | udbs_base |
unsigned int | pf |
unsigned int | mbox |
unsigned int | vpd_busy |
unsigned int | vpd_flag |
int | intr_type |
int | intr_count |
int | sge_gts_reg |
int | sge_kdoorbell_reg |
bus_dma_tag_t | dmat |
struct sge | sge |
int | lro_timeout |
int | sc_do_rxcopy |
int | vxlan_port |
u_int | vxlan_refcount |
int | rawf_base |
int | nrawf |
struct taskqueue * | tq [MAX_NCHAN] |
struct port_info * | port [MAX_NPORTS] |
uint8_t | chan_map [MAX_NCHAN] |
u_long | clip_mask |
int | clip_gen |
struct timeout_task | clip_task |
void * | tom_softc |
struct tom_tunables | tt |
struct t4_offload_policy * | policy |
struct rwlock | policy_lock |
void * | iwarp_softc |
struct iw_tunables | iwt |
void * | iscsi_ulp_softc |
void * | ccr_softc |
struct l2t_data * | l2t |
struct smt_data * | smt |
struct tid_info | tids |
vmem_t * | key_map |
struct tls_tunables | tlst |
uint8_t | doorbells |
int | offload_map |
int | bt_map |
int | active_ulds |
int | flags |
int | debug_flags |
int | error_flags |
char | ifp_lockname [16] |
struct mtx | ifp_lock |
struct ifnet * | ifp |
struct ifmedia | media |
int | traceq |
int | tracer_valid |
int | tracer_enabled |
char | fw_version [16] |
char | tp_version [16] |
char | er_version [16] |
char | bs_version [16] |
char | cfg_file [32] |
u_int | cfcsum |
struct adapter_params | params |
const struct chip_params * | chip_params |
struct t4_virt_res | vres |
uint16_t | nbmcaps |
uint16_t | linkcaps |
uint16_t | switchcaps |
uint16_t | niccaps |
uint16_t | toecaps |
uint16_t | rdmacaps |
uint16_t | cryptocaps |
uint16_t | iscsicaps |
uint16_t | fcoecaps |
struct sysctl_ctx_list | ctx |
struct sysctl_oid * | ctrlq_oid |
struct sysctl_oid * | fwq_oid |
struct mtx | sc_lock |
char | lockname [16] |
struct mtx | sfl_lock |
struct callout | sfl_callout |
struct mtx | reg_lock |
struct memwin | memwin [NUM_MEMWIN] |
struct mtx | tc_lock |
struct task | tc_task |
struct task | fatal_error_task |
struct task | reset_task |
const void * | reset_thread |
int | num_resets |
int | incarnation |
const char * | last_op |
const void * | last_op_thr |
int | last_op_flags |
int | swintr |
int | sensor_resets |
struct callout | ktls_tick |
struct adapter::irq adapter::__aligned | ( | CACHE_LINE_SIZE | ) |
adapter::CXGBE_LIST_HEAD | ( | clip_entry | ) |
adapter::SLIST_ENTRY | ( | adapter | ) |
adapter::TAILQ_HEAD | ( | clip_entry | ) |
adapter::TAILQ_HEAD | ( | sge_fl | ) |
bus_space_handle_t adapter::bh |
Definition at line 875 of file adapter.h.
Referenced by t4_map_bars_0_and_4(), t4_read_reg(), t4_read_reg64(), t4_write_reg(), and t4_write_reg64().
char adapter::bs_version[16] |
Definition at line 955 of file adapter.h.
Referenced by get_params__pre_init(), and t4_sysctls().
bus_space_tag_t adapter::bt |
Definition at line 876 of file adapter.h.
Referenced by t4_map_bars_0_and_4(), t4_read_reg(), t4_read_reg64(), t4_write_reg(), and t4_write_reg64().
int adapter::bt_map |
Definition at line 938 of file adapter.h.
Referenced by t4_attach(), t4_link_l1cfg(), and t4_shutdown_adapter().
void* adapter::ccr_softc |
Definition at line 929 of file adapter.h.
Referenced by ccr_attach(), ccr_detach(), and do_cpl6_fw_pld().
struct cdev* adapter::cdev |
Definition at line 867 of file adapter.h.
Referenced by t4_attach(), t4_detach_common(), and t4vf_attach().
u_int adapter::cfcsum |
Definition at line 957 of file adapter.h.
Referenced by apply_cfg_and_initialize(), compare_caps_and_params(), contact_firmware(), save_caps_and_params(), and t4_sysctls().
char adapter::cfg_file[32] |
Definition at line 956 of file adapter.h.
Referenced by apply_cfg_and_initialize(), compare_caps_and_params(), contact_firmware(), save_caps_and_params(), and t4_sysctls().
uint8_t adapter::chan_map[MAX_NCHAN] |
Definition at line 913 of file adapter.h.
Referenced by cxgbe_refresh_stats(), set_sched_class_params(), t4_attach(), t4_get_tracer(), t4_resume(), and t4vf_attach().
const struct chip_params* adapter::chip_params |
Definition at line 959 of file adapter.h.
Referenced by alloc_iq_fl_hwq(), collect_cpl_stats(), collect_fcoe_stats(), collect_mps_tcam(), collect_rss(), collect_rss_vf_config(), collect_tp_err_stats(), collect_tx_rate(), fill_meminfo(), get_params__post_init(), set_sched_class_params(), sysctl_cim_ibq_obq(), sysctl_cim_qcfg(), sysctl_cpl_stats(), sysctl_fcoe_stats(), sysctl_lb_stats(), sysctl_meminfo(), sysctl_mps_tcam(), sysctl_mps_tcam_t6(), sysctl_tnl_stats(), sysctl_tp_err_stats(), sysctl_tx_rate(), t4_add_mac(), t4_alloc_mac_filt(), t4_change_mac(), t4_del_mac(), t4_free_mac_filt(), t4_get_chan_txrate(), t4_get_rx_e_chan_map(), t4_intr_clear(), t4_pmrx_get_stats(), t4_pmtx_get_stats(), t4_prep_adapter(), t4_read_cim_obq(), t4_read_cimq_cfg(), t4_read_rss(), t4_set_filter_cfg(), t4_tp_get_cpl_stats(), t4_tp_get_err_stats(), t4_tp_get_proxy_stats(), t4_tp_get_tnl_stats(), and t4vf_prep_adapter().
struct timeout_task adapter::clip_task |
Definition at line 919 of file adapter.h.
Referenced by t4_get_clip_entry(), and t4_release_clip_addr().
uint16_t adapter::cryptocaps |
Definition at line 968 of file adapter.h.
Referenced by ccr_identify(), get_params__post_init(), is_ktls(), max_rx_payload(), save_caps_and_params(), and set_params__post_init().
struct sysctl_oid* adapter::ctrlq_oid |
Definition at line 973 of file adapter.h.
Referenced by alloc_ctrlq(), and t4_attach().
struct sysctl_ctx_list adapter::ctx |
Definition at line 972 of file adapter.h.
Referenced by add_maddr(), alloc_ctrlq(), alloc_fwq(), alloc_iq_fl(), cxgbe_sysctls(), cxgbe_vi_attach(), t4_attach(), t4_detach_common(), t4_sysctls(), and t4vf_attach().
int adapter::debug_flags |
Definition at line 941 of file adapter.h.
Referenced by CH_DUMP_MBOX(), load_fw(), partition_resources(), t4_attach(), t4_fatal_err(), t4_intr_err(), t4_sysctls(), t4_tweak_chip_settings(), and t4vf_attach().
device_t adapter::dev |
Definition at line 866 of file adapter.h.
Referenced by adapter_full_init(), alloc_ctrlq(), apply_cfg_and_initialize(), c4iw_wait_for_reply(), calculate_iaq(), ccr_probe(), cfg_itype_and_nqueues(), CH_DUMP_MBOX(), contact_firmware(), copy_cfg_file_to_card(), cudbg_dump(), cxgbe_detach(), cxgbe_vi_attach(), delayed_panic(), dump_cim_regs(), dump_cimla(), dump_devlog(), get_params__post_init(), get_params__pre_init(), install_kld_firmware(), load_fw_module(), match_name(), partition_resources(), reset_adapter(), service_iq(), service_iq_fl(), set_params__pre_init(), setup_pad_and_pack_boundaries(), sysctl_cpus(), t4_alloc_irq(), t4_attach(), t4_create_dma_tag(), t4_fatal_err(), t4_free_irq(), t4_handle_wrerr_rpl(), t4_ifnet_unit(), t4_init_devnames(), t4_ioctl(), t4_map_bar_2(), t4_map_bars_0_and_4(), t4_os_find_pci_capability(), t4_os_pci_read_cfg1(), t4_os_pci_read_cfg2(), t4_os_pci_read_cfg4(), t4_os_pci_restore_state(), t4_os_pci_save_state(), t4_os_pci_write_cfg1(), t4_os_pci_write_cfg2(), t4_os_pci_write_cfg4(), t4_ready(), t4_reset_post(), t4_reset_prepare(), t4_resume(), t4_set_desc(), t4_setup_intr_handlers(), t4_suspend(), t4_sysctls(), t4_verify_chip_settings(), t4vf_attach(), t4vf_ioctl(), t4vf_prep_adapter(), vcxgbe_attach(), and vcxgbe_detach().
bus_dma_tag_t adapter::dmat |
Definition at line 900 of file adapter.h.
Referenced by alloc_ring(), t4_create_dma_tag(), and t4_destroy_dma_tag().
uint8_t adapter::doorbells |
Definition at line 936 of file adapter.h.
Referenced by alloc_eq_hwq(), alloc_iq_fl_hwq(), t4_map_bar_2(), t4_map_bars_0_and_4(), and t4_sysctls().
char adapter::er_version[16] |
Definition at line 954 of file adapter.h.
Referenced by get_params__pre_init(), and t4_sysctls().
int adapter::error_flags |
Definition at line 942 of file adapter.h.
Referenced by fatal_error_task(), hw_off_limits(), reset_adapter(), stop_adapter(), t4_fatal_err(), t4_intr_err(), t4_os_cim_err(), t4_resume(), and t4_suspend().
struct task adapter::fatal_error_task |
Definition at line 999 of file adapter.h.
Referenced by t4_attach(), and t4_fatal_err().
uint16_t adapter::fcoecaps |
Definition at line 970 of file adapter.h.
Referenced by save_caps_and_params().
int adapter::flags |
Definition at line 940 of file adapter.h.
Referenced by adapter_full_init(), adapter_full_uninit(), adapter_init(), add_to_txpkts_pf(), alloc_fwq(), alloc_iq_fl_hwq(), alloc_rxq(), alloc_txq(), apply_link_config(), begin_synchronized_op(), contact_firmware(), cxgbe_init_synchronized(), cxgbe_ioctl(), cxgbe_sysctls(), cxgbe_vi_attach(), del_filter(), doom_vi(), end_synchronized_op(), get_sge_context(), init_fl(), install_kld_firmware(), is_fw_attached(), load_fw(), ok_to_reset(), partition_resources(), read_vf_stat(), reset_adapter(), save_caps_and_params(), set_filter(), set_mbuf_iscsi_iso_flags(), sysctl_tc(), sysctl_tx_vm_wr(), t4_attach(), t4_detach_common(), t4_fw_halt(), t4_get_regs(), t4_get_regs_len(), t4_get_vi_stats(), t4_init_rx_buf_info(), t4_port_init(), t4_ready(), t4_resume(), t4_setup_adapter_queues(), t4_setup_intr_handlers(), t4_suspend(), t4_sysctls(), t4_teardown_adapter_queues(), t4_tweak_chip_settings(), t4_use_ldst(), t4_verify_chip_settings(), t4_wr_mbox_meat_timeout(), t4vf_attach(), update_mac_settings(), and vi_sysctls().
char adapter::fw_version[16] |
Definition at line 952 of file adapter.h.
Referenced by get_params__pre_init(), and t4_sysctls().
struct sysctl_oid* adapter::fwq_oid |
Definition at line 974 of file adapter.h.
Referenced by alloc_fwq(), and t4_attach().
struct ifnet* adapter::ifp |
Definition at line 946 of file adapter.h.
Referenced by t4_cloner_create(), t4_cloner_destroy(), t4_trace_pkt(), t4_tracer_port_detach(), and t5_trace_pkt().
struct mtx adapter::ifp_lock |
Definition at line 945 of file adapter.h.
Referenced by t4_attach(), t4_cloner_create(), t4_cloner_destroy(), t4_detach_common(), t4_trace_pkt(), t4_tracer_port_detach(), and t5_trace_pkt().
char adapter::ifp_lockname[16] |
Definition at line 944 of file adapter.h.
Referenced by t4_attach().
int adapter::incarnation |
Definition at line 1003 of file adapter.h.
Referenced by reset_adapter(), and t4_resume().
int adapter::intr_count |
Definition at line 889 of file adapter.h.
Referenced by alloc_fwq(), alloc_iq_fl_hwq(), forwarding_intr_to_fwq(), t4_attach(), t4_detach_common(), t4_intr_all(), t4_setup_intr_handlers(), and t4vf_attach().
int adapter::intr_type |
Definition at line 888 of file adapter.h.
Referenced by t4_attach(), t4_detach_common(), t4_intr_all(), t4_setup_intr_handlers(), and t4vf_attach().
uint16_t adapter::iscsicaps |
Definition at line 969 of file adapter.h.
Referenced by get_params__post_init(), and save_caps_and_params().
struct iw_tunables adapter::iwt |
Definition at line 927 of file adapter.h.
Referenced by t4_map_bar_2().
vmem_t* adapter::key_map |
Definition at line 933 of file adapter.h.
Referenced by t4_attach(), and t4_detach_common().
struct callout adapter::ktls_tick |
Definition at line 1012 of file adapter.h.
Referenced by t4_attach(), and t4_detach_common().
struct l2t_data* adapter::l2t |
Definition at line 930 of file adapter.h.
Referenced by sysctl_l2t(), t4_detach_common(), t4_init_l2t(), t4_l2t_alloc_switching(), and t4_l2t_alloc_tls().
const char* adapter::last_op |
Definition at line 1005 of file adapter.h.
Referenced by begin_synchronized_op(), and doom_vi().
int adapter::last_op_flags |
Definition at line 1007 of file adapter.h.
Referenced by begin_synchronized_op(), and doom_vi().
const void* adapter::last_op_thr |
Definition at line 1006 of file adapter.h.
Referenced by begin_synchronized_op(), and doom_vi().
uint16_t adapter::linkcaps |
Definition at line 963 of file adapter.h.
Referenced by save_caps_and_params().
char adapter::lockname[16] |
Definition at line 977 of file adapter.h.
Referenced by t4_attach(), and t4vf_attach().
int adapter::lro_timeout |
Definition at line 903 of file adapter.h.
Referenced by service_iq_fl(), and t4_sysctls().
unsigned int adapter::mbox |
Definition at line 883 of file adapter.h.
Referenced by add_maddr(), alloc_extra_vi(), alloc_iq_fl_hwq(), apply_cfg_and_initialize(), apply_link_config(), bind_txq_to_traffic_class(), collect_mps_tcam(), collect_tid(), contact_firmware(), ctrl_eq_alloc(), cxgbe_init_synchronized(), cxgbe_ioctl(), cxgbe_uninit_synchronized(), eth_eq_alloc(), free_eq_hwq(), free_iq_fl_hwq(), get_params__post_init(), get_params__pre_init(), get_sge_context(), install_kld_firmware(), read_filter_mode_and_ingress_config(), read_i2c(), read_sge_ctxt(), set_params__post_init(), set_params__pre_init(), sysctl_btphy(), sysctl_loadavg(), sysctl_mps_tcam(), sysctl_mps_tcam_t6(), sysctl_reset_sensor(), sysctl_temperature(), sysctl_vdd(), t4_alloc_encap_mac_filt(), t4_alloc_raw_mac_filt(), t4_attach(), t4_configure_add_smac(), t4_configure_ringbb(), t4_detach_common(), t4_free_encap_mac_filt(), t4_free_raw_mac_filt(), t4_fwcache(), t4_get_devlog_level(), t4_get_rx_c_chan(), t4_get_scfg_version(), t4_get_vpd_version(), t4_init_devlog_params(), t4_read_pcie_cfg4(), t4_resume(), t4_sched_config(), t4_sched_params(), t4_sched_params_ch_rl(), t4_sched_params_cl_rl_kbps(), t4_sched_params_cl_wrr(), t4_set_devlog_level(), t4_set_filter_cfg(), t4_set_vf_mac(), t4_set_vlan_acl(), t4_tp_fw_ldst_rw(), t4_update_port_info(), t4vf_attach(), t4vf_wr_mbox(), t5_fw_init_extern_mem(), update_mac_settings(), vcxgbe_attach(), vcxgbe_detach(), and vi_full_init().
struct ifmedia adapter::media |
Definition at line 947 of file adapter.h.
Referenced by t4_cloner_create(), t4_cloner_destroy(), t4_tracer_port_detach(), and tracer_ioctl().
struct memwin adapter::memwin[NUM_MEMWIN] |
Definition at line 994 of file adapter.h.
Referenced by position_memwin(), rw_via_memwin(), setup_memwin(), and t4_detach_common().
bus_size_t adapter::mmio_len |
Definition at line 877 of file adapter.h.
Referenced by t4_ioctl(), t4_map_bars_0_and_4(), and t4vf_ioctl().
struct resource* adapter::msix_res |
Definition at line 874 of file adapter.h.
Referenced by t4_detach_common(), and t4_map_bars_0_and_4().
int adapter::msix_rid |
Definition at line 873 of file adapter.h.
Referenced by t4_detach_common(), and t4_map_bars_0_and_4().
const struct devnames* adapter::names |
Definition at line 868 of file adapter.h.
Referenced by cxgbe_attach(), t4_attach(), t4_ifnet_unit(), t4_init_devnames(), and t4vf_attach().
uint16_t adapter::nbmcaps |
Definition at line 962 of file adapter.h.
Referenced by save_caps_and_params().
uint16_t adapter::niccaps |
Definition at line 965 of file adapter.h.
Referenced by get_params__post_init(), and save_caps_and_params().
int adapter::nrawf |
Definition at line 909 of file adapter.h.
Referenced by get_params__post_init(), save_caps_and_params(), t4_vxlan_start(), and t4_vxlan_stop().
int adapter::num_resets |
Definition at line 1002 of file adapter.h.
Referenced by reset_adapter(), and sysctl_reset().
struct adapter_params adapter::params |
Definition at line 958 of file adapter.h.
Referenced by add_eq_sysctls(), add_fl_sysctls(), alloc_eq(), alloc_eq_hwq(), alloc_iq_fl_hwq(), alloc_txq(), bind_txq_to_traffic_class(), calculate_iaq(), ccr_init_port(), cfg_itype_and_nqueues(), chan_rate(), check_fspec_against_fconf_iconf(), chip_id(), chip_rev(), clear_stats(), collect_cim_la(), collect_clk_info(), collect_fw_devlog(), collect_hw_sched(), collect_lb_stats(), collect_macstats(), collect_rss_config(), collect_vpd_data(), core_ticks_per_usec(), core_ticks_to_us(), ctrl_eq_alloc(), cudbg_collect(), cur_max_read_depth(), cxgbe_sysctls(), dack_ticks_to_usec(), eth_eq_alloc(), eth_rx(), fixup_devlog_params(), get_filter_mode(), get_params__post_init(), get_params__pre_init(), hashfilter_ntuple(), hwsz_ok(), init_eq(), init_fl(), init_iq(), is_ethoffload(), is_fpga(), is_hashfilter(), is_offload(), is_t4(), is_t5(), is_t6(), last_flit_to_ns(), max_rx_payload(), read_filter_mode_and_ingress_config(), read_i2c(), save_caps_and_params(), sbuf_cim_la(), sbuf_cim_la4(), sbuf_cim_la6(), sbuf_devlog(), set_filter(), set_filter_mask(), set_filter_mode(), set_offload_policy(), set_params__post_init(), set_params__pre_init(), set_sched_class_params(), set_tcamfilter(), setup_pad_and_pack_boundaries(), sysctl_bufsizes(), sysctl_cctrl(), sysctl_reset_sensor(), sysctl_tc(), sysctl_tp_la_mask(), sysctl_tx_vm_wr(), sysctl_vdd(), t4_add_mac(), t4_alloc_vi_func(), t4_attach(), t4_bar2_sge_qregs(), t4_change_mac(), t4_cim_read_la(), t4_configure_add_smac(), t4_filter_field_shift(), t4_flash_bootcfg_addr(), t4_flash_cfg_addr(), t4_flash_erase_sectors(), t4_get_flash_params(), t4_get_mps_bg_map(), t4_get_tx_sched(), t4_get_version_info(), t4_init_devlog_params(), t4_init_rx_buf_info(), t4_init_sge_params(), t4_init_tp_params(), t4_init_tx_sched(), t4_link_l1cfg(), t4_load_boot(), t4_load_bootcfg(), t4_load_cfg(), t4_load_fw(), t4_max_fr_depth(), t4_port_init(), t4_prep_adapter(), t4_read_flash(), t4_reserve_cl_rl_kbps(), t4_seeprom_read(), t4_seeprom_wait(), t4_seeprom_write(), t4_set_desc(), t4_set_filter_cfg(), t4_set_sched_bps(), t4_set_sched_queue(), t4_setup_intr_handlers(), t4_sge_sysctls(), t4_sysctls(), t4_tp_read_la(), t4_tweak_chip_settings(), t4_update_port_info(), t4_verify_chip_settings(), t4_write_flash(), t4vf_attach(), t4vf_get_rss_glb_config(), t4vf_get_sge_params(), t4vf_get_vfres(), t4vf_ioctl(), t4vf_prep_adapter(), tcp_ticks_to_us(), update_tx_sched(), us_to_core_ticks(), us_to_tcp_ticks(), and write_flash().
unsigned int adapter::pf |
Definition at line 882 of file adapter.h.
Referenced by alloc_extra_vi(), alloc_iq_fl_hwq(), alloc_txq(), apply_cfg_and_initialize(), bind_txq_to_traffic_class(), collect_rss_pf_config(), collect_tid(), contact_firmware(), ctrl_eq_alloc(), eth_eq_alloc(), free_eq_hwq(), free_iq_fl_hwq(), get_params__post_init(), get_params__pre_init(), position_memwin(), read_filter_mode_and_ingress_config(), set_params__post_init(), set_params__pre_init(), sysctl_loadavg(), sysctl_reset_sensor(), sysctl_temperature(), sysctl_tx_vm_wr(), sysctl_vdd(), t4_attach(), t4_configure_add_smac(), t4_configure_ringbb(), t4_detach_common(), t4_fwcache(), t4_get_rx_c_chan(), t4_get_scfg_version(), t4_get_vpd_version(), t4_hw_pci_read_cfg4(), t4_init_sge_params(), t4_intr_disable(), t4_intr_enable(), t4_read_pcie_cfg4(), t4_resume(), t4_set_filter_cfg(), t4_set_vlan_acl(), t4vf_attach(), t5_fw_init_extern_mem(), vcxgbe_attach(), and vcxgbe_detach().
struct t4_offload_policy* adapter::policy |
Definition at line 923 of file adapter.h.
Referenced by set_offload_policy(), t4_attach(), and t4_detach_common().
struct rwlock adapter::policy_lock |
Definition at line 924 of file adapter.h.
Referenced by set_offload_policy(), t4_attach(), and t4_detach_common().
struct port_info* adapter::port[MAX_NPORTS] |
Definition at line 912 of file adapter.h.
Referenced by adap2pinfo(), alloc_ctrlq(), alloc_fwq(), bind_txq_to_traffic_class(), ccr_init_port(), clear_stats(), enable_vxlan_rx(), ok_to_reset(), set_sched_class_params(), sysctl_tc_params(), t4_attach(), t4_child_location(), t4_detach_common(), t4_free_tx_sched(), t4_get_port_stats(), t4_init_tx_sched(), t4_read_port_device(), t4_release_cl_rl(), t4_reserve_cl_rl_kbps(), t4_resume(), t4_set_sched_queue(), t4_set_tracer(), t4_setup_intr_handlers(), t4_suspend(), t4vf_attach(), t4vf_ioctl(), and update_tx_sched().
int adapter::rawf_base |
Definition at line 908 of file adapter.h.
Referenced by enable_vxlan_rx(), get_params__post_init(), save_caps_and_params(), and update_mac_settings().
uint16_t adapter::rdmacaps |
Definition at line 967 of file adapter.h.
Referenced by get_params__post_init(), save_caps_and_params(), and t4_map_bar_2().
struct mtx adapter::reg_lock |
Definition at line 992 of file adapter.h.
Referenced by clear_stats(), cxgbe_refresh_stats(), get_filter_hits(), read_card_mem(), read_vf_stat(), sbuf_cim_la(), sbuf_devlog(), sysctl_cctrl(), sysctl_cim_ibq_obq(), sysctl_cim_ma_la(), sysctl_cim_pif_la(), sysctl_cim_qcfg(), sysctl_cpl_stats(), sysctl_ddp_stats(), sysctl_fcoe_stats(), sysctl_handle_t4_reg64(), sysctl_hw_sched(), sysctl_lb_stats(), sysctl_meminfo(), sysctl_mps_tcam(), sysctl_mps_tcam_t6(), sysctl_path_mtus(), sysctl_pm_stats(), sysctl_rdma_stats(), sysctl_tcp_stats(), sysctl_tid_stats(), sysctl_tids(), sysctl_tnl_stats(), sysctl_tp_err_stats(), sysctl_tp_la(), sysctl_tp_la_mask(), sysctl_tx_rate(), sysctl_ulprx_la(), sysctl_wcwr_stats(), t4_attach(), t4_detach_common(), t4_get_vi_stats(), t4_ioctl(), t4_resume(), t4_suspend(), and t4vf_attach().
struct resource* adapter::regs_res |
Definition at line 872 of file adapter.h.
Referenced by t4_detach_common(), and t4_map_bars_0_and_4().
int adapter::regs_rid |
Definition at line 871 of file adapter.h.
Referenced by t4_detach_common(), and t4_map_bars_0_and_4().
struct task adapter::reset_task |
Definition at line 1000 of file adapter.h.
Referenced by sysctl_reset(), and t4_attach().
const void* adapter::reset_thread |
Definition at line 1001 of file adapter.h.
Referenced by t4_os_pci_read_cfg1(), t4_os_pci_read_cfg2(), t4_os_pci_read_cfg4(), t4_os_pci_write_cfg1(), t4_os_pci_write_cfg2(), t4_os_pci_write_cfg4(), t4_read_reg(), t4_read_reg64(), t4_resume(), t4_suspend(), t4_write_reg(), and t4_write_reg64().
int adapter::sc_do_rxcopy |
Definition at line 904 of file adapter.h.
Referenced by get_scatter_segment(), and t4_sysctls().
struct mtx adapter::sc_lock |
Definition at line 976 of file adapter.h.
Referenced by begin_synchronized_op(), doom_vi(), t4_attach(), t4_detach_common(), and t4vf_attach().
int adapter::sensor_resets |
Definition at line 1010 of file adapter.h.
Referenced by sysctl_reset_sensor().
struct callout adapter::sfl_callout |
Definition at line 982 of file adapter.h.
Referenced by add_fl_to_sfl(), quiesce_iq_fl(), refill_sfl(), t4_attach(), t4_detach_common(), and t4vf_attach().
struct mtx adapter::sfl_lock |
Definition at line 980 of file adapter.h.
Referenced by add_fl_to_sfl(), quiesce_iq_fl(), refill_sfl(), t4_attach(), t4_detach_common(), and t4vf_attach().
struct sge adapter::sge |
Definition at line 902 of file adapter.h.
Referenced by add_txq_sysctls(), alloc_ctrlq(), alloc_fwq(), alloc_iq_fl_hwq(), alloc_rxq(), alloc_txq(), bufidx_used(), ccr_attach(), ccr_init_port(), clear_stats(), ctrl_eq_alloc(), cxgbe_init_synchronized(), cxgbe_transmit(), del_hashfilter(), del_tcamfilter(), eth_eq_alloc(), find_refill_source(), free_ctrlq(), free_fl_buffers(), free_fwq(), get_params__post_init(), get_scatter_segment(), get_segment_len(), handle_sge_egr_update(), init_fl(), mk_act_open_req(), mk_act_open_req6(), refill_fl(), save_caps_and_params(), service_iq(), set_hashfilter(), set_tcamfilter(), set_tcb_field(), skip_scatter_segment(), sysctl_tc(), t4_attach(), t4_del_hashfilter_rpl(), t4_detach_common(), t4_hashfilter_ao_rpl(), t4_hashfilter_tcb_rpl(), t4_init_rx_buf_info(), t4_intr_all(), t4_l2t_alloc_switching(), t4_l2t_alloc_tls(), t4_set_sched_queue(), t4_setup_intr_handlers(), t4_smt_set_switching(), t4_suspend(), t4_teardown_adapter_queues(), t4vf_attach(), and vi_full_init().
int adapter::sge_gts_reg |
Definition at line 897 of file adapter.h.
Referenced by alloc_iq_fl_hwq(), service_iq(), service_iq_fl(), t4_attach(), and t4vf_attach().
int adapter::sge_kdoorbell_reg |
Definition at line 898 of file adapter.h.
Referenced by ring_eq_db(), ring_fl_db(), t4_attach(), and t4vf_attach().
struct smt_data* adapter::smt |
Definition at line 931 of file adapter.h.
Referenced by do_smt_write_rpl(), set_filter(), sysctl_smt(), t4_detach_common(), t4_init_smt(), and t4_write_sme().
int adapter::swintr |
Definition at line 1009 of file adapter.h.
Referenced by t4_intr_err(), and t4_sysctls().
uint16_t adapter::switchcaps |
Definition at line 964 of file adapter.h.
Referenced by save_caps_and_params().
struct mtx adapter::tc_lock |
Definition at line 996 of file adapter.h.
Referenced by bind_txq_to_traffic_class(), set_sched_class_params(), sysctl_tc_params(), t4_free_tx_sched(), t4_init_tx_sched(), t4_release_cl_rl(), t4_reserve_cl_rl_kbps(), and update_tx_sched().
struct task adapter::tc_task |
Definition at line 997 of file adapter.h.
Referenced by t4_free_tx_sched(), t4_init_tx_sched(), and t4_update_tx_sched().
struct tid_info adapter::tids |
Definition at line 932 of file adapter.h.
Referenced by alloc_atid(), configure_hashfilter_tcb(), del_filter(), del_hashfilter(), del_tcamfilter(), free_atid(), get_hashfilter(), get_params__post_init(), get_tcamfilter(), insert_hf(), insert_hftid(), is_etid(), is_ftid(), is_hpftid(), lookup_atid(), lookup_hf(), lookup_hftid(), ok_to_reset(), remove_hf(), remove_hftid(), save_caps_and_params(), set_filter(), set_filter_mask(), set_filter_mode(), set_hashfilter(), set_tcamfilter(), sysctl_tids(), t4_del_hashfilter_rpl(), t4_detach_common(), t4_filter_rpl(), t4_free_atid_table(), t4_hashfilter_ao_rpl(), t4_hashfilter_tcb_rpl(), t4_init_atid_table(), and t4_sysctls().
struct tls_tunables adapter::tlst |
Definition at line 934 of file adapter.h.
Referenced by set_params__post_init(), and t4_sysctls().
uint16_t adapter::toecaps |
Definition at line 966 of file adapter.h.
Referenced by get_params__post_init(), save_caps_and_params(), and set_params__post_init().
char adapter::tp_version[16] |
Definition at line 953 of file adapter.h.
Referenced by get_params__pre_init(), and t4_sysctls().
struct taskqueue* adapter::tq[MAX_NCHAN] |
Definition at line 911 of file adapter.h.
Referenced by adapter_full_init(), adapter_full_uninit(), handle_eth_egr_update(), and handle_wrq_egr_update().
int adapter::traceq |
Definition at line 948 of file adapter.h.
Referenced by cxgbe_detach(), cxgbe_init_synchronized(), t4_attach(), and t4_cloner_create().
int adapter::tracer_enabled |
Definition at line 950 of file adapter.h.
Referenced by t4_set_tracer().
int adapter::tracer_valid |
Definition at line 949 of file adapter.h.
Referenced by t4_get_tracer(), and t4_set_tracer().
struct tom_tunables adapter::tt |
Definition at line 922 of file adapter.h.
Referenced by max_rx_payload(), t4_detach_common(), and t4_sysctls().
volatile uint8_t* adapter::udbs_base |
Definition at line 880 of file adapter.h.
Referenced by alloc_eq_hwq(), alloc_iq_fl_hwq(), and t4_map_bar_2().
struct resource* adapter::udbs_res |
Definition at line 879 of file adapter.h.
Referenced by t4_detach_common(), and t4_map_bar_2().
int adapter::udbs_rid |
Definition at line 878 of file adapter.h.
Referenced by t4_detach_common(), and t4_map_bar_2().
unsigned int adapter::vpd_busy |
Definition at line 884 of file adapter.h.
Referenced by t4_seeprom_read(), t4_seeprom_wait(), and t4_seeprom_write().
unsigned int adapter::vpd_flag |
Definition at line 885 of file adapter.h.
Referenced by t4_seeprom_read(), t4_seeprom_wait(), and t4_seeprom_write().
struct t4_virt_res adapter::vres |
Definition at line 960 of file adapter.h.
Referenced by c4iw_num_stags(), get_params__post_init(), mk_write_l2e(), save_caps_and_params(), sysctl_meminfo(), t4_attach(), t4_init_l2t(), and t4_verify_chip_settings().
int adapter::vxlan_port |
Definition at line 906 of file adapter.h.
Referenced by enable_vxlan_rx(), t4_vxlan_start(), and t4_vxlan_stop().
u_int adapter::vxlan_refcount |
Definition at line 907 of file adapter.h.
Referenced by t4_attach(), t4_resume(), t4_vxlan_start(), t4_vxlan_stop(), and update_mac_settings().