diff options
author | Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> | 2018-03-22 11:43:05 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2018-03-23 22:08:22 +0100 |
commit | 4a788fcf63920769be3428d5c61eaa6f09d5291a (patch) | |
tree | ca058fc94ebfa157bdb7a898fcd25bbc34f04826 /include | |
parent | c9154c270a147dd92617e6ae3b07e56da68489aa (diff) | |
download | upstream-4a788fcf63920769be3428d5c61eaa6f09d5291a.tar.gz upstream-4a788fcf63920769be3428d5c61eaa6f09d5291a.tar.bz2 upstream-4a788fcf63920769be3428d5c61eaa6f09d5291a.zip |
iproute2: cake: support new overhead reporting & stats structures
Cake in kernel space now splits stats structure handling across netlink
messages to reduce stack usage issue flagged by upstream kernel checks.
Update user space (tc) qdisc handling to understand this new regime.
Cake also reports packet overheads & compensation in a different way so
add display code for this. e.g.
'tc -s qdisc show dev eth0' reports this extra detail:
min/max transport layer size: 28 / 1500
min/max overhead-adjusted size: 65 / 1550
average transport hdr offset: 14
Cake also supports output in JSON format.
Patch is bulkier than before because a (slightly out of date - see above
stats) man page is included for reference. Better than nothing!
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions