Minutes of techboard meeting, 2025-10-01
TB Members Attending: 7/11
--------------------------
- Bruce
- Thomas
- Kevin
- Konstantin
- Morten
- Jerin
- Maxime
NOTE: The Technical Board meetings take place every second Wednesday at 3 pm UTC
on https://zoom-lfx.platform.linuxfoundation.org/meeting/96459488340?password=d808f1f6-0a28-4165-929e-5a5bcae7efeb
Meetings are public, and DPDK community members are welcome to attend.
Agenda and minutes can be found at http://core.dpdk.org/techboard/minutes
The next meeting will happen on October 15
Agenda
------
* LTS Maintainers,
- Project is currently short of LTS Maintainers.
- Enquiries are ongoing to find additional maintainers.
- Volunteers are welcome
- Mentoring and support from existing maintainers is available for new maintainers
* Use of FAST_FREE and multi-buffer/scattered mbuf flags
- The flags for enabling fast-free and supporting multi-mbuf packets are now documented incompatible
- Previously they were not defined as incompatible, but that seems to have been assumed for some usages.
- Techboard discussed how best to resolve this incompatibility with regards to:
- ensuring correctness
- avoiding major churn to DPDK code
- avoiding churn to end-user code
- Options discussed:
1 change definition back to not have the settings incompatible: this
necessitates checking drivers for correctness
2 keep as explicitly incompatible and report error if both specified:
this could break end-user apps, and requires changes to example apps
3 drop the fast-free flag if multi-segment mbufs are also specified:
"hides" the issue, but probably minimises changes. Would need to decide whether the dropping of flag done in drivers vs ethdev level. Pros and cons to both options. Needs clear documenting.
- No firm decision reached, will discuss more over email.
Recurring item list Discussion
------------------------------
TB reviewed our standard list of recurring items for updates.
* Examples to remove:
- it was noted that work is being done on DCB functionality, and separating it from VMDQ.
- follow up with patch author (as presumed knowledgable in this area) as to whether we need to keep both vmdq and vmdq+dcb sample apps.
* Doc Maintenance:
- Project had employed a technical writer to help cleanup docs, but this contract has now finished
- Most output patches from the contract have been merged but there is at least one set that needs futher update
- Discussed use of AI for documentation updates
- for mechanical updates AI may be of help
- skepticism of usefulness beyond that
* Community Lab:
- Patrick provided a short update on lab work:
- DTS Development ongoing
- Team at UNH has produced some new introductory videos on setting up and using DTS.
- Process has just started on planning for lab priorities for 2026, in order to have that in place for end-of-year.
Quoted 22 lines
From: Bruce Richardson [mailto:[email protected]]
Sent: Friday, 3 October 2025 11.18
Subject: Minutes of techboard meeting, 2025-10-01* Use of
FAST_FREEand multi-buffer/scattered mbuf flags
- The flags for enabling fast-free and supporting multi-mbuf packets
are
now documented incompatible
- Previously they were not defined as incompatible, but that seems to have been assumed for some usages.
- Techboard discussed how best to resolve this incompatibility with regards to:
- ensuring correctness
- avoiding major churn to DPDK code
- avoiding churn to end-user code
- Options discussed:
1 change definition back to not have the settings incompatible:
this
necessitates checking drivers for correctness
2 keep as explicitly incompatible and report error if both
specified:
this could break end-user apps, and requires changes to example
Quoted 8 lines
apps
3 drop the fast-free flag if multi-segment mbufs are also
specified:
"hides" the issue, but probably minimises changes. Would need to decide whether the dropping of flag done in drivers vs ethdev
level.
Pros and cons to both options. Needs clear documenting.
- No firm decision reached, will discuss more over email.
IMO, the patch [1] making MBUF_FAST_FREE and MULTI_SEGS explicitly incompatible should be reverted, at least for RC1. That will take the project back to the state it was in before we started this discussion.
And all the examples broken by the patch (because they use both TX offloads) will not need fixing.
[1]: https://patchwork.dpdk.org/project/dpdk/patch/[email protected]/
To help with definition of fast free flag, I would like the documentation to be better.
Something like:
Fast free flag allows driver to avoid expensive atomic operators on ref count and assume all mbufs in a burst are from the same pool.
Should also add debug asserts in drivers implenting fast free.
Quoted 42 lines · On Mon, Oct 6, 2025, 16:40 Morten Brørup <[email protected]> wrote:
Quoted 22 lines
From: Bruce Richardson [mailto:[email protected]]
Sent: Friday, 3 October 2025 11.18
Subject: Minutes of techboard meeting, 2025-10-01* Use of
FAST_FREEand multi-buffer/scattered mbuf flags
- The flags for enabling fast-free and supporting multi-mbuf packets
are
now documented incompatible
- Previously they were not defined as incompatible, but that seems to have been assumed for some usages.
- Techboard discussed how best to resolve this incompatibility with regards to:
- ensuring correctness
- avoiding major churn to DPDK code
- avoiding churn to end-user code
- Options discussed:
1 change definition back to not have the settings incompatible:
this
necessitates checking drivers for correctness
2 keep as explicitly incompatible and report error if both
specified:
this could break end-user apps, and requires changes to exampleQuoted 8 lines
apps
3 drop the fast-free flag if multi-segment mbufs are also
specified:
"hides" the issue, but probably minimises changes. Would need to decide whether the dropping of flag done in drivers vs ethdev
level.
Pros and cons to both options. Needs clear documenting.
- No firm decision reached, will discuss more over email.IMO, the patch [1] making
MBUF_FAST_FREEandMULTI_SEGSexplicitly incompatible should be reverted, at least for RC1.
That will take the project back to the state it was in before we started this discussion.
And all the examples broken by the patch (because they use both TX offloads) will not need fixing.[1]:
https://patchwork.dpdk.org/project/dpdk/patch/[email protected]/
RE: Use of TX offload flags MBUF_FAST_FREE and MULTI_SEGS
Quoted 7 lines
From: Stephen Hemminger [mailto:[email protected]]
Sent: Tuesday, 7 October 2025 09.59To help with definition of fast free flag, I would like the documentation to be better.
Something like:
Fast free flag allows driver to avoid expensive atomic operators on ref count and assume all mbufs in a burst are from the same pool.
IMO, for a driver to really benefit, the mbufs must also be direct, so the driver can simply free all the mbufs after they have been transmitted, and avoid this complex part of rte_pktmbuf_prefree_seg() [2]:
if (!RTE_MBUF_DIRECT(m)) {
rte_pktmbuf_detach(m);
if (RTE_MBUF_HAS_EXTBUF(m) &&
RTE_MBUF_HAS_PINNED_EXTBUF(m) &&
__rte_pktmbuf_pinned_extbuf_decref(m))
return NULL;
}[2]: https://elixir.bootlin.com/dpdk/v25.07/source/lib/mbuf/rte_mbuf.h#L1430
Quoted 41 lines
Should also add debug asserts in drivers implenting fast free.
Quoted 37 lines · On Mon, Oct 6, 2025, 16:40 Morten Brørup <[email protected]> wrote:
Quoted 22 lines
From: Bruce Richardson [mailto:[email protected]]
Sent: Friday, 3 October 2025 11.18
Subject: Minutes of techboard meeting, 2025-10-01* Use of
FAST_FREEand multi-buffer/scattered mbuf flags
- The flags for enabling fast-free and supporting multi-mbuf packets
are
now documented incompatible
- Previously they were not defined as incompatible, but that seems to have been assumed for some usages.
- Techboard discussed how best to resolve this incompatibility with regards to:
- ensuring correctness
- avoiding major churn to DPDK code
- avoiding churn to end-user code
- Options discussed:
1 change definition back to not have the settings incompatible:
this
necessitates checking drivers for correctness
2 keep as explicitly incompatible and report error if both
specified:
this could break end-user apps, and requires changes to exampleQuoted 8 lines
apps
3 drop the fast-free flag if multi-segment mbufs are also
specified:
"hides" the issue, but probably minimises changes. Would need to decide whether the dropping of flag done in drivers vs ethdev
level.
Pros and cons to both options. Needs clear documenting.
- No firm decision reached, will discuss more over email.IMO, the patch [1] making
MBUF_FAST_FREEandMULTI_SEGSexplicitly incompatible should be reverted, at least for RC1. That will take the project back to the state it was in before we started this discussion.
And all the examples broken by the patch (because they use both TX offloads) will not need fixing.[1]: https://patchwork.dpdk.org/project/dpdk/patch/[email protected]/
Use of TX offload flags MBUF_FAST_FREE and MULTI_SEGS
In reply to Bruce RichardsonQuoted 22 lines
From: Bruce Richardson [mailto:[email protected]]
Sent: Friday, 3 October 2025 11.18
Subject: Minutes of techboard meeting, 2025-10-01* Use of
FAST_FREEand multi-buffer/scattered mbuf flags
- The flags for enabling fast-free and supporting multi-mbuf packets
are
now documented incompatible
- Previously they were not defined as incompatible, but that seems to have been assumed for some usages.
- Techboard discussed how best to resolve this incompatibility with regards to:
- ensuring correctness
- avoiding major churn to DPDK code
- avoiding churn to end-user code
- Options discussed:
1 change definition back to not have the settings incompatible:
this
necessitates checking drivers for correctness
2 keep as explicitly incompatible and report error if both
specified:
this could break end-user apps, and requires changes to example
Quoted 8 lines
apps
3 drop the fast-free flag if multi-segment mbufs are also
specified:
"hides" the issue, but probably minimises changes. Would need to decide whether the dropping of flag done in drivers vs ethdev
level.
Pros and cons to both options. Needs clear documenting.
- No firm decision reached, will discuss more over email.
IMO, the patch [1] making MBUF_FAST_FREE and MULTI_SEGS explicitly incompatible should be reverted, at least for RC1. That will take the project back to the state it was in before we started this discussion.
And all the examples broken by the patch (because they use both TX offloads) will not need fixing.
[1]: https://patchwork.dpdk.org/project/dpdk/patch/[email protected]/
Re: Use of TX offload flags MBUF_FAST_FREE and MULTI_SEGS
Hi Morten,
I apologise for my original notice about the co-existence of these flags. Were it not for my notice, things wouldn't have gone wrong, I take it.
Thank you.
Quoted 38 lines · Morten Brørup
Quoted 22 lines
From: Bruce Richardson [mailto:[email protected]]
Sent: Friday, 3 October 2025 11.18
Subject: Minutes of techboard meeting, 2025-10-01* Use of
FAST_FREEand multi-buffer/scattered mbuf flags
- The flags for enabling fast-free and supporting multi-mbuf packets
are
now documented incompatible
- Previously they were not defined as incompatible, but that seems to have been assumed for some usages.
- Techboard discussed how best to resolve this incompatibility with regards to:
- ensuring correctness
- avoiding major churn to DPDK code
- avoiding churn to end-user code
- Options discussed:
1 change definition back to not have the settings incompatible:
this
necessitates checking drivers for correctness
2 keep as explicitly incompatible and report error if both
specified:
this could break end-user apps, and requires changes to exampleQuoted 8 lines
apps
3 drop the fast-free flag if multi-segment mbufs are also
specified:
"hides" the issue, but probably minimises changes. Would need to decide whether the dropping of flag done in drivers vs ethdev
level.
Pros and cons to both options. Needs clear documenting.
- No firm decision reached, will discuss more over email.IMO, the patch [1] making
MBUF_FAST_FREEandMULTI_SEGSexplicitly incompatible should be reverted, at least for RC1. That will take the project back to the state it was in before we started this discussion.
And all the examples broken by the patch (because they use both TX offloads) will not need fixing.[1]: https://patchwork.dpdk.org/project/dpdk/patch/[email protected]/
Re: Use of TX offload flags MBUF_FAST_FREE and MULTI_SEGS
In reply to Morten BrørupQuoted 31 lines · On Mon, 6 Oct 2025 16:51:38 +0200 Morten Brørup <[email protected]>…
Quoted 22 lines
From: Bruce Richardson [mailto:[email protected]]
Sent: Friday, 3 October 2025 11.18
Subject: Minutes of techboard meeting, 2025-10-01* Use of
FAST_FREEand multi-buffer/scattered mbuf flags
- The flags for enabling fast-free and supporting multi-mbuf packets
are
now documented incompatible
- Previously they were not defined as incompatible, but that seems to have been assumed for some usages.
- Techboard discussed how best to resolve this incompatibility with regards to:
- ensuring correctness
- avoiding major churn to DPDK code
- avoiding churn to end-user code
- Options discussed:
1 change definition back to not have the settings incompatible:
this
necessitates checking drivers for correctness
2 keep as explicitly incompatible and report error if both
specified:
this could break end-user apps, and requires changes to exampleQuoted 8 lines
apps
3 drop the fast-free flag if multi-segment mbufs are also
specified:
"hides" the issue, but probably minimises changes. Would need to decide whether the dropping of flag done in drivers vs ethdev
level.
Pros and cons to both options. Needs clear documenting.
- No firm decision reached, will discuss more over email.
Quoted 6 lines
IMO, the patch [1] making
MBUF_FAST_FREEandMULTI_SEGSexplicitly incompatible should be reverted, at least for RC1. That will take the project back to the state it was in before we started this discussion.
And all the examples broken by the patch (because they use both TX offloads) will not need fixing.[1]: https://patchwork.dpdk.org/project/dpdk/patch/[email protected]/
There is still code NULL PMD which checks for FAST_FREE with MULTI_SEGS. I think this commit needs to be reverted as well.
commit 675ddc233d68d90b3858cdb6267dd407c4e85984
Author: Morten Brørup <[email protected]> Date: Wed Jul 30 14:04:51 2025 +0000
net/null: add fast mbuf release Tx offload
Added fast mbuf release, reusing the existing mbuf pool pointer in the queue structure.