]> git.baikalelectronics.ru Git - kernel.git/commit
IB/srp: Introduce srp_device.use_fmr
authorBart Van Assche <bart.vanassche@sandisk.com>
Tue, 11 Aug 2015 00:08:44 +0000 (17:08 -0700)
committerDoug Ledford <dledford@redhat.com>
Sun, 30 Aug 2015 22:12:38 +0000 (18:12 -0400)
commit57544790e3d57410ce177bbde6be2604764d94c4
tree552c36954b317750b75d3afa071b41c248bedbb5
parent8d27305233ba75cce719ba1fb9f38d220bdc115a
IB/srp: Introduce srp_device.use_fmr

Introduce the variable srp_device.use_fmr. Leave out the dev->has_fr /
dev->has_fmr and ch->fr_pool / ch->fmr_pool checks since these are
redundant. This patch does not change any functionality but makes the
source code easier to read.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/srp/ib_srp.c
drivers/infiniband/ulp/srp/ib_srp.h