Skip to content

RFC eal: make unaligned types really unaligned

Stephen Hemminger dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3eal: make unaligned really unaligneddoc/guides/rel_notes/release_26_11.rst lib/eal/include/rte_common.h+9 -60 replies
2/3net/mlx5: drop unnecessary STRICT_ALIGNdrivers/net/mlx5/mlx5_tx.h+1 -111 reply
3/3arm: remove no longer used RTE_ARCH_STRICT_ALIGNconfig/arm/meson.build+0 -10 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchStephen HemmingerMorten BrørupSun YuechiDariusz Sosnowski
SeriesR-b R-b A-b A-b A-b A-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [RFC 0/3] eal: make unaligned types really unaligned

UBSAN reported issues in the tests added by the RTE_PTR_ADD/SUB patch. The root cause is that unaligned_uint16_t, unaligned_uint32_t and unaligned_uint64_t are not really unaligned on x86; they only get an alignment of 1 when RTE_ARCH_STRICT_ALIGN is set.

Once that is fixed, RTE_ARCH_STRICT_ALIGN is no longer needed and can be removed along with its last user in mlx5.

Stephen Hemminger (3):
eal: make unaligned really unaligned net/mlx5: drop unnecessary STRICT_ALIGN
arm: remove no longer used RTE_ARCH_STRICT_ALIGN

 config/arm/meson.build                 |  1 -
 doc/guides/rel_notes/release_26_11.rst |  6 ++++++
 drivers/net/mlx5/mlx5_tx.h             | 12 +-----------
 lib/eal/include/rte_common.h           |  9 +++------
 4 files changed, 10 insertions(+), 18 deletions(-)

--
2.51.0

Stephen Hemminger (3):
eal: make unaligned really unaligned net/mlx5: drop unnecessary STRICT_ALIGN
arm: remove no longer used RTE_ARCH_STRICT_ALIGN

 config/arm/meson.build                 |  1 -
 doc/guides/rel_notes/release_26_11.rst |  6 ++++++
 drivers/net/mlx5/mlx5_tx.h             | 12 +-----------
 lib/eal/include/rte_common.h           |  9 +++------
 4 files changed, 10 insertions(+), 18 deletions(-)
Signature · 1 line
2.53.0