On Debian 8.4, I have the ib_srpt module loaded. When I start targetcli, I don't see the ib_srpt object in the tree.
bsmith@10-deb:~/targetcli-deb$ lsmod | grep ib_
ib_srpt 44810 0
ib_isert 51560 0
iscsi_target_mod 258069 1 ib_isert
target_core_mod 299013 3 iscsi_target_mod,ib_srpt,ib_isert
ib_srp 39710 0
scsi_transport_srp 18241 1 ib_srp
ib_ipoib 85167 0
ib_umad 21450 0
ib_uverbs 44653 1 rdma_ucm
rdma_cm 39562 2 rdma_ucm,ib_isert
ib_cm 39055 4 rdma_cm,ib_srp,ib_srpt,ib_ipoib
ib_sa 26986 5 rdma_cm,ib_cm,ib_srp,rdma_ucm,ib_ipoib
ib_mad 53479 5 hfi1,ib_cm,ib_sa,ib_srpt,ib_umad
ib_core 68904 13 hfi1,rdma_cm,ib_cm,ib_sa,iw_cm,ib_mad,ib_srp,ib_srpt,ib_umad,ib_uverbs,rdma_ucm,ib_ipoib,ib_isert
ib_addr 17148 3 rdma_cm,ib_core,rdma_ucm
scsi_mod 191405 8 sg,scsi_transport_srp,scsi_tgt,ib_srp,libata,iscsi_target_mod,target_core_mod,sd_mod
bsmith@10-deb:~$ sudo targetcli
Warning: Could not load preferences file /root/.targetcli/prefs.bin.
targetcli 3.0.pre4.5~ga125182 (rtslib 3.0.pre4.9~g6fd0bbf)
Copyright (c) 2011-2014 by Datera, Inc.
All rights reserved.
/> ls
o- / ..................................................................... [...]
o- backstores .......................................................... [...]
| o- fileio ............................................... [0 Storage Object]
| o- iblock ............................................... [0 Storage Object]
| o- pscsi ................................................ [0 Storage Object]
| o- rd_mcp ............................................... [0 Storage Object]
o- iscsi ......................................................... [0 Targets]
o- loopback ...................................................... [0 Targets]
/>
On Debian 8.4, I have the ib_srpt module loaded. When I start targetcli, I don't see the ib_srpt object in the tree.