diff options
author | 2018-08-28 13:20:39 -0700 | |
---|---|---|
committer | 2018-08-28 16:01:47 -0700 | |
commit | 9bf6cce893072a078aaab0eaa8e399974b815bb1 (patch) | |
tree | 5197b9c47a016f6009eb5b4301726146870b607c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | nfp: add support for NFP5000 (diff) | |
download | linux-dev-9bf6cce893072a078aaab0eaa8e399974b815bb1.tar.xz linux-dev-9bf6cce893072a078aaab0eaa8e399974b815bb1.zip |
nfp: refactor the per-chip PCIe config
Use a switch statement instead of ifs for code dependent
on chip version. While at it make sure we fail for unknown
chip revisions.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions