rtnl_tc: add TCA_STATS_BASIC_HW
* xlat/rtnl_tca_stats_attrs.in (TCA_STATS_BASIC_HW): New constant, introduced by Linux commit v4.20-rc1~14^2~274^2~1. * rtnl_tc.c (tca_stats_nla_decoders): Add TCA_STATS_BASIC_HW. * NEWS: Mention this. Co-Authored-by: Dmitry V. Levin <ldv@altlinux.org>
This commit is contained in:
parent
6b662a84b4
commit
2a750e9a9f
2
NEWS
2
NEWS
@ -23,7 +23,7 @@ Noteworthy changes in release ?.?? (????-??-??)
|
||||
* Enhanced decoding of getsockopt SO_ERROR option.
|
||||
* Enhanced error diagnostics when the first exec fails.
|
||||
* Added %net as a short form of %network in syscall specifications.
|
||||
* Updated lists of FAN_*, IFLA_*, NETLINK_*, and SOL_* constants.
|
||||
* Updated lists of FAN_*, IFLA_*, NETLINK_*, SOL_*, and TCA_* constants.
|
||||
* Enhanced manual page.
|
||||
|
||||
* Bug fixes
|
||||
|
@ -173,6 +173,7 @@ static const nla_decoder_t tca_stats_nla_decoders[] = {
|
||||
[TCA_STATS_APP] = NULL, /* unimplemented */
|
||||
[TCA_STATS_RATE_EST64] = decode_gnet_stats_rate_est64,
|
||||
[TCA_STATS_PAD] = NULL,
|
||||
[TCA_STATS_BASIC_HW] = decode_gnet_stats_basic,
|
||||
};
|
||||
|
||||
bool
|
||||
|
@ -5,3 +5,4 @@ TCA_STATS_QUEUE 3
|
||||
TCA_STATS_APP 4
|
||||
TCA_STATS_RATE_EST64 5
|
||||
TCA_STATS_PAD 6
|
||||
TCA_STATS_BASIC_HW 7
|
||||
|
Loading…
x
Reference in New Issue
Block a user