]> git.baikalelectronics.ru Git - kernel.git/commit
nfp: abm: switch to extended stats for reading packet/byte counts
authorJakub Kicinski <jakub.kicinski@netronome.com>
Mon, 19 Nov 2018 23:21:40 +0000 (15:21 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Nov 2018 02:53:45 +0000 (18:53 -0800)
commitac3d2805800488d7cdace3dfa75ba38558875a8d
treee4ca6fafba860d974b38263660d2db862c7b4a68
parent3dc9b0420cbd11a56a16a37a278671d6b5096119
nfp: abm: switch to extended stats for reading packet/byte counts

In PRIO-enabled FW read the statistics from per-band symbol, rather
than from the standard per-PCIe-queue counters.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: John Hurley <john.hurley@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/abm/ctrl.c
drivers/net/ethernet/netronome/nfp/abm/main.h