summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorLuiz Otavio O Souza <luiz@netgate.com>2016-02-25 15:27:08 -0600
committerLuiz Otavio O Souza <luiz@netgate.com>2016-02-25 15:27:08 -0600
commit688c4468121e29d145ce14d2cde0ffabedb95ae6 (patch)
tree3ff92384cd0562e7d8e75a990092766b41e6b7f4 /sys/dev
parentbf84078177d30933ed730b4ff0d86b51a5de5d36 (diff)
downloadFreeBSD-src-688c4468121e29d145ce14d2cde0ffabedb95ae6.zip
FreeBSD-src-688c4468121e29d145ce14d2cde0ffabedb95ae6.tar.gz
Fix the build, there is no RSS support in stable/10.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ixgbe/if_ix.c2
-rw-r--r--sys/dev/ixgbe/ix_txrx.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/ixgbe/if_ix.c b/sys/dev/ixgbe/if_ix.c
index 5e64989..40bb849 100644
--- a/sys/dev/ixgbe/if_ix.c
+++ b/sys/dev/ixgbe/if_ix.c
@@ -36,8 +36,10 @@
#ifndef IXGBE_STANDALONE_BUILD
#include "opt_inet.h"
#include "opt_inet6.h"
+#ifdef RSS
#include "opt_rss.h"
#endif
+#endif
#include "ixgbe.h"
diff --git a/sys/dev/ixgbe/ix_txrx.c b/sys/dev/ixgbe/ix_txrx.c
index cd8ec92..8c311c1 100644
--- a/sys/dev/ixgbe/ix_txrx.c
+++ b/sys/dev/ixgbe/ix_txrx.c
@@ -36,8 +36,10 @@
#ifndef IXGBE_STANDALONE_BUILD
#include "opt_inet.h"
#include "opt_inet6.h"
+#ifdef RSS
#include "opt_rss.h"
#endif
+#endif
#include "ixgbe.h"
OpenPOWER on IntegriCloud