Skip to content

RDMA/hns: Add supports for stash

Weihang Li linux-rdma 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 0 repliesNew
  2. v32 patches 2 repliesSuperseded
  3. v22 patches 8 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches2 repliesSuperseded

Changes in v4 from the cover letter

- Add strcuture name as a parameter when defining a field, the hr_reg_enable() will check the type and cast the array to __le32 *.
- Fix the alignment style of CQC and QPC structure.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2RDMA/hns: Add support for CQ stashdrivers/infiniband/hw/hns/hns_roce_common.h drivers/infiniband/hw/hns/hns_roce_device.h drivers/infiniband/hw/hns/hns_roce_hw_v2.c +1 more+37 -160 replies
2/2RDMA/hns: Add support for QP stashdrivers/infiniband/hw/hns/hns_roce_hw_v2.c drivers/infiniband/hw/hns/hns_roce_hw_v2.h+75 -610 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 for-next 0/2] RDMA/hns: Add supports for stash

Stash is a mechanism that uses the core information carried by the ARM AXI bus to access the L3 cache. The CPU and I/O subsystems can access the L3 cache consistently by enabling stash, so the performance can be improved.

Changes since v3:
- Add strcuture name as a parameter when defining a field, the hr_reg_enable() will check the type and cast the array to __le32 *.
- Fix the alignment style of CQC and QPC structure.

Changes since v2:
- Replace hr_reg_set() with hr_reg_enable(), which supports to set a single bit.

Changes since v1:
- Fix comments from Jason about the unused macros.
- Rewrite hr_reg_set() to make it easier for driver to define and set a field.

Previous versions:
v3: https://patchwork.kernel.org/project/linux-rdma/cover/[email protected]/
v2: https://patchwork.kernel.org/project/linux-rdma/cover/[email protected]/
v1: https://patchwork.kernel.org/project/linux-rdma/cover/[email protected]/

Lang Cheng (2):
RDMA/hns: Add support for CQ stash
RDMA/hns: Add support for QP stash

 drivers/infiniband/hw/hns/hns_roce_common.h |  12 ++
 drivers/infiniband/hw/hns/hns_roce_device.h |   1 +
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c  |   9 ++
 drivers/infiniband/hw/hns/hns_roce_hw_v2.h  | 167 +++++++++++++++-------------
 4 files changed, 112 insertions(+), 77 deletions(-)
Signature · 1 line
2.8.1