Yijing Zeng e7d4c060a9 dcb: fix tc-maxrate unit conversions
The ieee_maxrate UAPI is defined as kbps, but dcb_maxrate uses Bps.
This fix patch converts Bps to kbps for parse by dividing 125,
and convert kbps to Bps for print_rate() by multiplying 125.

Fixes: 117939d9bd89 ("dcb: Add a subtool for the DCB maxrate object")
Signed-off-by: Yijing Zeng <yijingzeng@meta.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
2025-10-21 15:06:14 -07:00
..
2020-11-29 20:39:47 +00:00
2023-06-28 16:31:33 -07:00
2023-06-09 15:44:04 -06:00
2023-06-09 15:44:07 -06:00