CQE compression feature is meant to save PCIe bandwidth.
It reduces PCI overhead by coalescing and compressing multiple CQEs into a single merged CQE.
Successful compressing improves message rate especially for small packet traffic.
Note that the driver can enable compression on a per CQE basis.
CQE Compressing in details:
Instead of writing full CQEs to memory, multiple almost identical CQEs are merged and compressed.
Information that is shared between the CQEs is written once, regardless of the number of compressed CQEs.
In addition, only the unique information (small amount of bytes compared to full CQE size) is written per CQE.
When using moderate mode (BALANCED) then there are only few CQE patched together, while in AGGRESSIVE there could be an order of magnitude CQE’s patched.
Thus, for maximum performance aggressive mode is more advantageous.