Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Dec 2021 20:05:49 GMT
From:      Eric Joyner <erj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 5577aa338a67 - main - iavf(4): Include RSS header file when RSS is defined
Message-ID:  <202112032005.1B3K5nqO098437@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112032005.1B3K5nqO098437>