numam-dpdk/usertools
David Marchand 4976250ea8 usertools/pmdinfo: fix plugin auto scan
Migration to argparse was incomplete.

$ dpdk-pmdinfo.py -p $(which dpdk-testpmd)
Traceback (most recent call last):
  File "/usr/bin/dpdk-pmdinfo.py", line 626, in <module>
    main()
  File "/usr/bin/dpdk-pmdinfo.py", line 596, in main
    exit(scan_for_autoload_pmds(args[0]))
TypeError: 'Namespace' object does not support indexing

Fixes: 81255f27c6 ("usertools: replace optparse with argparse")
Cc: stable@dpdk.org

Signed-off-by: David Marchand <david.marchand@redhat.com>
Reviewed-by: Robin Jarry <robin.jarry@6wind.com>
2021-10-25 17:09:01 +02:00
..
cpu_layout.py usertools: fix CPU layout script to be PEP8 compliant 2020-11-13 15:40:21 +01:00
dpdk-devbind.py usertools/devbind: move ioat device IDs to DMA class 2021-10-22 22:40:59 +02:00
dpdk-hugepages.py usertools: show hugepages requested/set on failure 2021-03-25 18:07:47 +01:00
dpdk-pmdinfo.py usertools/pmdinfo: fix plugin auto scan 2021-10-25 17:09:01 +02:00
dpdk-telemetry-client.py usertools: remove unnecessary parens and else 2020-11-22 22:14:12 +01:00
dpdk-telemetry.py usertools/telemetry: list file-prefixes 2021-10-19 17:15:10 +02:00
meson.build build: change indentation in infrastructure files 2021-04-21 14:04:09 +02:00