numam-dpdk/tools
Bruce Richardson 139bdc1db6 tools: fix pmdinfo for FreeBSD
There were a couple of issues which prevented pmdinfo.py from running on
FreeBSD, both of which are fixed by this patch.

* The path to python is not /usr/bin/python as on Linux, so use
  /usr/bin/env to find it on both OS's.
* The path to the pci ids DB is in a different location on FreeBSD,
  so use the platform python library to look in different default
  locations depending on the underlying OS. [There are two possible
  locations to look on FreeBSD, as defined by pciconf manpage, so
  check in both in order of better to worse]

Fixes: c67c9a5c64 ("tools: query binaries for HW and other support information")

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
2016-07-10 14:51:09 +02:00
..
cpu_layout.py tools: remove extra blank lines in CPU layout 2016-03-24 22:04:10 +01:00
dpdk_nic_bind.py tools: allow binding to other network class devices 2016-05-19 12:24:18 +02:00
pmdinfo.py tools: fix pmdinfo for FreeBSD 2016-07-10 14:51:09 +02:00
setup.sh tools: fix setup with built-in kernel modules 2016-03-24 22:04:10 +01:00