]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
IB/srp: Introduce the 'register_always' kernel module parameter
authorBart Van Assche <bvanassche@acm.org>
Tue, 20 May 2014 13:06:41 +0000 (15:06 +0200)
committerRoland Dreier <roland@purestorage.com>
Tue, 20 May 2014 16:20:52 +0000 (09:20 -0700)
commitb1b8854d1622b99b64cd98ed307ffd168c6d3ebd
treec001c3ef7ba5d870b49c214552b38da549111d61
parent539dde6fc5c30cfa76439de03ed3ba444d2579b3
IB/srp: Introduce the 'register_always' kernel module parameter

Add a kernel module parameter that enables memory registration also for SG-lists
that can be processed without memory registration. This makes it easier for kernel
developers to test the memory registration code.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/ulp/srp/ib_srp.c