Whamcloud - gitweb
LU-14798 lnet: add LNet GPU Direct Support 10/44110/2
authorAmir Shehata <ashehata@whamcloud.com>
Thu, 6 Feb 2020 03:14:17 +0000 (19:14 -0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 10 Aug 2021 15:40:49 +0000 (15:40 +0000)
commita7a889f77cec3ad44543fd0b33669521e612097d
tree038973cc2eba647c6592b63b2be0d5991933dbff
parent644cb83921451316d226d8de1c81a82abb4b333e
LU-14798 lnet: add LNet GPU Direct Support

This patch exports registration/unregistration functions
which are called by the NVFS module to let the LND know
that it can call into the NVFS module to do RDMA mapping
of GPU shadow pages.

GPU priority is considered during NI selection.

Less than 4K writes are always RDMAed if the rdma source is
the gpu device

Signed-off-by: Amir Shehata <ashehata@whamcloud.com>
Change-Id: I2bfdbdd5fe3b8536e616ab442d18deace6756d57
lustre-change: https://review.whamcloud.com/37368
Reviewed-by: Wang Shilong <wshilong@ddn.com>
Reviewed-by: Li Xi <lixi@ddn.com>
Whamcloud-bug-id: EX-773
Reviewed-on: https://review.whamcloud.com/44110
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lnet/include/lnet/Makefile.am
lnet/include/lnet/lib-types.h
lnet/include/lnet/lnet_rdma.h [new file with mode: 0644]
lnet/klnds/o2iblnd/o2iblnd.c
lnet/klnds/o2iblnd/o2iblnd.h
lnet/klnds/o2iblnd/o2iblnd_cb.c
lnet/lnet/Makefile.in
lnet/lnet/lib-move.c
lnet/lnet/lnet_rdma.c [new file with mode: 0644]