Skip to content

Fix LTO compilation warnings

Stephen Hemminger dpdk-dev 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest6 patches 8 repliesIn review
  2. v56 patches 4 repliesSuperseded
  3. v46 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v23 patches0 repliesSuperseded
v1 RFC3 patches1 replySuperseded

Changes in v6 from the cover letter

- net/mlx5: use __rte_assume() instead of runtime bounds check per Dariusz Sosnowski's review, avoiding any overhead on the flow creation fast path

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6common/cnxk: replace variable length state arraydrivers/common/cnxk/roc_aes.c+2 -12 replies
2/6common/cnxk: replace variable length arraydrivers/common/cnxk/roc_platform.c+2 -21 reply
3/6common/cnxk: re-enable vla warningsdrivers/common/cnxk/meson.build+0 -11 reply
4/6common/cnxk: fix buffer overflow in SA setupdrivers/common/cnxk/roc_nix_inl.c+1 -11 reply
5/6ring: use inline instead of always inline in soringlib/ring/soring.c+2 -20 replies
6/6net/mlx5: fix LTO stringop-overflow warningdrivers/net/mlx5/hws/mlx5dr_action.c+11 -01 reply

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchKonstantin AnanyevMorten BrørupDariusz SosnowskiTejasree KondojNithin Dabilpuram
1/6A-b
2/6A-b
3/6A-b
4/6A-b
5/6A-b T-b A-b
6/6A-b

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

Read the v6 thread

Cover letter [PATCH v6 0/6] Fix LTO compilation warnings

This series fixes compilation warnings and one buffer overflow bug exposed when building DPDK with Link Time Optimization (LTO) enabled.

v6:
- net/mlx5: use __rte_assume() instead of runtime bounds check per Dariusz Sosnowski's review, avoiding any overhead on the flow creation fast path

Stephen Hemminger (6):
common/cnxk: replace variable length state array common/cnxk: replace variable length array common/cnxk: re-enable vla warnings common/cnxk: fix buffer overflow in SA setup
ring: use inline instead of always inline in soring net/mlx5: fix LTO stringop-overflow warning

 drivers/common/cnxk/meson.build      |  1 -
 drivers/common/cnxk/roc_aes.c        |  3 ++-
 drivers/common/cnxk/roc_nix_inl.c    |  2 +-
 drivers/common/cnxk/roc_platform.c   |  4 ++--
 drivers/net/mlx5/hws/mlx5dr_action.c | 11 +++++++++++
 lib/ring/soring.c                    |  4 ++--
 6 files changed, 18 insertions(+), 7 deletions(-)
Signature · 1 line
2.51.0