[PATCH] regex/mlx5: utilize all available QPs

2023-02-20 Thread Gerry Gribbon
Fix overflow of free QP mask. Regex used 64 QPs and used a bitmask to select a free QP for use. The bitmask in use was only 32 bits so did not allow half of the QPs to be utilised. Upgraded to 64 bit mask and using ffsll now instead of ffs. Fixes: 270032608503 ("regex/mlx5: refactor HW queue objec

Re: [PATCH] regex/mlx5: utilize all available QPs

2023-03-10 Thread Thomas Monjalon
21/02/2023 08:47, Gerry Gribbon: > Fix overflow of free QP mask. > Regex used 64 QPs and used a bitmask to select a free QP for use. > The bitmask in use was only 32 bits so did not allow half of the QPs > to be utilised. > Upgraded to 64 bit mask and using ffsll now instead of ffs. > > Fixes: 270