commit | 69ae6ad2ff37911903a90256e216d7e7ae460002 | [log] [tgz] |
---|---|---|
author | Nogah Frankel <nogahf@mellanox.com> | Fri Sep 16 15:05:37 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sun Sep 18 22:33:42 2016 -0400 |
tree | 4038b1ed59cb479202f666f619946d03eafbb2ec | |
parent | 2c9d85d4d82d9e0a62aad08bf50650804e68ed30 [diff] |
net: core: Add offload stats to if_stats_msg Add a nested attribute of offload stats to if_stats_msg named IFLA_STATS_LINK_OFFLOAD_XSTATS. Under it, add SW stats, meaning stats only per packets that went via slowpath to the cpu, named IFLA_OFFLOAD_XSTATS_CPU_HIT. Signed-off-by: Nogah Frankel <nogahf@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Acked-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>