Re: [dpdk-dev] [PATCH v6 5/6] bus: add helper to find a bus from a device name

2017-07-04 Thread Gaƫtan Rivet
I made this API private, however we can see the bonding PMD could use this kind of facility: http://dpdk.org/ml/archives/dev/2017-July/070087.html I know the failsafe could leverage this, as well as another bus idea I threw together a few weeks ago[1]. So maybe I should make it public? This can

[dpdk-dev] [PATCH v6 5/6] bus: add helper to find a bus from a device name

2017-07-03 Thread Gaetan Rivet
Find which bus should be able to parse this device name into an internal device representation. Signed-off-by: Gaetan Rivet --- lib/librte_eal/common/eal_common_bus.c | 15 +++ lib/librte_eal/common/eal_private.h| 12 2 files changed, 27 insertions(+) diff --git a/l