FreeBSD kernel CXGBE device code
vi_info Struct Reference

#include <adapter.h>

Collaboration diagram for vi_info:

Data Fields

device_t dev
 
struct port_infopi
 
struct adapteradapter
 
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]
 

Detailed Description

Definition at line 198 of file adapter.h.

Field Documentation

◆ adapter

◆ ctx

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().

◆ dev

◆ first_intr

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().

◆ first_nm_rxq

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().

◆ first_nm_txq

int vi_info::first_nm_txq

Definition at line 233 of file adapter.h.

Referenced by t4_attach(), and vi_sysctls().

◆ first_ofld_rxq

int vi_info::first_ofld_rxq

Definition at line 231 of file adapter.h.

Referenced by t4_attach(), and vi_sysctls().

◆ first_ofld_txq

int vi_info::first_ofld_txq

Definition at line 229 of file adapter.h.

Referenced by t4_attach(), and vi_sysctls().

◆ first_rxq

◆ first_txq

int vi_info::first_txq

◆ flags

◆ hashen

int vi_info::hashen

Definition at line 217 of file adapter.h.

Referenced by vi_full_init().

◆ hw_addr

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().

◆ if_flags

int vi_info::if_flags

Definition at line 207 of file adapter.h.

Referenced by cxgbe_ioctl().

◆ ifp

◆ last_refreshed

struct timeval vi_info::last_refreshed

Definition at line 243 of file adapter.h.

Referenced by cxgbe_refresh_stats(), and vi_refresh_stats().

◆ nintr

int vi_info::nintr

Definition at line 219 of file adapter.h.

Referenced by t4_setup_intr_handlers().

◆ nm_rss

uint16_t * vi_info::nm_rss

Definition at line 209 of file adapter.h.

Referenced by vi_full_uninit().

◆ nm_rxq_oid

struct sysctl_oid* vi_info::nm_rxq_oid

Definition at line 251 of file adapter.h.

Referenced by cxgbe_vi_attach().

◆ nm_txq_oid

struct sysctl_oid* vi_info::nm_txq_oid

Definition at line 252 of file adapter.h.

Referenced by cxgbe_vi_attach().

◆ nnmrxq

int vi_info::nnmrxq

◆ nnmtxq

int vi_info::nnmtxq

Definition at line 232 of file adapter.h.

Referenced by cxgbe_vi_attach(), t4_attach(), and vi_sysctls().

◆ nofldrxq

int vi_info::nofldrxq

Definition at line 230 of file adapter.h.

Referenced by cxgbe_vi_attach(), t4_attach(), and vi_sysctls().

◆ nofldtxq

int vi_info::nofldtxq

Definition at line 228 of file adapter.h.

Referenced by cxgbe_vi_attach(), t4_attach(), and vi_sysctls().

◆ nrxq

◆ ntxq

◆ ofld_pktc_idx

int vi_info::ofld_pktc_idx

Definition at line 239 of file adapter.h.

Referenced by t4_attach().

◆ ofld_rxq_oid

struct sysctl_oid* vi_info::ofld_rxq_oid

Definition at line 253 of file adapter.h.

Referenced by cxgbe_vi_attach().

◆ ofld_tmr_idx

int vi_info::ofld_tmr_idx

Definition at line 237 of file adapter.h.

Referenced by t4_attach().

◆ ofld_txq_oid

struct sysctl_oid* vi_info::ofld_txq_oid

Definition at line 254 of file adapter.h.

Referenced by cxgbe_vi_attach().

◆ pfil

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().

◆ pi

◆ pktc_idx

int vi_info::pktc_idx

◆ qsize_rxq

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().

◆ qsize_txq

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().

◆ rsrv_noflowq

int vi_info::rsrv_noflowq

Definition at line 225 of file adapter.h.

Referenced by cxgbe_transmit(), sysctl_noflowq(), t4_attach(), and t4vf_attach().

◆ rss

uint16_t* vi_info::rss

Definition at line 209 of file adapter.h.

Referenced by vi_full_init(), and vi_full_uninit().

◆ rss_base

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().

◆ rss_size

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().

◆ rxq_oid

struct sysctl_oid* vi_info::rxq_oid

Definition at line 249 of file adapter.h.

Referenced by alloc_rxq(), and cxgbe_vi_attach().

◆ smt_idx

uint16_t vi_info::smt_idx

Definition at line 211 of file adapter.h.

Referenced by update_mac_settings().

◆ stats

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().

◆ tick

◆ tick_mtx

◆ tmr_idx

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().

◆ txq_oid

struct sysctl_oid* vi_info::txq_oid

Definition at line 250 of file adapter.h.

Referenced by alloc_txq(), and cxgbe_vi_attach().

◆ vfvld

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().

◆ viid

◆ vin

uint16_t vi_info::vin

◆ xact_addr_filt

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().


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