Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/bnxt/bnxt.h
Show First 20 Lines • Show All 555 Lines • ▼ Show 20 Lines | struct bnxt_softc { | ||||
struct ifmedia *media; | struct ifmedia *media; | ||||
struct bnxt_bar_info hwrm_bar; | struct bnxt_bar_info hwrm_bar; | ||||
struct bnxt_bar_info doorbell_bar; | struct bnxt_bar_info doorbell_bar; | ||||
struct bnxt_link_info link_info; | struct bnxt_link_info link_info; | ||||
#define BNXT_FLAG_VF 0x0001 | #define BNXT_FLAG_VF 0x0001 | ||||
#define BNXT_FLAG_NPAR 0x0002 | #define BNXT_FLAG_NPAR 0x0002 | ||||
#define BNXT_FLAG_WOL_CAP 0x0004 | #define BNXT_FLAG_WOL_CAP 0x0004 | ||||
#define BNXT_FLAG_SHORT_CMD 0x0008 | |||||
uint32_t flags; | uint32_t flags; | ||||
uint32_t total_msix; | uint32_t total_msix; | ||||
struct bnxt_func_info func; | struct bnxt_func_info func; | ||||
struct bnxt_func_qcfg fn_qcfg; | struct bnxt_func_qcfg fn_qcfg; | ||||
struct bnxt_pf_info pf; | struct bnxt_pf_info pf; | ||||
struct bnxt_vf_info vf; | struct bnxt_vf_info vf; | ||||
uint16_t hwrm_cmd_seq; | uint16_t hwrm_cmd_seq; | ||||
uint32_t hwrm_cmd_timeo; /* milliseconds */ | uint32_t hwrm_cmd_timeo; /* milliseconds */ | ||||
struct iflib_dma_info hwrm_cmd_resp; | struct iflib_dma_info hwrm_cmd_resp; | ||||
struct iflib_dma_info hwrm_short_cmd_req_addr; | |||||
/* Interrupt info for HWRM */ | /* Interrupt info for HWRM */ | ||||
struct if_irq irq; | struct if_irq irq; | ||||
struct mtx hwrm_lock; | struct mtx hwrm_lock; | ||||
uint16_t hwrm_max_req_len; | uint16_t hwrm_max_req_len; | ||||
#define BNXT_MAX_QUEUE 8 | #define BNXT_MAX_QUEUE 8 | ||||
uint8_t max_tc; | uint8_t max_tc; | ||||
struct bnxt_cos_queue q_info[BNXT_MAX_QUEUE]; | struct bnxt_cos_queue q_info[BNXT_MAX_QUEUE]; | ||||
▲ Show 20 Lines • Show All 87 Lines • Show Last 20 Lines |