Page MenuHomeFreeBSD

IB/mlx5: Add support for CQE compressing
Needs ReviewPublic

Authored by vag.singh_oneconvergence.com on Sep 28 2021, 1:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 5, 6:23 AM
Unknown Object (File)
Wed, Apr 15, 12:37 AM
Unknown Object (File)
Apr 13 2026, 9:53 AM
Unknown Object (File)
Apr 7 2026, 2:23 AM
Unknown Object (File)
Apr 5 2026, 7:40 PM
Unknown Object (File)
Apr 5 2026, 8:46 AM
Unknown Object (File)
Mar 21 2026, 3:09 AM
Unknown Object (File)
Mar 17 2026, 6:10 AM

Details

Reviewers
kib
hselasky
Summary

[PATCH 06/31] FreeBSD OFED support for DPDK MLX5 PMD

CQE compressing reduces PCI overhead by coalescing and compressing
multiple CQEs into a single merged CQE. Successful compressing
improves message rate especially for small packet traffic.

CQE compressing is supported for all 64B CQE formats (with certain
limitations) generated by RQ/Responder or by SQ/Requestor.

IB/mlx5: Report mlx5 CQE compression capabilities when querying device
The capabilities include:

  • Max number of compressed and aggregated CQEs in a single session, while zero means unsupported.
  • For Responder, there are two formats of mini CQE: mini CQE with Rx hash and mini CQE with checksum. They're mutual exclusive.
Test Plan

Tested on KVM, ESXi, and HyperV/Azure Hypervisors with FreeBSD 14.0-CURRENT and FreeBSD12.1-STABLE.

iperf
DPDK MLX5 PMD/testpmd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped