DPDK-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: David Marchand <david.marchand@redhat.com>
To: dev@dpdk.org
Cc: Maxime Coquelin <maxime.coquelin@redhat.com>,
	Chenbo Xia <chenbox@nvidia.com>,
	Sunil Pai G <sunil.pai.g@intel.com>,
	Jiayu Hu <hujiayu.hu@foxmail.com>
Subject: [PATCH v2] vhost: remove dependency on PCI library
Date: Tue,  1 Sep 2026 09:00:24 +0200	[thread overview]
Message-ID: <20260901070024.1606766-1-david.marchand@redhat.com> (raw)
In-Reply-To: <20260831074159.1506521-1-david.marchand@redhat.com>

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 <david.marchand@redhat.com>
---
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(-)

diff --git a/examples/vdpa/meson.build b/examples/vdpa/meson.build
index 45f8a6fa31..3a319dd539 100644
--- a/examples/vdpa/meson.build
+++ b/examples/vdpa/meson.build
@@ -12,6 +12,7 @@ if not is_linux
 endif
 
 deps += 'vhost'
+deps += 'pci'
 allow_experimental_apis = true
 sources = files(
         'main.c',
diff --git a/examples/vhost/meson.build b/examples/vhost/meson.build
index e938be8f45..1cf061c597 100644
--- a/examples/vhost/meson.build
+++ b/examples/vhost/meson.build
@@ -13,6 +13,7 @@ endif
 
 deps += 'vhost'
 deps += 'dmadev'
+deps += 'pci'
 allow_experimental_apis = true
 sources = files(
         'main.c',
diff --git a/lib/vhost/meson.build b/lib/vhost/meson.build
index 6a24981d10..64698182cd 100644
--- a/lib/vhost/meson.build
+++ b/lib/vhost/meson.build
@@ -44,4 +44,4 @@ headers = files(
 driver_sdk_headers = files(
         'vdpa_driver.h',
 )
-deps += ['ethdev', 'cryptodev', 'hash', 'pci', 'dmadev']
+deps += ['ethdev', 'cryptodev', 'hash', 'dmadev']
-- 
2.54.0


  reply	other threads:[~2026-09-01  7:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-31  7:41 [PATCH] vhost: remove dependency on PCI library David Marchand
2026-09-01  7:00 ` David Marchand [this message]
2026-09-01  8:00   ` [PATCH v2] " Bruce Richardson
2026-09-01  8:17     ` David Marchand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260901070024.1606766-1-david.marchand@redhat.com \
    --to=david.marchand@redhat.com \
    --cc=chenbox@nvidia.com \
    --cc=dev@dpdk.org \
    --cc=hujiayu.hu@foxmail.com \
    --cc=maxime.coquelin@redhat.com \
    --cc=sunil.pai.g@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox