diff options
| author | 2026-09-07 16:49:01 +0800 | |
|---|---|---|
| committer | 2026-09-10 07:55:03 -0400 | |
| commit | 95761b8736c938759032e8d4eb42074d39d13007 (patch) | |
| tree | f3d3260a931f392d50d66a1a826d19f31be6eb35 /scripts/Makefile.thinlto | |
| parent | RDMA/hns: Limit gmv_entry_num to avoid memory waste (diff) | |
RDMA/hns: Fix GID capacity loss in 64K system
Our HW always handles GMV BT pages with a fixed 4K size, but the driver
calculates the needed GMV BT pages number with PAGE_SIZE, which is 64K
in 64K system. Only the first 4K (GMV index 0-127) can be reached by HW,
causing GID capacity loss and memory waste.
Split a single 64K BT page into multiple 4K pages and register them to
HW per 4K block so that HW can correctly reach all GMV entries.
Fixes: 32053e584e4a ("RDMA/hns: Add support for filling GMV table")
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://patch.msgid.link/20260907084901.2420703-4-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
