OSDN Git Service

IB/mlx5: Add support for CQE compressing
authorBodong Wang <bodong@mellanox.com>
Mon, 31 Oct 2016 10:16:45 +0000 (12:16 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 13 Dec 2016 18:34:20 +0000 (13:34 -0500)
commit1cbe6fc86ccfe05a910be4883da7c7bd28c190fe
tree560242bbc3aa336798d88c610f88a5494b332620
parent7e43a2a5bae39fedaa7cce21d637e0c8d96d8e54
IB/mlx5: Add support for CQE compressing

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.

Signed-off-by: Bodong Wang <bodong@mellanox.com>
Reviewed-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/cq.c
include/uapi/rdma/mlx5-abi.h