aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ixl/ixl.h
diff options
context:
space:
mode:
authorSean Bruno <sbruno@FreeBSD.org>2016-08-08 18:57:50 +0000
committerSean Bruno <sbruno@FreeBSD.org>2016-08-08 18:57:50 +0000
commitf7c739848591279483efb836eee09574bdaa017c (patch)
tree7cb817a1f92792fda360291ae469986f88f28652 /sys/dev/ixl/ixl.h
parentb055e3be51d83aaa5929d95a218bc86aea36a1ef (diff)
downloadsrc-f7c739848591279483efb836eee09574bdaa017c.tar.gz
src-f7c739848591279483efb836eee09574bdaa017c.zip
Fixup ixl(4) options parsing to actually compile when using RSS/PCBGROUP
in GENERIC. Fixup #ifdef RSS code blocks so that they build and add/delete variables that were missesd during the creation of this code. This code is untested and should have a big red warning on it. Reported by: npn@ MFC after: 2 days
Notes
Notes: svn path=/head/; revision=303847
Diffstat (limited to 'sys/dev/ixl/ixl.h')
-rw-r--r--sys/dev/ixl/ixl.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/dev/ixl/ixl.h b/sys/dev/ixl/ixl.h
index 4c6b8b837205..bfb708a709f5 100644
--- a/sys/dev/ixl/ixl.h
+++ b/sys/dev/ixl/ixl.h
@@ -36,6 +36,10 @@
#ifndef _IXL_H_
#define _IXL_H_
+#include "opt_inet.h"
+#include "opt_inet6.h"
+#include "opt_rss.h"
+
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/buf_ring.h>
@@ -93,12 +97,9 @@
#ifdef RSS
#include <net/rss_config.h>
+#include <netinet/in_rss.h>
#endif
-#include "opt_inet.h"
-#include "opt_inet6.h"
-#include "opt_rss.h"
-
#include "i40e_type.h"
#include "i40e_prototype.h"