NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/56319 CVS commit: src/sys/altq



The following reply was made to PR kern/56319; it has been noted by GNATS.

From: "Ryota Ozaki" <ozaki-r%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/56319 CVS commit: src/sys/altq
Date: Wed, 21 Jul 2021 06:33:30 +0000

 Module Name:	src
 Committed By:	ozaki-r
 Date:		Wed Jul 21 06:33:30 UTC 2021
 
 Modified Files:
 	src/sys/altq: altq_cbq.c altq_cbq.h altq_rmclass.c altq_rmclass.h
 
 Log Message:
 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
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.34 -r1.35 src/sys/altq/altq_cbq.c
 cvs rdiff -u -r1.8 -r1.9 src/sys/altq/altq_cbq.h
 cvs rdiff -u -r1.24 -r1.25 src/sys/altq/altq_rmclass.c
 cvs rdiff -u -r1.9 -r1.10 src/sys/altq/altq_rmclass.h
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index