[dpdk-dev] [PATCH v5 03/12] bus: add helper to find which bus holds a device
Bruce Richardson
bruce.richardson at intel.com
Mon Jun 26 18:31:45 CEST 2017
On Mon, Jun 26, 2017 at 02:22:01AM +0200, Gaetan Rivet wrote:
> From: Jan Blunck <jblunck at infradead.org>
>
> Signed-off-by: Jan Blunck <jblunck at infradead.org>
> Signed-off-by: Gaetan Rivet <gaetan.rivet at 6wind.com>
> ---
> lib/librte_eal/bsdapp/eal/rte_eal_version.map | 1 +
> lib/librte_eal/common/eal_common_bus.c | 25 +++++++++++++++++++++++++
> lib/librte_eal/common/include/rte_bus.h | 5 +++++
> lib/librte_eal/linuxapp/eal/rte_eal_version.map | 1 +
> 4 files changed, 32 insertions(+)
>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
Would it be useful to add a unit test for this function? That would help
with any future refactoring, and also indirectly test the other
functions added in the previous 2 patches.
More information about the dev
mailing list