diff options
author | Kevin Bowling <kbowling@FreeBSD.org> | 2021-04-15 16:48:41 +0000 |
---|---|---|
committer | Kevin Bowling <kbowling@FreeBSD.org> | 2021-05-18 07:42:59 +0000 |
commit | 135a6b5652f24f9979ad4a74d45943887f78e898 (patch) | |
tree | 806f614a80df3034c547ed6f380c450fc8ad7600 | |
parent | 7200fdb9da3ac04ef8e577c947969a0ba8d69128 (diff) | |
download | src-135a6b5652f24f9979ad4a74d45943887f78e898.tar.gz src-135a6b5652f24f9979ad4a74d45943887f78e898.zip |
e1000: disable hw.em.sbp debug setting
This is a debugging tunable that shouldn't have retained this setting
after the initial iflib conversion of the driver
PR: 248934
Reported by: Franco Fichtner <franco@opnsense.org>
Reviewed by: markj
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D29768
(cherry picked from commit 548d8a131d536d5f8e0818ff8cff7ffd63dbedfe)
-rw-r--r-- | sys/dev/e1000/if_em.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c index 27f498cd3d46..584fd29f6125 100644 --- a/sys/dev/e1000/if_em.c +++ b/sys/dev/e1000/if_em.c @@ -509,7 +509,7 @@ SYSCTL_INT(_hw_em, OID_AUTO, smart_pwr_down, CTLFLAG_RDTUN, &em_smart_pwr_down, 0, "Set to true to leave smart power down enabled on newer adapters"); /* Controls whether promiscuous also shows bad packets */ -static int em_debug_sbp = TRUE; +static int em_debug_sbp = FALSE; SYSCTL_INT(_hw_em, OID_AUTO, sbp, CTLFLAG_RDTUN, &em_debug_sbp, 0, "Show bad packets in promiscuous mode"); |