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, Apr 16, 3:47 PM
Unknown Object (File)
Nov 11 2023, 12:55 AM
Unknown Object (File)
Nov 7 2023, 10:48 AM
Unknown Object (File)
Oct 30 2023, 10:46 PM
Unknown Object (File)
Oct 9 2023, 11:51 PM
Unknown Object (File)
Sep 24 2023, 10:47 PM
Unknown Object (File)
Sep 6 2023, 5:54 AM
Unknown Object (File)
Jul 4 2023, 12: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