aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorChengchang Tang <[email protected]>2024-01-13 16:59:34 +0800
committerLeon Romanovsky <[email protected]>2024-01-25 11:54:38 +0200
commit2eb999b3d40ff825121784ec38dd5ab0abb7b606 (patch)
treec26bb4ba7e7b4c1b4c6a105aaee05e278994f36b /net/lapb/lapb_subr.c
parent0ff6c9779aafc24dd253fdf4e2d6e2dc68940818 (diff)
RDMA/hns: Support adaptive PBL hopnum
In the current implementation, a fixed addressing level is used for PBL. But in fact, the necessary addressing level is related to page size and the size of MR. This patch calculates the addressing level according to page size and the size of MR, and uses the addressing level to configure the PBL. Signed-off-by: Chengchang Tang <[email protected]> Signed-off-by: Junxian Huang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions