diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2018-05-30 00:23:18 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-05-30 00:23:18 +0300 |
commit | f3ca0ab114e0de3bbad4c4a537d32fb57aa42f81 (patch) | |
tree | 61d4855ccf24667926c42deca65c8e96e3e3692e /include | |
parent | 5ef8c0c180a6318542dce7e0701dd8e341c1265b (diff) | |
parent | 6f1006a43869ff82745eea3b88204d0a3bcc0158 (diff) | |
download | linux-f3ca0ab114e0de3bbad4c4a537d32fb57aa42f81.tar.xz |
Merge branch 'mini_cqe' into git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma for-next
Leon Romanovsky says:
====================
Introduce new internal to mlx5 CQE format - mini-CQE. It is a CQE in
compressed form that holds data needed to extra a single full CQE.
It is a stride index, byte count and packet checksum.
====================
* mini_cqe:
IB/mlx5: Introduce a new mini-CQE format
IB/mlx5: Refactor CQE compression response
net/mlx5: Exposing a new mini-CQE format
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mlx5/mlx5_ifc.h | 3 | ||||
-rw-r--r-- | include/uapi/rdma/mlx5-abi.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h index 01271716c5ad..16876fe1710b 100644 --- a/include/linux/mlx5/mlx5_ifc.h +++ b/include/linux/mlx5/mlx5_ifc.h @@ -1143,7 +1143,8 @@ struct mlx5_ifc_cmd_hca_cap_bits { u8 flex_parser_protocols[0x20]; u8 reserved_at_560[0x20]; - u8 reserved_at_580[0x3d]; + u8 reserved_at_580[0x3c]; + u8 mini_cqe_resp_stride_index[0x1]; u8 cqe_128_always[0x1]; u8 cqe_compression_128[0x1]; u8 cqe_compression[0x1]; diff --git a/include/uapi/rdma/mlx5-abi.h b/include/uapi/rdma/mlx5-abi.h index 508ea8c82da7..729b18f8c046 100644 --- a/include/uapi/rdma/mlx5-abi.h +++ b/include/uapi/rdma/mlx5-abi.h @@ -163,7 +163,7 @@ struct mlx5_ib_rss_caps { enum mlx5_ib_cqe_comp_res_format { MLX5_IB_CQE_RES_FORMAT_HASH = 1 << 0, MLX5_IB_CQE_RES_FORMAT_CSUM = 1 << 1, - MLX5_IB_CQE_RES_RESERVED = 1 << 2, + MLX5_IB_CQE_RES_FORMAT_CSUM_STRIDX = 1 << 2, }; struct mlx5_ib_cqe_comp_caps { |