--- - branch: MAIN date: Wed Jul 21 06:33:30 UTC 2021 files: - new: '1.35' old: '1.34' path: src/sys/altq/altq_cbq.c pathrev: src/sys/altq/altq_cbq.c@1.35 type: modified - new: '1.9' old: '1.8' path: src/sys/altq/altq_cbq.h pathrev: src/sys/altq/altq_cbq.h@1.9 type: modified - new: '1.25' old: '1.24' path: src/sys/altq/altq_rmclass.c pathrev: src/sys/altq/altq_rmclass.c@1.25 type: modified - new: '1.10' old: '1.9' path: src/sys/altq/altq_rmclass.h pathrev: src/sys/altq/altq_rmclass.h@1.10 type: modified id: 20210721T063330Z.ce76b323c3e53c9253f95a61aeb72dd8321b01eb log: | altq, cbq: convert ns_per_byte to ps_per_byte Also the type of variables of it is changed to u_long from int. This change provides fine-grain resolution of bandwidth. For example 750 Mbps was treated as 800 Mbps internally because bandwidth was represented as nanoseconds per byte. Converting the representation to picoseconds per byte enables to treat 750 Mbps as-is. PR kern/56319 module: src subject: 'CVS commit: src/sys/altq' unixtime: '1626849210' user: ozaki-r