FreeBSD kernel CXGBE device code
|
#include <adapter.h>
Data Fields | |
device_t | dev |
struct port_info * | pi |
struct adapter * | adapter |
struct ifnet * | ifp |
struct pfil_head * | pfil |
unsigned long | flags |
int | if_flags |
uint16_t * | rss |
uint16_t * | nm_rss |
uint16_t | viid |
uint16_t | smt_idx |
uint16_t | vin |
uint8_t | vfvld |
int16_t | xact_addr_filt |
uint16_t | rss_size |
uint16_t | rss_base |
int | hashen |
int | nintr |
int | first_intr |
int | ntxq |
int | first_txq |
int | rsrv_noflowq |
int | nrxq |
int | first_rxq |
int | nofldtxq |
int | first_ofld_txq |
int | nofldrxq |
int | first_ofld_rxq |
int | nnmtxq |
int | first_nm_txq |
int | nnmrxq |
int | first_nm_rxq |
int | tmr_idx |
int | ofld_tmr_idx |
int | pktc_idx |
int | ofld_pktc_idx |
int | qsize_rxq |
int | qsize_txq |
struct timeval | last_refreshed |
struct fw_vi_stats_vf | stats |
struct mtx | tick_mtx |
struct callout | tick |
struct sysctl_ctx_list | ctx |
struct sysctl_oid * | rxq_oid |
struct sysctl_oid * | txq_oid |
struct sysctl_oid * | nm_rxq_oid |
struct sysctl_oid * | nm_txq_oid |
struct sysctl_oid * | ofld_rxq_oid |
struct sysctl_oid * | ofld_txq_oid |
uint8_t | hw_addr [ETHER_ADDR_LEN] |
struct adapter* vi_info::adapter |
Definition at line 201 of file adapter.h.
Referenced by add_txq_sysctls(), alloc_iq_fl(), alloc_iq_fl_hwq(), alloc_rxq(), alloc_txq(), cxgbe_init(), cxgbe_refresh_stats(), cxgbe_transmit(), cxgbe_vi_attach(), eth_tx(), free_rxq(), free_txq(), quiesce_vi(), sysctl_holdoff_pktc_idx(), sysctl_holdoff_tmr_idx(), sysctl_qsize_rxq(), sysctl_qsize_txq(), sysctl_tc(), sysctl_tx_vm_wr(), t4_attach(), t4_setup_vi_queues(), t4_update_fl_bufsize(), t4vf_attach(), vcxgbe_detach(), vi_full_init(), vi_init(), vi_refresh_stats(), and vi_sysctls().
struct sysctl_ctx_list vi_info::ctx |
Definition at line 248 of file adapter.h.
Referenced by add_maddr(), alloc_rxq(), alloc_txq(), cxgbe_vi_attach(), cxgbe_vi_detach(), and vi_sysctls().
device_t vi_info::dev |
Definition at line 199 of file adapter.h.
Referenced by alloc_extra_vi(), alloc_rxq(), alloc_txq(), cxgbe_attach(), cxgbe_vi_attach(), eth_eq_alloc(), t4_attach(), t4_resume(), t4vf_attach(), vcxgbe_probe(), and vi_sysctls().
int vi_info::first_intr |
Definition at line 220 of file adapter.h.
Referenced by t4_attach(), t4_setup_intr_handlers(), and t4_setup_vi_queues().
int vi_info::first_nm_rxq |
Definition at line 235 of file adapter.h.
Referenced by t4_attach(), t4_setup_intr_handlers(), t4_setup_vi_queues(), and vi_sysctls().
int vi_info::first_nm_txq |
Definition at line 233 of file adapter.h.
Referenced by t4_attach(), and vi_sysctls().
int vi_info::first_ofld_rxq |
Definition at line 231 of file adapter.h.
Referenced by t4_attach(), and vi_sysctls().
int vi_info::first_ofld_txq |
Definition at line 229 of file adapter.h.
Referenced by t4_attach(), and vi_sysctls().
int vi_info::first_rxq |
Definition at line 227 of file adapter.h.
Referenced by alloc_txq(), ccr_init_port(), cxgbe_init_synchronized(), t4_attach(), t4_setup_intr_handlers(), t4vf_attach(), vi_full_init(), and vi_sysctls().
int vi_info::first_txq |
Definition at line 224 of file adapter.h.
Referenced by cxgbe_transmit(), sysctl_tc(), t4_attach(), t4_set_sched_queue(), t4vf_attach(), and vi_sysctls().
unsigned long vi_info::flags |
Definition at line 206 of file adapter.h.
Referenced by alloc_txq(), clear_stats(), cxgbe_get_counter(), cxgbe_init_synchronized(), cxgbe_ioctl(), cxgbe_qflush(), cxgbe_refresh_stats(), cxgbe_transmit(), cxgbe_uninit_synchronized(), cxgbe_vi_attach(), eth_tx(), quiesce_vi(), sysctl_holdoff_pktc_idx(), sysctl_qsize_rxq(), sysctl_qsize_txq(), sysctl_tx_vm_wr(), t4_resume(), t4_set_sched_queue(), t4_suspend(), t4vf_ioctl(), vi_full_uninit(), vi_get_counter(), vi_init(), vi_refresh_stats(), and vi_sysctls().
int vi_info::hashen |
Definition at line 217 of file adapter.h.
Referenced by vi_full_init().
uint8_t vi_info::hw_addr[ETHER_ADDR_LEN] |
Definition at line 256 of file adapter.h.
Referenced by alloc_extra_vi(), cxgbe_vi_attach(), and t4_os_set_hw_addr().
int vi_info::if_flags |
Definition at line 207 of file adapter.h.
Referenced by cxgbe_ioctl().
struct ifnet* vi_info::ifp |
Definition at line 203 of file adapter.h.
Referenced by alloc_rxq(), alloc_txq(), cxgbe_init_synchronized(), cxgbe_uninit_synchronized(), cxgbe_vi_attach(), cxgbe_vi_detach(), ok_to_reset(), set_sched_class_params(), sysctl_tx_vm_wr(), t4_os_link_changed(), t4_os_portmod_changed(), t4_reserve_cl_rl_kbps(), t4_resume(), t4_setup_vi_queues(), t4_suspend(), and t4_teardown_vi_queues().
struct timeval vi_info::last_refreshed |
Definition at line 243 of file adapter.h.
Referenced by cxgbe_refresh_stats(), and vi_refresh_stats().
int vi_info::nintr |
Definition at line 219 of file adapter.h.
Referenced by t4_setup_intr_handlers().
uint16_t * vi_info::nm_rss |
Definition at line 209 of file adapter.h.
Referenced by vi_full_uninit().
struct sysctl_oid* vi_info::nm_rxq_oid |
Definition at line 251 of file adapter.h.
Referenced by cxgbe_vi_attach().
struct sysctl_oid* vi_info::nm_txq_oid |
Definition at line 252 of file adapter.h.
Referenced by cxgbe_vi_attach().
int vi_info::nnmrxq |
Definition at line 234 of file adapter.h.
Referenced by cxgbe_vi_attach(), t4_attach(), t4_setup_intr_handlers(), t4_setup_vi_queues(), and vi_sysctls().
int vi_info::nnmtxq |
Definition at line 232 of file adapter.h.
Referenced by cxgbe_vi_attach(), t4_attach(), and vi_sysctls().
int vi_info::nofldrxq |
Definition at line 230 of file adapter.h.
Referenced by cxgbe_vi_attach(), t4_attach(), and vi_sysctls().
int vi_info::nofldtxq |
Definition at line 228 of file adapter.h.
Referenced by cxgbe_vi_attach(), t4_attach(), and vi_sysctls().
int vi_info::nrxq |
Definition at line 226 of file adapter.h.
Referenced by alloc_txq(), cxgbe_vi_attach(), t4_attach(), t4_setup_intr_handlers(), t4_setup_vi_queues(), t4vf_attach(), vi_full_init(), and vi_sysctls().
int vi_info::ntxq |
Definition at line 223 of file adapter.h.
Referenced by cxgbe_transmit(), cxgbe_vi_attach(), sysctl_noflowq(), sysctl_tc(), t4_attach(), t4_set_sched_queue(), t4vf_attach(), and vi_sysctls().
int vi_info::ofld_pktc_idx |
Definition at line 239 of file adapter.h.
Referenced by t4_attach().
struct sysctl_oid* vi_info::ofld_rxq_oid |
Definition at line 253 of file adapter.h.
Referenced by cxgbe_vi_attach().
int vi_info::ofld_tmr_idx |
Definition at line 237 of file adapter.h.
Referenced by t4_attach().
struct sysctl_oid* vi_info::ofld_txq_oid |
Definition at line 254 of file adapter.h.
Referenced by cxgbe_vi_attach().
struct pfil_head* vi_info::pfil |
Definition at line 204 of file adapter.h.
Referenced by cxgbe_vi_attach(), cxgbe_vi_detach(), and eth_rx().
struct port_info* vi_info::pi |
Definition at line 200 of file adapter.h.
Referenced by add_maddr(), alloc_extra_vi(), alloc_iq_fl_hwq(), alloc_rxq(), alloc_txq(), cxgbe_attach(), cxgbe_get_counter(), cxgbe_init_synchronized(), cxgbe_ioctl(), cxgbe_media_change(), cxgbe_media_status(), cxgbe_refresh_stats(), cxgbe_transmit(), cxgbe_uninit_synchronized(), cxgbe_vi_attach(), ok_to_reset(), sysctl_tx_vm_wr(), t4_attach(), t4vf_attach(), t4vf_ioctl(), update_mac_settings(), vcxgbe_attach(), and vcxgbe_probe().
int vi_info::pktc_idx |
Definition at line 238 of file adapter.h.
Referenced by alloc_rxq(), sysctl_holdoff_pktc_idx(), sysctl_holdoff_tmr_idx(), t4_attach(), and t4vf_attach().
int vi_info::qsize_rxq |
Definition at line 240 of file adapter.h.
Referenced by alloc_rxq(), sysctl_qsize_rxq(), t4_attach(), and t4vf_attach().
int vi_info::qsize_txq |
Definition at line 241 of file adapter.h.
Referenced by alloc_txq(), sysctl_qsize_txq(), t4_attach(), and t4vf_attach().
int vi_info::rsrv_noflowq |
Definition at line 225 of file adapter.h.
Referenced by cxgbe_transmit(), sysctl_noflowq(), t4_attach(), and t4vf_attach().
uint16_t* vi_info::rss |
Definition at line 209 of file adapter.h.
Referenced by vi_full_init(), and vi_full_uninit().
uint16_t vi_info::rss_base |
Definition at line 216 of file adapter.h.
Referenced by alloc_extra_vi(), t4_port_init(), and vi_sysctls().
uint16_t vi_info::rss_size |
Definition at line 215 of file adapter.h.
Referenced by alloc_extra_vi(), t4_port_init(), vi_full_init(), and vi_sysctls().
struct sysctl_oid* vi_info::rxq_oid |
Definition at line 249 of file adapter.h.
Referenced by alloc_rxq(), and cxgbe_vi_attach().
uint16_t vi_info::smt_idx |
Definition at line 211 of file adapter.h.
Referenced by update_mac_settings().
struct fw_vi_stats_vf vi_info::stats |
Definition at line 244 of file adapter.h.
Referenced by vi_get_counter(), and vi_refresh_stats().
struct callout vi_info::tick |
Definition at line 246 of file adapter.h.
Referenced by cxgbe_init_synchronized(), cxgbe_tick(), cxgbe_uninit_synchronized(), cxgbe_vi_attach(), cxgbe_vi_detach(), t4_resume(), t4_suspend(), and vi_tick().
struct mtx vi_info::tick_mtx |
Definition at line 245 of file adapter.h.
Referenced by cxgbe_get_counter(), cxgbe_init_synchronized(), cxgbe_refresh_stats(), cxgbe_tick(), cxgbe_uninit_synchronized(), cxgbe_vi_attach(), t4_resume(), t4_suspend(), vi_get_counter(), vi_refresh_stats(), and vi_tick().
int vi_info::tmr_idx |
Definition at line 236 of file adapter.h.
Referenced by alloc_rxq(), sysctl_holdoff_tmr_idx(), t4_attach(), and t4vf_attach().
struct sysctl_oid* vi_info::txq_oid |
Definition at line 250 of file adapter.h.
Referenced by alloc_txq(), and cxgbe_vi_attach().
uint8_t vi_info::vfvld |
Definition at line 213 of file adapter.h.
Referenced by alloc_extra_vi(), alloc_txq(), sysctl_tx_vm_wr(), and t4_port_init().
uint16_t vi_info::viid |
Definition at line 210 of file adapter.h.
Referenced by add_maddr(), alloc_extra_vi(), alloc_iq_fl_hwq(), cxgbe_init_synchronized(), cxgbe_uninit_synchronized(), enable_vxlan_rx(), eth_eq_alloc(), t4_detach_common(), t4_port_init(), t4_resume(), update_mac_settings(), vcxgbe_attach(), vcxgbe_detach(), vi_full_init(), and vi_sysctls().
uint16_t vi_info::vin |
Definition at line 212 of file adapter.h.
Referenced by alloc_extra_vi(), alloc_txq(), clear_stats(), sysctl_tx_vm_wr(), t4_port_init(), and vi_refresh_stats().
int16_t vi_info::xact_addr_filt |
Definition at line 214 of file adapter.h.
Referenced by cxgbe_vi_attach(), t4_suspend(), and update_mac_settings().