]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qede: Refactor statistics gathering
authorMintz, Yuval <Yuval.Mintz@cavium.com>
Tue, 29 Nov 2016 14:47:03 +0000 (16:47 +0200)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 6 Mar 2017 05:00:15 +0000 (21:00 -0800)
commite1e8f694ede68cab934dd480df6ca55a11f29c12
treef386a536e803041c228f1517565e8acf25a6ffef
parent657cb7273ff7e39ca0f09d7709b1c4b05105a6ae
qede: Refactor statistics gathering

Orabug: 25477939

Refactor logic for gathering statistics into a per-queue function.
This improves readability of the driver statistics' flows.

In addition, this would be required by the XDP forwarding queues
[as we'll need the Txq statistics gathering methods for those as well].

Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 4dbcd6400244a073f579665a957c6c56c99cc3b6)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/qlogic/qede/qede_ethtool.c