Author: erj
Date: Tue Sep 15 21:00:25 2020
New Revision: 365774
URL: https://svnweb.freebsd.org/changeset/base/365774

Log:
  igb(4): Fix define and includes with RSS option enabled
  
  This re-adds the opt_rss.h header to the driver and includes some
  RSS-specific headers when RSS is defined.
  
  PR:           249191
  Submitted by: Milosz Kaniewski <milosz.kaniew...@gmail.com>
  MFC after:    3 days

Modified:
  head/sys/dev/e1000/if_em.h

Modified: head/sys/dev/e1000/if_em.h
==============================================================================
--- head/sys/dev/e1000/if_em.h  Tue Sep 15 20:56:14 2020        (r365773)
+++ head/sys/dev/e1000/if_em.h  Tue Sep 15 21:00:25 2020        (r365774)
@@ -30,6 +30,7 @@
 #include "opt_ddb.h"
 #include "opt_inet.h"
 #include "opt_inet6.h"
+#include "opt_rss.h"
 
 #ifdef HAVE_KERNEL_OPTION_HEADERS
 #include "opt_device_polling.h"
@@ -69,6 +70,10 @@
 #include <net/if_dl.h>
 #include <net/if_media.h>
 #include <net/iflib.h>
+#ifdef RSS
+#include <net/rss_config.h>
+#include <netinet/in_rss.h>
+#endif
 
 #include <net/if_types.h>
 #include <net/if_vlan_var.h>
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to