From 467515a494489b3a8e396ff3f751fc1e5242d3db Mon Sep 17 00:00:00 2001 From: Eric Joyner Date: Tue, 15 Sep 2020 21:00:25 +0000 Subject: [PATCH] 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 MFC after: 3 days --- sys/dev/e1000/if_em.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys/dev/e1000/if_em.h b/sys/dev/e1000/if_em.h index 0bb662c73aa..edcab167816 100644 --- a/sys/dev/e1000/if_em.h +++ b/sys/dev/e1000/if_em.h @@ -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 #include #include +#ifdef RSS +#include +#include +#endif #include #include