aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Bowling <kbowling@FreeBSD.org>2024-11-24 21:08:54 +0000
committerKevin Bowling <kbowling@FreeBSD.org>2024-11-24 21:08:54 +0000
commite80419da6cef3fb6ea1902bd9a250ca21072a42c (patch)
tree7a01755f1202b396d11e3149e9020a8affb165b7
parent0347ddf41f4226c0351d2d1d78f09e8300ebac93 (diff)
igc: disable hw.igc.sbp
Similar to 548d8a131d536d5f in e1000, disable this by default. MFC after: 3 days Sponsored by: BBOX.io
-rw-r--r--sys/dev/igc/if_igc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/igc/if_igc.c b/sys/dev/igc/if_igc.c
index 5356a6e87a5b..154c25a5a624 100644
--- a/sys/dev/igc/if_igc.c
+++ b/sys/dev/igc/if_igc.c
@@ -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)