2015-07-29 09:05, Michael Qiu:
pci address is one important info for port.
This patch make it visible for port info.
Signed-off-by: Michael Qiu <redacted>
Maybe you missed this thread:
http://dpdk.org/ml/archives/dev/2015-July/022107.html
quoted hunk ↗ jump to hunk
+ if (strncmp("0000:00:00.0", pci_addr, 12))
+ printf("\nPCI address: %s", pci_addr);
+ else
+ printf("\nPCI address: N/A");
Checking a null PCI address to handle non-pci devices is ugly.
EAL must be reworked to correctly handle non-PCI devices.
Patches welcome.
This patch is rejected.