Re: [dpdk-dev] [PATCH v1 11/13] bus/pci: process declarative PCI devargs

2018-08-30 Thread Gaƫtan Rivet
On Thu, Aug 30, 2018 at 09:15:18AM -0700, Stephen Hemminger wrote: > On Thu, 30 Aug 2018 15:42:02 +0200 > Gaetan Rivet wrote: > > > +int > > +rte_pci_devargs_process(struct rte_pci_device *pdev) > > +{ > > + /* For the moment, no PCI param > > +* needs to be processed. > > +*/ > > + (

Re: [dpdk-dev] [PATCH v1 11/13] bus/pci: process declarative PCI devargs

2018-08-30 Thread Stephen Hemminger
On Thu, 30 Aug 2018 15:42:02 +0200 Gaetan Rivet wrote: > +int > +rte_pci_devargs_process(struct rte_pci_device *pdev) > +{ > + /* For the moment, no PCI param > + * needs to be processed. > + */ > + (void) pdev; > + return 0; > +} Use __rte_unused rather than the (void) cas

[dpdk-dev] [PATCH v1 11/13] bus/pci: process declarative PCI devargs

2018-08-30 Thread Gaetan Rivet
Introduce the facility to process future PCI parameters. Once the matching between PCI devices and devargs has been done, it is possible to process each devargs. New parameters would have the PCI device handle to work with when parsing the device (bus specific) parameters. Signed-off-by: Gaetan R