aboutsummaryrefslogtreecommitdiff
path: root/sys/cam/ctl/ctl_tpc.c
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2014-07-17 21:16:52 +0000
committerAlexander Motin <mav@FreeBSD.org>2014-07-17 21:16:52 +0000
commit8cbf9eae6f129323eeb6b9e77e9baa4b6e17a828 (patch)
treefc4be5f3b6e4b9743e280f46c8be2a6398ea6dc4 /sys/cam/ctl/ctl_tpc.c
parent38afa8f733a6ce89f0b924655358268ce61ff5f3 (diff)
downloadsrc-8cbf9eae6f129323eeb6b9e77e9baa4b6e17a828.tar.gz
src-8cbf9eae6f129323eeb6b9e77e9baa4b6e17a828.zip
Increase maximal number of SCSI ports in CTL from 32 to 128.
After I gave each iSCSI target its own port, the old limit appeared to be not so big. This change almost proportionally increases per-LUN memory use, but it is still three times better then it was before r268807. MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=268808
Diffstat (limited to 'sys/cam/ctl/ctl_tpc.c')
-rw-r--r--sys/cam/ctl/ctl_tpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/ctl/ctl_tpc.c b/sys/cam/ctl/ctl_tpc.c
index d5baa01a008c..ad66ca9961bd 100644
--- a/sys/cam/ctl/ctl_tpc.c
+++ b/sys/cam/ctl/ctl_tpc.c
@@ -89,7 +89,7 @@ struct tpc_io {
struct tpc_list {
uint8_t service_action;
int init_port;
- uint16_t init_idx;
+ uint32_t init_idx;
uint32_t list_id;
uint8_t flags;
uint8_t *params;