Actions
Bug #4635
closeddladm show-ether doesn't display 2.5G links properly
Start date:
2014-02-26
Due date:
% Done:
0%
Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
Description
With using dladm show-ether with 2.5G links, instead of showing 2500M for the speed (or 2.5G), the utility rounds to 2G. This is incorrect.
The code at fault is here, in libdladm/libdlether.c:
if (speed >= 1000) {
speed = speed/1000;
speed_unit = 'G';
} else {
speed_unit = 'M';
}
I'll attach some screenshots (can't cut-and-paste because this isn't on a nice routable network, its over an IPMI connection).
Files
Related issues
Updated by Garrett D'Amore over 8 years ago
- File screencap.jpg screencap.jpg added
Updated by Yuri Pankov over 6 years ago
- Status changed from New to Feedback
- Assignee set to Garrett D'Amore
Garrett, looks like you fixed this in #6329?
Updated by Garrett D'Amore over 6 years ago
- Status changed from Feedback to Closed
Closing as a dup. (Or rather the other was a dup of this one, but we committed using the other bug id.)
Actions