diff options
author | David S. Miller <davem@davemloft.net> | 2017-01-17 14:38:44 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-17 14:38:44 -0500 |
commit | e60a42635b764b56ae23c5fd8d36aac27c30f0ae (patch) | |
tree | e398b583d3fb116607b78a79337c2e3be5203cbe /drivers/net/ethernet/emulex | |
parent | 55f78fcdd88c6298933645b74c32ce3788bed7eb (diff) | |
parent | 27d691056bde4a6feca5e83fd92b787332c46302 (diff) | |
download | linux-e60a42635b764b56ae23c5fd8d36aac27c30f0ae.tar.bz2 |
Merge branch 'mpls-packet-stats'
Robert Shearman says:
====================
mpls: Packet stats
This patchset records per-interface packet stats in the MPLS
forwarding path and exports them using a nest of attributes root at a
new IFLA_STATS_AF_SPEC attribute as part of RTM_GETSTATS messages:
[IFLA_STATS_AF_SPEC]
-> [AF_MPLS]
-> [MPLS_STATS_LINK]
-> struct mpls_link_stats
The first patch adds the rtnl infrastructure for this, including a new
callbacks to per-AF ops of fill_stats_af and get_stats_af_size. The
second patch records MPLS stats and makes use of the infrastructure to
export them. The rtnl infrastructure could also be used to export IPv6
stats in the future.
Changes in v2:
- make incrementing IPv6 stats in mpls_stats_inc_outucastpkts
conditional on CONFIG_IPV6 to fix build with CONFIG_IPV6=n
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/emulex')
0 files changed, 0 insertions, 0 deletions