]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvneta: introduce mvneta_update_stats routine
authorLorenzo Bianconi <lorenzo@kernel.org>
Sat, 19 Oct 2019 08:13:21 +0000 (10:13 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Oct 2019 17:36:07 +0000 (10:36 -0700)
commitc8828cfbaff0b34831f255d32fa23d1a77e3fa05
treee015b728217d6aaf30849bd650428b80d0ea4dc2
parent67b6bf402a9b83bdd1708f8f69321f3b71bf9bdc
net: mvneta: introduce mvneta_update_stats routine

Introduce mvneta_update_stats routine to collect {rx/tx} statistics
(packets and bytes). This is a preliminary patch to add XDP support to
mvneta driver

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvneta.c