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(-)
--
2.51.0