summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc
diff options
context:
space:
mode:
authorJunxian Huang <huangjunxian6@hisilicon.com>2026-09-07 16:49:00 +0800
committerLeon Romanovsky <leon@kernel.org>2026-09-10 07:55:03 -0400
commitbb464eeadd301c3a53e9f92a2a472b73c42b74c4 (patch)
treeb669e38af1662d68511087d62549d3a42ebee59c /tools/lib/python/kdoc
parent593fd6c48861364b445f1181a7818370b8280c13 (diff)
RDMA/hns: Limit gmv_entry_num to avoid memory waste
The GMV entry is a HW object corresponding to a GID. Since gid_table_len is already limited to a maximum of 256, there is no need to allocate memory for those extra GMV entries as they will never be touched. Fixes: 7243396aaf12 ("RDMA/hns: Add a max length of gid table") Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com> Link: https://patch.msgid.link/20260907084901.2420703-3-huangjunxian6@hisilicon.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions