Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/cxgbe/adapter.h
Show First 20 Lines • Show All 231 Lines • ▼ Show 20 Lines | struct vi_info { | ||||
int ofld_tmr_idx; | int ofld_tmr_idx; | ||||
int pktc_idx; | int pktc_idx; | ||||
int ofld_pktc_idx; | int ofld_pktc_idx; | ||||
int qsize_rxq; | int qsize_rxq; | ||||
int qsize_txq; | int qsize_txq; | ||||
struct timeval last_refreshed; | struct timeval last_refreshed; | ||||
struct fw_vi_stats_vf stats; | struct fw_vi_stats_vf stats; | ||||
struct mtx tick_mtx; | |||||
struct callout tick; | struct callout tick; | ||||
struct sysctl_ctx_list ctx; /* from ifconfig up to driver detach */ | struct sysctl_ctx_list ctx; /* from ifconfig up to driver detach */ | ||||
uint8_t hw_addr[ETHER_ADDR_LEN]; /* factory MAC address, won't change */ | uint8_t hw_addr[ETHER_ADDR_LEN]; /* factory MAC address, won't change */ | ||||
}; | }; | ||||
struct tx_ch_rl_params { | struct tx_ch_rl_params { | ||||
enum fw_sched_params_rate ratemode; /* %port (REL) or kbps (ABS) */ | enum fw_sched_params_rate ratemode; /* %port (REL) or kbps (ABS) */ | ||||
uint32_t maxrate; | uint32_t maxrate; | ||||
▲ Show 20 Lines • Show All 61 Lines • ▼ Show 20 Lines | struct port_info { | ||||
struct ifmedia media; | struct ifmedia media; | ||||
struct timeval last_refreshed; | struct timeval last_refreshed; | ||||
struct port_stats stats; | struct port_stats stats; | ||||
u_int tnl_cong_drops; | u_int tnl_cong_drops; | ||||
u_int tx_parse_error; | u_int tx_parse_error; | ||||
int fcs_reg; | int fcs_reg; | ||||
uint64_t fcs_base; | uint64_t fcs_base; | ||||
struct callout tick; | |||||
}; | }; | ||||
#define IS_MAIN_VI(vi) ((vi) == &((vi)->pi->vi[0])) | #define IS_MAIN_VI(vi) ((vi) == &((vi)->pi->vi[0])) | ||||
struct cluster_metadata { | struct cluster_metadata { | ||||
uma_zone_t zone; | uma_zone_t zone; | ||||
caddr_t cl; | caddr_t cl; | ||||
u_int refcount; | u_int refcount; | ||||
▲ Show 20 Lines • Show All 1,085 Lines • Show Last 20 Lines |