iavf(4): Include RSS header file when RSS is defined

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
This commit is contained in:
Eric Joyner 2021-12-03 12:02:42 -08:00
parent dfd00261c9
commit 5577aa338a
No known key found for this signature in database
GPG Key ID: 96F0C6FD61E05DE3

View File

@ -43,6 +43,9 @@
#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"