virtio: enable VTNET_LEGACY_TX when ALTQ is enabled.
ALTQ only works on network drivers which use if_start (rather than if_transmit). vtnet uses if_start if built with VTNET_LEGACY_TX. Default to that the kernel is built with ALTQ enabled, to reduce user surprise. MFC after: 1 week Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
728958fb1b
commit
5afe81a7b2
@ -31,6 +31,10 @@
|
||||
#ifndef _IF_VTNETVAR_H
|
||||
#define _IF_VTNETVAR_H
|
||||
|
||||
#ifdef ALTQ
|
||||
#define VTNET_LEGACY_TX
|
||||
#endif
|
||||
|
||||
struct vtnet_softc;
|
||||
|
||||
struct vtnet_statistics {
|
||||
|
Loading…
Reference in New Issue
Block a user