Date: Tue, 15 Sep 2020 21:00:26 +0000 (UTC) From: Eric Joyner <erj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r365774 - head/sys/dev/e1000 Message-ID: <202009152100.08FL0Q3x016124@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: erj Date: Tue Sep 15 21:00:25 2020 New Revision: 365774 URL: https://svnweb.freebsd.org/changeset/base/365774 Log: igb(4): Fix define and includes with RSS option enabled This re-adds the opt_rss.h header to the driver and includes some RSS-specific headers when RSS is defined. PR: 249191 Submitted by: Milosz Kaniewski <milosz.kaniewski@gmail.com> MFC after: 3 days Modified: head/sys/dev/e1000/if_em.h Modified: head/sys/dev/e1000/if_em.h ============================================================================== --- head/sys/dev/e1000/if_em.h Tue Sep 15 20:56:14 2020 (r365773) +++ head/sys/dev/e1000/if_em.h Tue Sep 15 21:00:25 2020 (r365774) @@ -30,6 +30,7 @@ #include "opt_ddb.h" #include "opt_inet.h" #include "opt_inet6.h" +#include "opt_rss.h" #ifdef HAVE_KERNEL_OPTION_HEADERS #include "opt_device_polling.h" @@ -69,6 +70,10 @@ #include <net/if_dl.h> #include <net/if_media.h> #include <net/iflib.h> +#ifdef RSS +#include <net/rss_config.h> +#include <netinet/in_rss.h> +#endif #include <net/if_types.h> #include <net/if_vlan_var.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009152100.08FL0Q3x016124>