Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/ixgbe/ixgbe.h
Show First 20 Lines • Show All 333 Lines • ▼ Show 20 Lines | |||||
/* | /* | ||||
* Driver queue struct: this is the interrupt container | * Driver queue struct: this is the interrupt container | ||||
* for the associated tx and rx ring. | * for the associated tx and rx ring. | ||||
*/ | */ | ||||
struct ix_rx_queue { | struct ix_rx_queue { | ||||
struct adapter *adapter; | struct adapter *adapter; | ||||
u32 msix; /* This queue's MSIX vector */ | u32 msix; /* This queue's MSIX vector */ | ||||
u32 eims; /* This queue's EIMS bit */ | |||||
u32 eitr_setting; | u32 eitr_setting; | ||||
struct resource *res; | struct resource *res; | ||||
void *tag; | void *tag; | ||||
int busy; | int busy; | ||||
struct rx_ring rxr; | struct rx_ring rxr; | ||||
struct if_irq que_irq; | struct if_irq que_irq; | ||||
u64 irqs; | u64 irqs; | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 86 Lines • ▼ Show 20 Lines | #define intr_type shared->isc_intr | ||||
/* | /* | ||||
* Queues: | * Queues: | ||||
* This is the irq holder, it has | * This is the irq holder, it has | ||||
* and RX/TX pair or rings associated | * and RX/TX pair or rings associated | ||||
* with it. | * with it. | ||||
*/ | */ | ||||
struct ix_tx_queue *tx_queues; | struct ix_tx_queue *tx_queues; | ||||
struct ix_rx_queue *rx_queues; | struct ix_rx_queue *rx_queues; | ||||
u64 active_queues; | |||||
/* Multicast array memory */ | /* Multicast array memory */ | ||||
struct ixgbe_mc_addr *mta; | struct ixgbe_mc_addr *mta; | ||||
/* SR-IOV */ | /* SR-IOV */ | ||||
int iov_mode; | int iov_mode; | ||||
int num_vfs; | int num_vfs; | ||||
int pool; | int pool; | ||||
▲ Show 20 Lines • Show All 132 Lines • Show Last 20 Lines |