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

Thomas Monjalon thomas.monjalon at 6wind.com
Wed Jul 29 10:42:51 CEST 2015


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 <michael.qiu at intel.com>

Maybe you missed this thread:
	http://dpdk.org/ml/archives/dev/2015-July/022107.html

> +	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.



More information about the dev mailing list