RDMA/hns: Use new interfaces to write/read fields
Status from this message: Applied to for-next, thanks
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest9 patches 1 replyApplied
- v48 patches 4 repliesSuperseded
- v38 patches 2 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 posting 2/2 | 7 patches | 2 replies | Superseded | |
| v2 posting 1/2 | 7 patches | 1 reply | Superseded | |
| v1 | 6 patches | 1 reply | Superseded |
Changes in v5 from the cover letter
* Change the way to fix the sparse warning, we introduce
hr_reg_write_bool() for 1 bit-width field.
* Link: https://patchwork.kernel.org/project/linux-rdma/cover/[email protected]/
Patches in v5 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | RDMA/hns: Fix sparse warnings when calling hr_reg_write()drivers/ | +1 | 0 replies | |
| 2/9 | RDMA/hns: Add a check to ensure integer mtu is positivedrivers/ | +10 | 0 replies | |
| 3/9 | RDMA/hns: Add hr_reg_write_bool()drivers/ drivers/ | +20 | 0 replies | |
| 4/9 | RDMA/hns: Use new interface to write CQ context.drivers/ drivers/ | +79 | 0 replies | |
| 5/9 | RDMA/hns: Use new interface to modify QP contextdrivers/ drivers/ | +449 | 0 replies | |
| 6/9 | RDMA/hns: Use new interface to get CQE fieldsdrivers/ drivers/ | +48 | 0 replies | |
| 7/9 | RDMA/hns: Use new interface to write FRMR fieldsdrivers/ drivers/ | +22 | 0 replies | |
| 8/9 | RDMA/hns: Use new interface to write DB related fieldsdrivers/ drivers/ | +49 | 0 replies | |
| 9/9 | RDMA/hns: Clean SRQC structure definitiondrivers/ drivers/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.
Cover letter [PATCH v5 for-next 0/9] RDMA/hns: Use new interfaces to write/read fields
hr_reg_*() is simpler than roce_set_*(), and the field/bit can be generated automatically and accurately. This series first fixes two issues on hr_reg_*(), then introduces hr_reg_write_bool() for 1 bit-width field, does the replacement at last.
Changes since v4:
* Change the way to fix the sparse warning, we introduce
hr_reg_write_bool() for 1 bit-width field.
* Link: https://patchwork.kernel.org/project/linux-rdma/cover/[email protected]/
Changes since v3:
* Use "val ? 1 : 0" instead of "!!val" for hr_reg_write to avoid sparse
warnings.
* Link: https://patchwork.kernel.org/project/linux-rdma/cover/[email protected]/
Changes since v2:
* Add a patch to solve the gcc warnings about PREP_FIELD() by adding a
check for mtu. Therefore only the parts which fix the sparse warning is
reserved in #1.
* Link: https://patchwork.kernel.org/project/linux-rdma/cover/[email protected]/
Changes since v1:
* Add a patch to fix gcc warnings about PREP_FIELD().
* Fix a typo in #5.
* Link: https://patchwork.kernel.org/project/linux-rdma/cover/[email protected]/
Lang Cheng (3):
RDMA/hns: Add hr_reg_write_bool() RDMA/hns: Use new interface to modify QP context RDMA/hns: Use new interface to get CQE fields
Weihang Li (2):
RDMA/hns: Fix sparse warnings when calling hr_reg_write() RDMA/hns: Add a check to ensure integer mtu is positive
Xi Wang (1):
RDMA/hns: Clean SRQC structure definition
Yixing Liu (3):
RDMA/hns: Use new interface to write CQ context. RDMA/hns: Use new interface to write FRMR fields RDMA/hns: Use new interface to write DB related fields
drivers/infiniband/hw/hns/hns_roce_common.h | 8 + drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 1124 ++++++++++----------------- drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 862 +++++++------------- 3 files changed, 679 insertions(+), 1315 deletions(-)
Signature · 1 line
2.7.4