Thread (123 messages) 123 messages, 7 authors, 2017-07-08

Re: [PATCH v7 6/6] devargs: parse bus info

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2017-07-05 18:03:55

On Wed,  5 Jul 2017 01:55:23 +0200
Gaetan Rivet [off-list ref] wrote:
 	case RTE_DEVTYPE_WHITELISTED_PCI:
 	case RTE_DEVTYPE_BLACKLISTED_PCI:
 		/* try to parse pci identifier */
-		if (eal_parse_pci_BDF(buf, &devargs->pci.addr) != 0 &&
-		    eal_parse_pci_DomBDF(buf, &devargs->pci.addr) != 0)
+		if (bus->parse(devname, &devargs->pci.addr) != 0)
 			goto fail;
Shouldn't these go under bus args for PCI?
It would be good to get all the bus specific args out of generic code.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help