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

(cherry picked from commit 5577aa338a)
This commit is contained in:
Eric Joyner 2021-12-03 12:02:42 -08:00
parent 794a0fa5ad
commit fe95a05a07
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"