rdma: always use 64 byte CQEs for MLX5 42/38242/2
authorNathan Brown <[email protected]>
Fri, 30 Dec 2022 20:04:39 +0000 (20:04 +0000)
committerBeno�t Ganne <[email protected]>
Mon, 13 Feb 2023 15:36:28 +0000 (15:36 +0000)
commit844a0e8b07010ccdd5af211b91d022aa8d43c934
tree6d53b86703a57e9f42a471d0c44a5cd0f6d23c17
parent1d998b7c27e48f71a5f3edfaf182abbcc88eca07
rdma: always use 64 byte CQEs for MLX5

When DPDK MLX PMDs are built, and the DPDK plugin is loaded, DPDK may
set the MLX5_CQE_SIZE environment variable to 128. This causes the RDMA
plugin to be unable to create completion queues. Since the RDMA plugin
expects the CQEs to be 64 bytes, set the cqe_size explicitly when
creating the CQ. This avoids any issues with different values for the
MLX5_CQE_SIZE environment variable.

Type: improvement
Signed-off-by: Nathan Brown <[email protected]>
Change-Id: Idfd078d3045a4dcb674325ef36f85a89df6fbebc
src/plugins/rdma/device.c