kni: remove stats from private struct
authorStephen Hemminger <stephen@networkplumber.org>
Mon, 24 Jun 2019 16:47:08 +0000 (09:47 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 15 Jul 2019 17:13:52 +0000 (19:13 +0200)
commit2d62049d1b642fdf7ec336914c953367ec8c2eb9
treefe850f794c2b3f201855ae5c1118d5ab3301e2fb
parente842379fb543907eedc2de5f7820518c127af18d
kni: remove stats from private struct

Since kernel 2.6.28 the network subsystem has provided
dev->stats for devices to use statistics handling and is the
default if no ndo_get_stats is provided.

This allow allows for 64 bit (rather than just 32 bit)
statistics with KNI.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
kernel/linux/kni/kni_dev.h
kernel/linux/kni/kni_net.c