Skip to content

Commit 71405d0

Browse files
david-marchandtmonjalo
authored andcommitted
doc: announce changes in structure alignments for UBSan
As part of the effort to limit undefined behaviors in DPDK code, some structure alignments revealed not to be accurate enough. At the moment two structures have been identified but others may be found while running more parts of DPDK with UBSan. Though the calling code can explicitly request alignment, we would prefer to put the alignment constraints as part of the structure definition itself. Such changes are ABI breakages. Signed-off-by: David Marchand <[email protected]> Acked-by: Bruce Richardson <[email protected]> Acked-by: Morten Brørup <[email protected]> Acked-by: Konstantin Ananyev <[email protected]>
1 parent 2163ffe commit 71405d0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/guides/rel_notes/deprecation.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ Deprecation Notices
5757
``__atomic_thread_fence`` must be used for patches that need to be merged in
5858
20.08 onwards. This change will not introduce any performance degradation.
5959

60+
* lib: Multiple issues relating to unaligned accesses have been detected using the UBSan checker.
61+
As part of resolving those issues, alignment in some structures will be updated in 25.11,
62+
namely (but not exhaustively): ``struct rte_stack_lf_head`` and ``struct rte_mp_msg``.
63+
6064
* lib: will fix extending some enum/define breaking the ABI. There are multiple
6165
samples in DPDK that enum/define terminated with a ``.*MAX.*`` value which is
6266
used by iterators, and arrays holding these values are sized with this

0 commit comments

Comments
 (0)