From: Stephen Hemminger <stephen@networkplumber.org>
To: dev@dpdk.org
Cc: Cristian Dumitrescu <cristian.dumitrescu@intel.com>, ci@dpdk.org
Subject: Re: [PATCH v6 6/6] port: remove legacy API
Date: Thu, 30 Jul 2026 11:37:04 -0700 [thread overview]
Message-ID: <20260730113704.1e11ee4f@phoenix.local> (raw)
In-Reply-To: <20260730162311.313350-7-stephen@networkplumber.org>
On Thu, 30 Jul 2026 09:22:34 -0700
Stephen Hemminger <stephen@networkplumber.org> wrote:
> Remove the legacy port library API (rte_port_*) as announced for
> removal in the 24.11 release. The SWX port API remains.
>
> The sched, ip_frag, cryptodev and eventdev dependencies were only
> used by the legacy port types, so drop them. The pcap dependency
> is kept for the SWX source/sink port.
>
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
The CI build infrastructure reports a failure when building docs
but this report is bogus. The docs build, the way it is doing it
is all wrong. It is applying single patch without others before it;
then complaining.
Wordier AI analysis:
Subject: Intel PER_PATCH_BUILD applies patches in isolation, produces
false compilation failures
Report: pw167045, sid 38829, job PER_PATCH_BUILD19605, series "packet
framework removal" v6 6/6 ("port: remove legacy API"), baseline
dpdk-next-net 9231dc7c.
Reported failure: doc build on UB2604-64 (x86_64-native-linuxapp-doc).
Doxygen aborts with doc/api/doxy-api-index.md:185: error: unable to
resolve reference to 'rte_port.h'.
The series is correct. Patch 6/6 removes that reference in the same
commit that deletes lib/port/rte_port.h, so every commit in the series
is self-consistent and the tree bisects clean.
Root cause is in the CI, two defects:
The job applied 6/6 alone on top of the baseline rather than
applying 1/6 through 6/6 in order. The resulting tree exists nowhere in
history. Patch 6/6's index hunk has trailing context * SWX pipeline:
immediately after the port list, which only holds once 4/6 and 5/6 have
removed the pipeline and table entries, so the hunk cannot apply to the
bare baseline. The apply was reject-tolerant and the job continued. The
lib/port/* deletions landed while doxy-api-index.md stayed untouched,
and the build proceeded on that mixed tree.
Proof: line 185 in the log is * [port](@ref rte_port.h):, which is line
185 of the unmodified file at baseline blob 9296042 (byte-identical to
main). Had 1/6 through 6/6 been applied in order, 4/6's hunk alone
would have shifted that line. Doxygen aborts on the first unresolved
reference, which is why rte_table.h and rte_pipeline.h are not also
listed. Reproduced locally:
$ git apply --check <6/6 doxy hunk> # on baseline
error: patch failed: doc/api/doxy-api-index.md:182
$ patch -p1 --dry-run < <same>
Hunk #1 FAILED at 182.
Requested fixes:
Apply the full series with git am onto the baseline, then build
each commit, e.g. git rebase --exec '<build>' <base>. That tests
bisectability, which testing patches in isolation does not. Treat any
rejected hunk as a job abort, reported as an apply error, not as a
compilation FAILURE attributed to the submitter.
Note for anyone hitting this: a bare Recheck-request: retests the patch
as-is without re-applying, so it reproduces the same bad tree.
rebase={branch} is needed.
prev parent reply other threads:[~2026-07-30 18:37 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-24 16:43 [PATCH 0/6] remove legacy Packet Framework API Stephen Hemminger
2026-07-24 16:43 ` [RFC 1/6] app/test: remove packet framework tests Stephen Hemminger
2026-07-24 16:43 ` [RFC 2/6] app/test-pipeline: remove application Stephen Hemminger
2026-07-24 16:43 ` [RFC 3/6] examples/ip_pipeline: remove example Stephen Hemminger
2026-07-24 16:44 ` [RFC 4/6] pipeline: remove legacy API Stephen Hemminger
2026-07-24 16:44 ` [RFC 5/6] table: " Stephen Hemminger
2026-07-24 16:44 ` [RFC 6/6] port: " Stephen Hemminger
2026-07-25 7:54 ` [PATCH 0/6] remove legacy Packet Framework API David Marchand
2026-07-25 13:36 ` Stephen Hemminger
2026-07-27 23:11 ` [RFC v2 0/6] remove legacy packet framework Stephen Hemminger
2026-07-27 23:11 ` [RFC v2 1/6] app/test: remove packet framework tests Stephen Hemminger
2026-07-27 23:11 ` [RFC v2 2/6] app/test-pipeline: remove application Stephen Hemminger
2026-07-27 23:11 ` [RFC v2 3/6] examples/ip_pipeline: remove example Stephen Hemminger
2026-07-27 23:11 ` [RFC v2 4/6] pipeline: remove legacy API Stephen Hemminger
2026-07-27 23:11 ` [RFC v2 5/6] table: " Stephen Hemminger
2026-07-27 23:11 ` [RFC v2 6/6] port: " Stephen Hemminger
2026-07-28 14:20 ` [PATCH v3 0/6] remove legacy packet framework Stephen Hemminger
2026-07-28 14:20 ` [PATCH v3 1/6] app/test: remove packet framework tests Stephen Hemminger
2026-07-28 14:20 ` [PATCH v3 2/6] app/test-pipeline: remove application Stephen Hemminger
2026-07-28 14:20 ` [PATCH v3 3/6] examples/ip_pipeline: remove example Stephen Hemminger
2026-07-28 14:20 ` [PATCH v3 4/6] pipeline: remove legacy API Stephen Hemminger
2026-07-28 14:20 ` [PATCH v3 5/6] table: " Stephen Hemminger
2026-07-28 14:20 ` [PATCH v3 6/6] port: " Stephen Hemminger
2026-07-28 14:48 ` [PATCH v3 0/6] remove legacy packet framework David Marchand
2026-07-28 16:35 ` [PATCH v4 0/7] remove deprecated " Stephen Hemminger
2026-07-29 9:46 ` David Marchand
2026-07-28 16:35 ` [PATCH v4 1/7] app/test: remove packet framework tests Stephen Hemminger
2026-07-28 16:35 ` [PATCH v4 2/7] app/test-pipeline: remove application Stephen Hemminger
2026-07-28 16:35 ` [PATCH v4 3/7] examples/ip_pipeline: remove example Stephen Hemminger
2026-07-28 16:35 ` [PATCH v4 4/7] pipeline: remove legacy API Stephen Hemminger
2026-07-28 16:35 ` [PATCH v4 5/7] table: " Stephen Hemminger
2026-07-28 16:35 ` [PATCH v4 6/7] port: " Stephen Hemminger
2026-07-28 16:35 ` [PATCH v4 7/7] doc: remove packet framework images Stephen Hemminger
2026-07-29 15:22 ` [PATCH v5 0/6] remove legacy packet framework Stephen Hemminger
2026-07-29 15:22 ` [PATCH v5 1/6] app/test: remove packet framework tests Stephen Hemminger
2026-07-29 15:22 ` [PATCH v5 2/6] app/test-pipeline: remove application Stephen Hemminger
2026-07-29 15:22 ` [PATCH v5 3/6] examples/ip_pipeline: remove example Stephen Hemminger
2026-07-29 15:22 ` [PATCH v5 4/6] pipeline: remove legacy API Stephen Hemminger
2026-07-29 15:22 ` [PATCH v5 5/6] table: " Stephen Hemminger
2026-07-29 15:22 ` [PATCH v5 6/6] port: " Stephen Hemminger
2026-07-30 16:22 ` [PATCH v6 0/6] remove deprecated packet framework Stephen Hemminger
2026-07-30 16:22 ` [PATCH v6 1/6] app/test: remove packet framework tests Stephen Hemminger
2026-07-30 16:22 ` [PATCH v6 2/6] app/test-pipeline: remove application Stephen Hemminger
2026-07-30 16:22 ` [PATCH v6 3/6] examples/ip_pipeline: remove example Stephen Hemminger
2026-07-30 16:22 ` [PATCH v6 4/6] pipeline: remove legacy API Stephen Hemminger
2026-07-30 16:22 ` [PATCH v6 5/6] table: " Stephen Hemminger
2026-07-30 16:22 ` [PATCH v6 6/6] port: " Stephen Hemminger
2026-07-30 18:37 ` Stephen Hemminger [this message]
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=20260730113704.1e11ee4f@phoenix.local \
--to=stephen@networkplumber.org \
--cc=ci@dpdk.org \
--cc=cristian.dumitrescu@intel.com \
--cc=dev@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.