Re: [dpdk-dev] [PATCH 2/4] compress/mlx5: fix constant size in QP creation

2021-06-07 Thread Matan Azrad
From: Michael Baum: > The mlx5_compress_qp_setup function makes shifting to the numeric > constant 1, then sends it as a parameter to rte_calloc function. > > The rte_calloc function expects to get size_t (64 bits, unsigned) and instead > gets a 32-bit variable, because the numeric constant siz

[dpdk-dev] [PATCH 2/4] compress/mlx5: fix constant size in QP creation

2021-06-01 Thread Michael Baum
The mlx5_compress_qp_setup function makes shifting to the numeric constant 1, then sends it as a parameter to rte_calloc function. The rte_calloc function expects to get size_t (64 bits, unsigned) and instead gets a 32-bit variable, because the numeric constant size is a 32-bit. In case the shift