summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuiz Otavio O Souza <luiz@netgate.com>2017-01-30 00:17:30 -0600
committerLuiz Souza <luiz@netgate.com>2017-07-17 19:29:32 -0500
commit7122a0a6d08b29e28766e14a54b51c08510dd949 (patch)
treeacf26d3371229dcd61e3dceb597fbe7fa0aadf3d
parentad33aae9e768d5cc109d5830881677d5f62134d8 (diff)
downloadFreeBSD-src-7122a0a6d08b29e28766e14a54b51c08510dd949.zip
FreeBSD-src-7122a0a6d08b29e28766e14a54b51c08510dd949.tar.gz
Enable the VMXNET3_LEGACY_TX support when the kernel is built with ALTQ support.
Ticket #7066 (cherry picked from commit 91384809a74dc98ef0d2a173718bd79bd77c13bb)
-rw-r--r--sys/dev/vmware/vmxnet3/if_vmxvar.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/vmware/vmxnet3/if_vmxvar.h b/sys/dev/vmware/vmxnet3/if_vmxvar.h
index 8613516..7c15c6f 100644
--- a/sys/dev/vmware/vmxnet3/if_vmxvar.h
+++ b/sys/dev/vmware/vmxnet3/if_vmxvar.h
@@ -20,6 +20,10 @@
#ifndef _IF_VMXVAR_H
#define _IF_VMXVAR_H
+#ifdef ALTQ
+#define VMXNET3_TX_LEGACY
+#endif
+
struct vmxnet3_softc;
struct vmxnet3_dma_alloc {
OpenPOWER on IntegriCloud