mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
igc: disable hw.igc.sbp
Similar to 548d8a131d in e1000, disable this by default.
Sponsored by: BBOX.io
(cherry picked from commit e80419da6cef3fb6ea1902bd9a250ca21072a42c)
This commit is contained in:
parent
04965972d0
commit
37742ec74d
1 changed files with 2 additions and 2 deletions
|
|
@ -252,7 +252,7 @@ SYSCTL_INT(_hw_igc, OID_AUTO, smart_pwr_down, CTLFLAG_RDTUN,
|
|||
0, "Set to true to leave smart power down enabled on newer adapters");
|
||||
|
||||
/* Controls whether promiscuous also shows bad packets */
|
||||
static int igc_debug_sbp = true;
|
||||
static int igc_debug_sbp = false;
|
||||
SYSCTL_INT(_hw_igc, OID_AUTO, sbp, CTLFLAG_RDTUN, &igc_debug_sbp, 0,
|
||||
"Show bad packets in promiscuous mode");
|
||||
|
||||
|
|
@ -1351,7 +1351,7 @@ igc_if_multi_set(if_ctx_t ctx)
|
|||
if_getflags(ifp) & IFF_ALLMULTI) {
|
||||
reg_rctl |= IGC_RCTL_MPE;
|
||||
reg_rctl &= ~IGC_RCTL_UPE;
|
||||
} else
|
||||
} else
|
||||
reg_rctl &= ~(IGC_RCTL_UPE | IGC_RCTL_MPE);
|
||||
|
||||
if (mcnt < MAX_NUM_MULTICAST_ADDRESSES)
|
||||
|
|
|
|||
Loading…
Reference in a new issue