DPDK-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Morten Brørup" <mb@smartsharesystems.com>
To: "David Marchand" <david.marchand@redhat.com>,
	"Bruce Richardson" <bruce.richardson@intel.com>
Cc: "Anatoly Burakov" <anatoly.burakov@intel.com>, <dev@dpdk.org>,
	<techboard@dpdk.org>
Subject: RE: [PATCH v2 3/3] net/ice: do not include private headers in testpmd
Date: Wed, 21 Oct 2026 14:51:20 +0200	[thread overview]
Message-ID: <98CBD80474FA8B44BF855DF32C47DC35F65AD1@smartserver.smartshare.dk> (raw)
In-Reply-To: <CAJFAV8wwuxGjGC95KkASQvPe07E64=N9L_aKuygT9LCoooTOdA@mail.gmail.com>

> > > Acked-by: Bruce Richardson <bruce.richardson@intel.com>
> > >
> > > Given where we are, this is probably a reasonable solution.
> However, I'm
> > > also thinking that maybe we should have a discussion as to whether
> testpmd
> > > - which is, after all, for testing PMDs - should be limited to the
> public
> > > APIs. Is there not a case to be made for allowing the per-driver
> testpmd
> > > files to access the internals of the driver for testing purposes?
> > >
> > +techboard and others for more input and thoughts for the future.
> 
> Accessing some symbols from the internal ABI is probably ok but it is
> a slippery topic.
> Like the ethdev ops changes between 25.11/26.07 that triggered crashes
> in app/test.

I tend to agree with Bruce's statement about the purpose of testpmd:
The purpose of testpmd is testing PMDs.

When used for PMD development purposes, this means:
1. Testpmd should be allowed to go deep inside PMDs.
2. Testpmd should not be limited by ABI/API stability.

This also means that the testpmd released with DPDK 27.03 is not expected to be compatible with the DPDK 26.11 LTS runtime.
If a new release of testpmd offers new features, they will not be available until you upgrade your DPDK runtime.

"Nice to have":
When used for non-PMD development purposes,
perhaps testpmd could emit a warning if not running on the same build as the DPDK runtime.

-Morten


  reply	other threads:[~2026-10-21 12:51 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-14 20:34 [PATCH] net/ixgbe: avoid private driver include in testpmd Thomas Monjalon
2026-10-15  8:53 ` Burakov, Anatoly
2026-10-15  9:13   ` Thomas Monjalon
2026-10-15 10:41     ` Burakov, Anatoly
2026-10-15 11:18       ` David Marchand
2026-10-15 11:21         ` Burakov, Anatoly
2026-10-15 11:50           ` Thomas Monjalon
2026-10-15 14:01             ` Burakov, Anatoly
2026-10-15 14:21 ` [PATCH v2 1/3] " Anatoly Burakov
2026-10-15 14:21   ` [PATCH v2 2/3] net/iavf: do not include private headers " Anatoly Burakov
2026-10-15 14:33     ` Bruce Richardson
2026-10-15 14:45     ` Medvedkin, Vladimir
2026-10-15 14:21   ` [PATCH v2 3/3] net/ice: " Anatoly Burakov
2026-10-15 14:36     ` Bruce Richardson
2026-10-15 14:39       ` Bruce Richardson
2026-10-21  9:53         ` David Marchand
2026-10-21 12:51           ` Morten Brørup [this message]
2026-10-15 14:52     ` Medvedkin, Vladimir
2026-10-15 15:00       ` Burakov, Anatoly
2026-10-15 15:21         ` Bruce Richardson
2026-10-15 15:29           ` Burakov, Anatoly
2026-10-15 14:44   ` [PATCH v2 1/3] net/ixgbe: avoid private driver include " Medvedkin, Vladimir
2026-10-15 17:09     ` Bruce Richardson

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=98CBD80474FA8B44BF855DF32C47DC35F65AD1@smartserver.smartshare.dk \
    --to=mb@smartsharesystems.com \
    --cc=anatoly.burakov@intel.com \
    --cc=bruce.richardson@intel.com \
    --cc=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=techboard@dpdk.org \
    /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