> > Subject: [PATCH] crypto/cnxk: update number of max capabilities > > > > To ensure that the end marker can fit into the capabilities array, the max > > number of capabilities has been incremented. > > Additionally, throw an error if max length is reached. It's critical because > > `rte_cryptodev_capabilities` in dev_info relies on the end marker. > > Without it, all capabilities scans will read memory outside of the array. > > > > Signed-off-by: Volodymyr Fialko <vfia...@marvell.com> > > --- > > drivers/common/cnxk/roc_platform.h | 1 + > > drivers/crypto/cnxk/cnxk_cryptodev.h | 2 +- > > .../crypto/cnxk/cnxk_cryptodev_capabilities.c | 18 +++++------------- > > 3 files changed, 7 insertions(+), 14 deletions(-) > > Acked-by: Anoob Joseph <ano...@marvell.com> Applied to dpdk-next-crypto
Thanks.