Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/virtio/network/if_vtnetvar.h
Show First 20 Lines • Show All 200 Lines • ▼ Show 20 Lines | |||||
vtnet_software_lro(struct vtnet_softc *sc) | vtnet_software_lro(struct vtnet_softc *sc) | ||||
{ | { | ||||
return ((sc->vtnet_flags & VTNET_FLAG_SW_LRO) != 0); | return ((sc->vtnet_flags & VTNET_FLAG_SW_LRO) != 0); | ||||
} | } | ||||
/* | /* | ||||
* Maximum number of queue pairs we will autoconfigure to. | * Maximum number of queue pairs we will autoconfigure to. | ||||
*/ | */ | ||||
#define VTNET_MAX_QUEUE_PAIRS 8 | #define VTNET_MAX_QUEUE_PAIRS 32 | ||||
/* | /* | ||||
* Additional completed entries can appear in a virtqueue before we can | * Additional completed entries can appear in a virtqueue before we can | ||||
* reenable interrupts. Number of times to retry before scheduling the | * reenable interrupts. Number of times to retry before scheduling the | ||||
* taskqueue to process the completed entries. | * taskqueue to process the completed entries. | ||||
*/ | */ | ||||
#define VTNET_INTR_DISABLE_RETRIES 4 | #define VTNET_INTR_DISABLE_RETRIES 4 | ||||
▲ Show 20 Lines • Show All 173 Lines • Show Last 20 Lines |