Re: [dpdk-dev] [PATCH v4 2/9] bus: add device iterator

2017-06-21 Thread Gaƫtan Rivet
On Wed, Jun 21, 2017 at 01:55:39PM +0200, Thomas Monjalon wrote: > 21/06/2017 01:29, Gaetan Rivet: > > +/** > > + * Device comparison function. > > + * > > + * @param dev > > + * Device handle. > > + * > > + * @param data > > + * Data to compare against. > > + * > > + * @return > > + * 0 if t

Re: [dpdk-dev] [PATCH v4 2/9] bus: add device iterator

2017-06-21 Thread Thomas Monjalon
21/06/2017 01:29, Gaetan Rivet: > +/** > + * Device comparison function. > + * > + * @param dev > + * Device handle. > + * > + * @param data > + * Data to compare against. > + * > + * @return > + * 0 if the device matches the data. > + * !0 if the device does not match. > + * <0 if orderi

[dpdk-dev] [PATCH v4 2/9] bus: add device iterator

2017-06-20 Thread Gaetan Rivet
From: Jan Blunck Signed-off-by: Jan Blunck Signed-off-by: Gaetan Rivet --- lib/librte_eal/common/include/rte_bus.h | 7 +++ lib/librte_eal/common/include/rte_dev.h | 17 + 2 files changed, 24 insertions(+) diff --git a/lib/librte_eal/common/include/rte_bus.h b/lib/librte