Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/vmware/vmxnet3/if_vmxvar.h
Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Lines | struct vmxnet3_txring { | ||||
bus_addr_t vxtxr_paddr; | bus_addr_t vxtxr_paddr; | ||||
}; | }; | ||||
struct vmxnet3_rxring { | struct vmxnet3_rxring { | ||||
struct vmxnet3_rxdesc *vxrxr_rxd; | struct vmxnet3_rxdesc *vxrxr_rxd; | ||||
u_int vxrxr_ndesc; | u_int vxrxr_ndesc; | ||||
int vxrxr_gen; | int vxrxr_gen; | ||||
bus_addr_t vxrxr_paddr; | bus_addr_t vxrxr_paddr; | ||||
uint64_t vxrxr_desc_skips; | |||||
uint16_t vxrxr_refill_start; | |||||
}; | }; | ||||
struct vmxnet3_comp_ring { | struct vmxnet3_comp_ring { | ||||
union { | union { | ||||
struct vmxnet3_txcompdesc *txcd; | struct vmxnet3_txcompdesc *txcd; | ||||
struct vmxnet3_rxcompdesc *rxcd; | struct vmxnet3_rxcompdesc *rxcd; | ||||
} vxcr_u; | } vxcr_u; | ||||
/* | /* | ||||
* vxcr_next is used on the transmit side to track the next index to | * vxcr_next is used on the transmit side to track the next index to | ||||
* begin cleaning at. It is not used on the receive side. | * begin cleaning at. It is not used on the receive side. | ||||
*/ | */ | ||||
u_int vxcr_next; | u_int vxcr_next; | ||||
u_int vxcr_ndesc; | u_int vxcr_ndesc; | ||||
int vxcr_gen; | int vxcr_gen; | ||||
bus_addr_t vxcr_paddr; | bus_addr_t vxcr_paddr; | ||||
uint64_t vxcr_zero_length; | |||||
uint64_t vxcr_pkt_errors; | |||||
}; | }; | ||||
struct vmxnet3_txqueue { | struct vmxnet3_txqueue { | ||||
struct vmxnet3_softc *vxtxq_sc; | struct vmxnet3_softc *vxtxq_sc; | ||||
int vxtxq_id; | int vxtxq_id; | ||||
int vxtxq_last_flush; | int vxtxq_last_flush; | ||||
int vxtxq_intr_idx; | int vxtxq_intr_idx; | ||||
struct vmxnet3_txring vxtxq_cmd_ring; | struct vmxnet3_txring vxtxq_cmd_ring; | ||||
▲ Show 20 Lines • Show All 107 Lines • Show Last 20 Lines |