[roce-0114]RDMA/hns: Correct the value of HNS_ROCE_HEM_CHUNK_LEN
Bug #1859597 reported by
Fred Kimmy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kunpeng920 |
Fix Released
|
Undecided
|
Unassigned | ||
Ubuntu-18.04 |
Fix Released
|
Undecided
|
Unassigned | ||
Ubuntu-18.04-hwe |
Fix Released
|
Undecided
|
Unassigned | ||
Ubuntu-20.04 |
Fix Released
|
Undecided
|
Unassigned | ||
Upstream-kernel |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Bug Description]
Size of pointer to buf field of struct hns_roce_hem_chunk should be considered when calculating HNS_ROCE_
[Steps to Reproduce]
NA
[Actual Results]
Use wrong size to init sg table when allocating hem
[Expected Results]
Allocating hem correctly
[Reproducibility]
Inevitably
[Additional information]
Hardware: D06 CS
Firmware: NA
Kernel: NA
[Resolution]
Add size of pointer to buf field of struct hns_roce_hem_chunk when caculating HNS_ROCE_
RDMA/hns: Correct the value of HNS_ROCE_
In bionic/master-next and focal kernel.