commit | a135e598c463baf9497b84e1e92f9a8f96d3521c | [log] [tgz] |
---|---|---|
author | Hiroaki SHIMODA <shimoda.hiroaki@gmail.com> | Sun Mar 02 17:30:26 2014 +0900 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 03 15:43:47 2014 -0500 |
tree | 4debda792d5839b458ad562553616ce73b9f860f | |
parent | 677676cd584033a47974c3634c6c9235e14db1a4 [diff] |
sch_tbf: Remove holes in struct tbf_sched_data. On x86_64 we have 3 holes in struct tbf_sched_data. The member peak_present can be replaced with peak.rate_bytes_ps, because peak.rate_bytes_ps is set only when peak is specified in tbf_change(). tbf_peak_present() is introduced to test peak.rate_bytes_ps. The member max_size is moved to fill 32bit hole. Signed-off-by: Hiroaki SHIMODA <shimoda.hiroaki@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>