summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDirk van der Merwe <dirk.vandermerwe@netronome.com>2019-09-11 18:21:18 +0300
committerDavid S. Miller <davem@davemloft.net>2019-09-12 02:01:00 +0300
commit421bceb270e21b6db92988923445460c2e498888 (patch)
tree5e33d143c6379d3b25a7f9813baceedd46a86ff3 /tools/perf/scripts/python/export-to-postgresql.py
parent051ba67447de1294aaacc59752a37f72091d15ed (diff)
downloadlinux-421bceb270e21b6db92988923445460c2e498888.tar.xz
nfp: read chip model from the PluDevice register
The PluDevice register provides the authoritative chip model/revision. Since the model number is purely used for reporting purposes, follow the hardware team convention of subtracting 0x10 from the PluDevice register to obtain the chip model/revision number. Suggested-by: Francois H. Theron <francois.theron@netronome.com> Signed-off-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com> Signed-off-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions