Thread (2 messages) 2 messages, 2 authors, 2015-07-29

Re: [PATCH] test-pmd: show pci address in port info

flat view

From: Thomas Monjalon <hidden>
Date: 2015-07-29 08:44:08

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help