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, Nov 25, 10:18 PM
Unknown Object (File)
Sun, Nov 23, 7:52 AM
Unknown Object (File)
Nov 20 2025, 3:32 PM
Unknown Object (File)
Nov 14 2025, 10:23 PM
Unknown Object (File)
Oct 28 2025, 1:43 PM
Unknown Object (File)
Oct 26 2025, 6:08 PM
Unknown Object (File)
Oct 26 2025, 1:49 PM
Unknown Object (File)
Oct 26 2025, 12:03 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