kern/176027: flow control systcl consistency for em drivers
Olivier Cochard-Labbe
olivier at cochard.me
Mon Feb 11 11:50:03 UTC 2013
>Number: 176027
>Category: kern
>Synopsis: flow control systcl consistency for em drivers
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Feb 11 11:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Olivier Cochard-Labbe
>Release: 9.1-RELEASE
>Organization:
BSD Router Project
>Environment:
>Description:
On my systems em(4) flow control can be configured with:
dev.em.0.fc (if chipset depends of if_em.c)
or
dev.em.0.flow_control (if chipset depends of if_lem.c)
For more consistency (but a POLA?), here is a small patch for if_lem.c that replace 'flow_control' usage by 'fc' usage.
>How-To-Repeat:
>Fix:
Applying the patch.
Patch attached with submission follows:
--- sys/dev/e1000/if_lem.c.orig 2013-02-11 10:21:00.000000000 +0100
+++ sys/dev/e1000/if_lem.c 2013-02-11 10:21:20.000000000 +0100
@@ -458,7 +458,7 @@
#endif
/* Sysctl for setting the interface flow control */
- lem_set_flow_cntrl(adapter, "flow_control",
+ lem_set_flow_cntrl(adapter, "fc",
"flow control setting",
&adapter->fc_setting, lem_fc_setting);
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list