commit | ca866ee825911cb70e64ad5b33ac73d4ab924c1f | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Mon Dec 09 21:04:01 2019 -0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Dec 10 17:34:43 2019 -0800 |
tree | 14a82e6d94023bafa9ec3ed98fc0c9d597c4b16e | |
parent | 5000b28b0b1a34144b39376318cafb8c2a0f79fd [diff] |
nfp: add support for TLV device stats Device stats are currently hard coded in the PCI BAR0 layout. Add a ability to read them from the TLV area instead. Names for the stats are maintained by the driver, and their meaning documented. This allows us to more easily add and remove device stats. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>