1e5aade752
Currently the user needs to find the DSA instance number for any DSA device they would like to configure using this script, which can be cumbersome and error-prone since the instance numbering may change when changing the binding of the devices between vfio-pci and idxd. This patch improves the usability of the script by adding the ability to specify the DSA device to configure using the device's PCI address instead of the DSA instance number. For example, "$dpdk_idxd_cfg.py 0" and "$dpdk_idxd_cfg.py 6a:01.0" are both valid references to the same device (assuming the numbering). Signed-off-by: Kevin Laatz <kevin.laatz@intel.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>