> On Sep 16, 2016, at 4:05 PM, Jiri Pirko <j...@resnulli.us> wrote: > > From: Nogah Frankel <nog...@mellanox.com> > > 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 <nog...@mellanox.com> > Signed-off-by: Jiri Pirko <j...@mellanox.com> > --- > include/uapi/linux/if_link.h | 9 ++++ > net/core/rtnetlink.c | 111 +++++++++++++++++++++++++++++++++++++++++-- > 2 files changed, 116 insertions(+), 4 deletions(-) > >
Acked-by: Nikolay Aleksandrov <niko...@cumulusnetworks.com>