IB/mlx5: Report mlx5 CQE compression caps during query
authorBodong Wang <bodong@mellanox.com>
Mon, 31 Oct 2016 10:16:44 +0000 (12:16 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 13 Dec 2016 18:34:03 +0000 (13:34 -0500)
commit7e43a2a5bae39fedaa7cce21d637e0c8d96d8e54
tree519f0766738abbd319167e32bf4c8a8321c41de5
parent191ded4a4d991acf17207e0b4370fef070bce3e9
IB/mlx5: Report mlx5 CQE compression caps during query

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.

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/main.c
include/uapi/rdma/mlx5-abi.h