vhost: remove dependency on PCI library
PATCH 1/1 vhost: remove dependency on PCI library
Since the async datapath code switched to dmadev, there is no reason to depend on the pci library.
--- lib/vhost/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/vhost/meson.build +1 -1
@@ -44,4 +44,4 @@ headers = files( driver_sdk_headers = files( 'vdpa_driver.h', ) -deps += ['ethdev', 'cryptodev', 'hash', 'pci', 'dmadev'] +deps += ['ethdev', 'cryptodev', 'hash', 'dmadev']
Signature · 1 line
2.54.0
PATCH v2 1/1 vhost: remove dependency on PCI library
Since the async datapath code switched to dmadev, there is no reason to depend on the pci library.
---
Changes since v1:
- fixed "internal" dependencies of examples,
--- examples/vdpa/meson.build | 1 + examples/vhost/meson.build | 1 + lib/vhost/meson.build | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-)
examples/vdpa/meson.build +1 -0
@@ -12,6 +12,7 @@ if not is_linux endif deps += 'vhost' +deps += 'pci' allow_experimental_apis = true sources = files( 'main.c',
examples/vhost/meson.build +1 -0
@@ -13,6 +13,7 @@ endif deps += 'vhost' deps += 'dmadev' +deps += 'pci' allow_experimental_apis = true sources = files( 'main.c',
lib/vhost/meson.build +1 -1
@@ -44,4 +44,4 @@ headers = files( driver_sdk_headers = files( 'vdpa_driver.h', ) -deps += ['ethdev', 'cryptodev', 'hash', 'pci', 'dmadev'] +deps += ['ethdev', 'cryptodev', 'hash', 'dmadev']
Signature · 1 line
2.54.0
Quoted 10 lines · David Marchand
Since the async datapath code switched to dmadev, there is no reason to depend on the pci library.
Fixes 53d3f4778c1d ("vhost: integrate dmadev in asynchronous data-path")Signed-off-by David Marchand <[email protected]>---
Changes since v1:
- fixed "internal" dependencies of examples,
Quoted 6 lines
--- examples/vdpa/meson.build | 1 + examples/vhost/meson.build | 1 + lib/vhost/meson.build | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-)
No objection to this patch, but rather than changing this now, would we not be better just waiting to see what happens with the sync datapath itself? If it gets removed from vhost lib, then a larger cleanup is likely which should encompass these changes and more.
Quoted 12 lines · Bruce Richardson
Quoted 10 lines · David Marchand
Since the async datapath code switched to dmadev, there is no reason to depend on the pci library.
Fixes 53d3f4778c1d ("vhost: integrate dmadev in asynchronous data-path")Signed-off-by David Marchand <[email protected]>---
Changes since v1:
- fixed "internal" dependencies of examples,
Quoted 8 lines
Quoted 6 lines
--- examples/vdpa/meson.build | 1 + examples/vhost/meson.build | 1 + lib/vhost/meson.build | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-)No objection to this patch, but rather than changing this now, would we not be better just waiting to see what happens with the sync datapath itself?
*a*sync I guess.
Quoted 2 lines
If it gets removed from vhost lib, then a larger cleanup is likely which should encompass these changes and more.
On second thought, I agree, it is not worth having as a simple (backportable) fix, it is only an internal dependency.
I don't mind merging it in the series
https://patchwork.dpdk.org/project/dpdk/list/?series=39064&state=*
Signature · 1 line
David Marchand