diff options
author | Nathan Brown <nathan.brown@arm.com> | 2022-12-30 20:04:39 +0000 |
---|---|---|
committer | Beno�t Ganne <bganne@cisco.com> | 2023-02-13 15:36:28 +0000 |
commit | 844a0e8b07010ccdd5af211b91d022aa8d43c934 (patch) | |
tree | 6d53b86703a57e9f42a471d0c44a5cd0f6d23c17 /src/vlibapi/api_shared.c | |
parent | 1d998b7c27e48f71a5f3edfaf182abbcc88eca07 (diff) |
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 <nathan.brown@arm.com>
Change-Id: Idfd078d3045a4dcb674325ef36f85a89df6fbebc
Diffstat (limited to 'src/vlibapi/api_shared.c')
0 files changed, 0 insertions, 0 deletions