Date: Tue, 8 Mar 2022 00:21:34 GMT From: Eric Joyner <erj@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: fe95a05a07ae - stable/13 - iavf(4): Include RSS header file when RSS is defined Message-ID: <202203080021.2280LY7M072641@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by erj: URL: https://cgit.FreeBSD.org/src/commit/?id=fe95a05a07aedf352b1877c9a562de23a2b81f8e commit fe95a05a07aedf352b1877c9a562de23a2b81f8e Author: Eric Joyner <erj@FreeBSD.org> AuthorDate: 2021-12-03 20:02:42 +0000 Commit: Eric Joyner <erj@FreeBSD.org> CommitDate: 2022-03-08 00:00:31 +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 (cherry picked from commit 5577aa338a675f2a465a58356894fbe24ba20407) --- 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203080021.2280LY7M072641>