Created attachment 217819 [details] Proposed patch Hi, after an upgrade from 11-STABLE to 12.1-RELEASE the RSS on my IGB NICs stopped to work properly. After investigation I found out that macro "RSS" is not defined when sys/dev/e1000/if_em.c is compiled even if "option RSS" is placed in the kernel config file. Please see the proposed fix in the attachment.
A commit references this bug: Author: erj Date: Tue Sep 15 21:00:26 UTC 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 Changes: head/sys/dev/e1000/if_em.h
A commit references this bug: Author: erj Date: Mon Sep 21 22:52:58 UTC 2020 New revision: 365983 URL: https://svnweb.freebsd.org/changeset/base/365983 Log: MFC r365774 and r365776 These two commits fix issues in em(4)/igb(4): - Fix define and includes with RSS option enabled - Properly retain promisc flag in init PR: 249191, 248869 MFC after: 1 day Changes: _U stable/12/ stable/12/sys/dev/e1000/if_em.c stable/12/sys/dev/e1000/if_em.h
A commit references this bug: Author: erj Date: Wed Sep 23 23:56:50 UTC 2020 New revision: 366097 URL: https://svnweb.freebsd.org/changeset/base/366097 Log: MFS r365983 Contains fixes for issues in em(4)/igb(4): - Fix define and includes with RSS option enabled - Properly retain promisc flag in init PR: 249191, 248869 Approved by: re (gjb@) Changes: _U releng/12.2/ releng/12.2/sys/dev/e1000/if_em.c releng/12.2/sys/dev/e1000/if_em.h
Thanks for the patch, Milosz.