Whamcloud - gitweb
LU-14008 o2iblnd: avoid memory copy for short msg 62/40262/14
authorAlexey Lyashkov <alexey.lyashkov@hpe.com>
Wed, 12 Aug 2020 14:59:50 +0000 (17:59 +0300)
committerOleg Drokin <green@whamcloud.com>
Mon, 7 Feb 2022 04:43:34 +0000 (04:43 +0000)
commitbebd87cc6c9acc577a2fdde56e856075094f1291
tree1b318dc264a00375e8ecfded46459754f130f782
parenta2815441381cb6cee8eb9865d9279541ea04828e
LU-14008 o2iblnd: avoid memory copy for short msg

Modern cards allow to send a kernel memory data without mapping
or copy to the preallocated buffer.
It reduce a lnet selftest cpu consumption by 3% for messages
less than 4k size.

Test-Parameters: trivial
HPe-bug-id: LUS-1796
Change-Id: I96c31be680c8ea7ac289a755df7f1d4c1c7f9aef
Signed-off-by: Alexey Lyashkov <alexey.lyashkov@hpe.com>
Reviewed-on: https://review.whamcloud.com/40262
Reviewed-by: Chris Horn <chris.horn@hpe.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alexander Boyko <alexander.boyko@hpe.com>
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/klnds/o2iblnd/o2iblnd.c
lnet/klnds/o2iblnd/o2iblnd.h
lnet/klnds/o2iblnd/o2iblnd_cb.c