On Sep 16, 2016, at 4:05 PM, Jiri Pirko [off-list ref] wrote:
From: Nogah Frankel <redacted>
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 <redacted>
Signed-off-by: Jiri Pirko <redacted>
---
include/uapi/linux/if_link.h | 9 ++++
net/core/rtnetlink.c | 111 +++++++++++++++++++++++++++++++++++++++++--
2 files changed, 116 insertions(+), 4 deletions(-)
Acked-by: Nikolay Aleksandrov <redacted>