DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Bathija, Pravin" <Pravin.Bathija@dell.com>
To: Maxime Coquelin <maxime.coquelin@redhat.com>,
	Bruce Richardson <bruce.richardson@intel.com>,
	David Marchand <david.marchand@redhat.com>,
	Chenbo Xia <chenbox@nvidia.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>,
	"pravin.m.bathija.dev@gmail.com" <pravin.m.bathija.dev@gmail.com>,
	Thomas Monjalon <thomas@monjalon.net>
Subject: RE: [PATCH 0/3] vhost_user: configure memory slots
Date: Thu, 11 Sep 2025 22:07:10 +0000	[thread overview]
Message-ID: <SJ0PR19MB46063A3CAFB46D661EFB3A3AF509A@SJ0PR19MB4606.namprd19.prod.outlook.com> (raw)
In-Reply-To: <51a55a38-3ca6-4a68-9869-478a2fa8e500@redhat.com>

Dear Maxime,

As suggested, apart from the storage networking spdk tests, I have successfully run the following additional tests with dpdk applied with my patch:
1) Bring up dpdk-test-pmd vhost back-end and dpdk-test-pmd  virtio front-end and send network traffic back and forth
2) Bring up dpdk-test-pmd vhost back-end and qemu running Alpine Linux connecting to dpdk vhost, sending network traffic back and forth

Please let me know if I need to run additional tests. Also I'm happy to share the test commands and logs if needed.

Thanks,
Pravin


Internal Use - Confidential
> -----Original Message-----
> From: Maxime Coquelin <maxime.coquelin@redhat.com>
> Sent: Friday, August 29, 2025 5:01 AM
> To: Bathija, Pravin <Pravin.Bathija@dell.com>; Bruce Richardson
> <bruce.richardson@intel.com>; David Marchand
> <david.marchand@redhat.com>; Chenbo Xia <chenbox@nvidia.com>
> Cc: dev@dpdk.org; pravin.m.bathija.dev@gmail.com; Thomas Monjalon
> <thomas@monjalon.net>
> Subject: Re: [PATCH 0/3] vhost_user: configure memory slots
>
>
> [EXTERNAL EMAIL]
>
>
>
> On 8/29/25 12:26 PM, Bathija, Pravin wrote:
> > Answers inline.
> >
> >
> > Internal Use - Confidential
> >> -----Original Message-----
> >> From: Maxime Coquelin <maxime.coquelin@redhat.com>
> >> Sent: Friday, August 29, 2025 2:18 AM
> >> To: Bathija, Pravin <Pravin.Bathija@dell.com>; Bruce Richardson
> >> <bruce.richardson@intel.com>; David Marchand
> >> <david.marchand@redhat.com>; Chenbo Xia <chenbox@nvidia.com>
> >> Cc: dev@dpdk.org; pravin.m.bathija.dev@gmail.com; Thomas Monjalon
> >> <thomas@monjalon.net>
> >> Subject: Re: [PATCH 0/3] vhost_user: configure memory slots
> >>
> >>
> >> [EXTERNAL EMAIL]
> >>
> >> Hi Pravin,
> >>
> >> On 8/29/25 11:11 AM, Bathija, Pravin wrote:
> >>> Dear Maxime, Bruce, David, Chenbo,
> >>>
> >>> Could you please help review the code ? The goal is to merge the
> >>> changes
> >> before September 18 when the merge window closes for SPDK v25.09.
> >>
> >> I will help review the code, but there are no guarantee it will be
> >> merged in main branch before September 18th.
> > Thank you for your consideration.
> >
> >>
> >> Can you elaborate about the tests you have run?
> > - Run I/O tests using fio and libblkio engine to SPDK vhost user block
> > targets with multiple targets and different block sizes
> > - Custom system tests defined within SPDK framework
> > https://urldefense.com/v3/__https://review.spdk.io/c/spdk/spdk/*/26395
> >
> __;Kw!!LpKI!nQ_7qq10Gy3KLQB0sGNsLi15QuRrmxDpIq6do36yuGMxY3T1iXey
> U6wQer
> > Zs7xZbVMtiozXTR7XAwqUJOi3Mf9hsM-gghA$ [review[.]spdk[.]io]
> > - QEMU bring up with SPDK Virtio block device
> >
> >> Have you ensured it is still working properly with Vhsot-user/Virtio-net?
> > Yes tests have been run to ensure this as listed above
>
> You have only run storage tests, not networking test.
> So the DPDK Vhost datapath has not been exercised, neither the IOMMU
> AFAICT.
>
> Maxime
>
> >
> >>
> >> Maxime
> >>
> >>> Regards,
> >>> Pravin
> >>>
> >>>
> >>> Internal Use - Confidential
> >>>> -----Original Message-----
> >>>> From: Bathija, Pravin
> >>>> Sent: Tuesday, August 26, 2025 11:47 AM
> >>>> To: Maxime Coquelin <maxime.coquelin@redhat.com>; Bruce Richardson
> >>>> <bruce.richardson@intel.com>; David Marchand
> >>>> <david.marchand@redhat.com>; Chenbo Xia <chenbox@nvidia.com>
> >>>> Cc: dev@dpdk.org; pravin.m.bathija.dev@gmail.com; Thomas Monjalon
> >>>> <thomas@monjalon.net>
> >>>> Subject: RE: [PATCH 0/3] vhost_user: configure memory slots
> >>>>
> >>>> Answers inline.
> >>>>
> >>>>> -----Original Message-----
> >>>>> From: Maxime Coquelin <maxime.coquelin@redhat.com>
> >>>>> Sent: Monday, August 25, 2025 1:49 AM
> >>>>> To: Bathija, Pravin <Pravin.Bathija@dell.com>; Bruce Richardson
> >>>>> <bruce.richardson@intel.com>; David Marchand
> >>>>> <david.marchand@redhat.com>; Chenbo Xia <chenbox@nvidia.com>
> >>>>> Cc: dev@dpdk.org; pravin.m.bathija.dev@gmail.com; Thomas Monjalon
> >>>>> <thomas@monjalon.net>
> >>>>> Subject: Re: [PATCH 0/3] vhost_user: configure memory slots
> >>>>>
> >>>>>
> >>>>> [EXTERNAL EMAIL]
> >>>>>
> >>>>> Hi,
> >>>>>
> >>>>> Please try to fix your email client so that we can follow the replies
> inlined.
> >>>>
> >>>> Thank you for the input. I have made the necessary adjustments.
> >>>> Please let me know if there is anything missing.
> >>>>
> >>>>>
> >>>>> On 8/22/25 9:33 AM, Bathija, Pravin wrote:
> >>>>>> Dear Maxime, Bruce, David, Chenbo,
> >>>>>>
> >>>>>> I would like to follow up on the status of the patches and when
> >>>>>> we should
> >>>>> expect these to be merged into the mainline.
> >>>>>>
> >>>>>> Please let me know if I can help answer any questions you might have.
> >>>>>>
> >>>>>> Regards,
> >>>>>> Pravin
> >>>>>>
> >>>>>>
> >>>>>> Internal Use - Confidential
> >>>>>> -----Original Message-----
> >>>>>> From: Bathija, Pravin
> >>>>>> Sent: Thursday, August 21, 2025 7:48 PM
> >>>>>> To: Thomas Monjalon <thomas@monjalon.net>
> >>>>>> Cc: dev@dpdk.org; pravin.m.bathija.dev@gmail.com; Maxime
> Coquelin
> >>>>>> <maxime.coquelin@redhat.com>; Chenbo Xia <chenbox@nvidia.com>;
> >>>> David
> >>>>>> Marchand <david.marchand@redhat.com>; Bruce Richardson
> >>>>>> <bruce.richardson@intel.com>
> >>>>>> Subject: RE: [PATCH 0/3] vhost_user: configure memory slots
> >>>>>>
> >>>>>> Comments inline:
> >>>>>>
> >>>>>> -----Original Message-----
> >>>>>> From: Thomas Monjalon <thomas@monjalon.net>
> >>>>>> Sent: Tuesday, August 19, 2025 4:36 AM
> >>>>>> To: Bathija, Pravin <Pravin.Bathija@dell.com>
> >>>>>> Cc: dev@dpdk.org; pravin.m.bathija.dev@gmail.com; Maxime
> Coquelin
> >>>>>> <maxime.coquelin@redhat.com>; Chenbo Xia <chenbox@nvidia.com>;
> >>>> David
> >>>>>> Marchand <david.marchand@redhat.com>; Bruce Richardson
> >>>>>> <bruce.richardson@intel.com>
> >>>>>> Subject: Re: [PATCH 0/3] vhost_user: configure memory slots
> >>>>>>
> >>>>>>
> >>>>>> [EXTERNAL EMAIL]
> >>>>>>
> >>>>>> Comments inline
> >>>>>>
> >>>>>> 12/08/2025 04:33, Pravin M Bathija:
> >>>>>>> - add protocol feature support add and removal of memory
> >>>>>>> regions/slots dynamically.
> >>>>>>> - this patch set has been tested with multiple instances of fio
> >>>>>>
> >>>>>> What is "fio"?
> >>>>>> Fio is an open-source tool to test I/O workloads on disks and file
> systems.
> >>>>>>
> >>>>>>> connected via libblkio to spdk target backed unix domain socket.
> >>>>>>> - please apply this this patch-set to dpdk mainline as well as
> >>>>>>> version 25.03.0.
> >>>>>>
> >>>>>> As mentionned previously, we don't plan to maintain 25.03.
> >>>>>> I understand you need it for SPDK, but I think SPDK should rely
> >>>>>> only on LTS branches.
> >>>>>> Is there a specific reason why 25.03 is required in SPDK?
> >>>>>>
> >>>>>> When we do sub-module init on spdk master, it uses dpdk version
> >>>>>> 25.03 from
> >>>>> it's own sub-repo.
> >>>>>> Our changes for vhost have already been pushed to spdk master. We
> >>>>>> have also pushed the same dpdk changes in the spdk sub-repo "dpdk"
> >>>>>> which is version 25.03. I was just ensuring that there is
> >>>>>> uniformity in the 25.03
> >>>>> codebase, whether it is on the spdk sub-repo or 25.03 within dpdk repo.
> >>>>>
> >>>>> Ok, still, it would be better for SPDK to uses LTS as we have no
> >>>>> plans to add extra stable branches.
> >>>>>
> >>>>> Also, your series may be considered as a feature and not a bug
> >>>>> fix, so even if
> >>>>> 25.03 would be a stable branch (which it is not), it would not be
> >>>>> backported against it.
> >>>>
> >>>> Understood. I would request that we merge my changes into DPDK
> >>>> mainline before September 18 when the merge window closes for SPDK
> >> v25.09.
> >>>>
> >>>>>
> >>>>>>
> >>>>>>
> >>>>>>> v2:
> >>>>>>> - fixed warnings with e-mail address
> >>>>>>> - fixed warnings with typos
> >>>>>>> - there is a warning about __rte_packed_begin not being in pair
> >>>>>>> with __rte_packed_end which on reading the code turns out to be
> >>>>>>> false. It is an anomaly of how git-format generates the patch
> >>>>>>> and how check-patch checks it.
> >>>>>>
> >>>>>> When sending a v2, please use -v2 so it is reflected in the email subject.
> >>>>>> I will remember this for next time. Thank you for pointing that out.
> >>>>>>
> >>>>>>> Pravin M Bathija (3):
> >>>>>>>      mailmap: add user
> >>>>>>>      vhost_user: configure memory slots
> >>>>>>>      vhost_user: support for memory regions
> >>>>>>>
> >>>>>>>     .mailmap               |   1 +
> >>>>>>>     lib/vhost/rte_vhost.h  |   4 +
> >>>>>>>     lib/vhost/vhost_user.c | 325
> >>>>>>> +++++++++++++++++++++++++++++++++++------
> >>>>>>>     lib/vhost/vhost_user.h |  10 ++
> >>>>>>>     4 files changed, 296 insertions(+), 44 deletions(-)
> >>>>>>
> >>>>>>
> >>>>>>
> >>>
> >


  reply	other threads:[~2025-09-11 22:07 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-12  2:33 Pravin M Bathija
2025-08-12  2:33 ` [PATCH 1/3] mailmap: add user Pravin M Bathija
2025-08-19 11:30   ` Thomas Monjalon
2025-08-12  2:33 ` [PATCH 2/3] vhost_user: configure memory slots Pravin M Bathija
2025-08-12  2:33 ` [PATCH 3/3] vhost_user: support for memory regions Pravin M Bathija
2025-08-29 11:59   ` Maxime Coquelin
2025-08-19 11:36 ` [PATCH 0/3] vhost_user: configure memory slots Thomas Monjalon
2025-08-22  2:36   ` Bathija, Pravin
2025-08-22  2:48   ` Bathija, Pravin
2025-08-22  7:33     ` Bathija, Pravin
2025-08-25  8:49       ` Maxime Coquelin
2025-08-26 18:47         ` Bathija, Pravin
2025-08-29  9:11           ` Bathija, Pravin
2025-08-29  9:17             ` Maxime Coquelin
2025-08-29 10:26               ` Bathija, Pravin
2025-08-29 12:01                 ` Maxime Coquelin
2025-09-11 22:07                   ` Bathija, Pravin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-08-08  4:29 Pravin M Bathija

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=SJ0PR19MB46063A3CAFB46D661EFB3A3AF509A@SJ0PR19MB4606.namprd19.prod.outlook.com \
    --to=pravin.bathija@dell.com \
    --cc=bruce.richardson@intel.com \
    --cc=chenbox@nvidia.com \
    --cc=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=maxime.coquelin@redhat.com \
    --cc=pravin.m.bathija.dev@gmail.com \
    --cc=thomas@monjalon.net \
    /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;
as well as URLs for NNTP newsgroup(s).