This should unbreak the kernel build when "options RSS" is
defined in the kernel configuration, and make the feature work.
Signed-off-by: Eric Joyner <erj@FreeBSD.org>
Reported by: adrian@
Sponsored by: Intel Corporation
(cherry picked from commit
5577aa338a675f2a465a58356894fbe24ba20407)
#include <sys/malloc.h>
#include <machine/stdarg.h>
#include <sys/sysctl.h>
+#ifdef RSS
+#include <net/rss_config.h>
+#endif
#include "iavf_debug.h"
#include "iavf_osdep.h"