git: 5577aa338a67 - main - iavf(4): Include RSS header file when RSS is defined
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 03 Dec 2021 20:05:49 UTC
The branch main has been updated by erj:
URL: https://cgit.FreeBSD.org/src/commit/?id=5577aa338a675f2a465a58356894fbe24ba20407
commit 5577aa338a675f2a465a58356894fbe24ba20407
Author: Eric Joyner <erj@FreeBSD.org>
AuthorDate: 2021-12-03 20:02:42 +0000
Commit: Eric Joyner <erj@FreeBSD.org>
CommitDate: 2021-12-03 20:02:42 +0000
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
---
sys/dev/iavf/iavf_lib.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sys/dev/iavf/iavf_lib.h b/sys/dev/iavf/iavf_lib.h
index e49af93c2228..b57299a4eaa6 100644
--- a/sys/dev/iavf/iavf_lib.h
+++ b/sys/dev/iavf/iavf_lib.h
@@ -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"