547ed331bb
According to SRP specifications 'srp-r16a' and 'srp2r06', IOControllerProfile attributes for SRP target port include the maximum initiator to target IU size. SRP connection daemons, such as srp_daemon, can get the value from the subnet manager. The SRP connection daemon can pass this value to kernel. This patch adds a parse function for it. Upstream commit [1] enables the kernel parameter, 'use_imm_data', by default. [1] also use (8 * 1024) as the default value for kernel parameter 'max_imm_data'. With those default values, the maximum initiator to target IU size will be 8260. In case the SRPT modules, which include the in-tree 'ib_srpt.ko' module, do not support SRP-2 'immediate data' feature, the default maximum initiator to target IU size is significantly smaller than 8260. For 'ib_srpt.ko' module, which built from source before [2], the default maximum initiator to target IU is 2116. [1] introduces a regression issue for old srp targets with default kernel parameters, as the connection will be rejected because of a too large maximum initiator to target IU size. [1] commit |
||
---|---|---|
.. | ||
firewire-cdev | ||
o2cb | ||
syscalls | ||
sysfs-acpi-pmprofile | ||
sysfs-bus-firewire | ||
sysfs-bus-nvmem | ||
sysfs-bus-usb | ||
sysfs-bus-vmbus | ||
sysfs-bus-w1 | ||
sysfs-bus-xen-backend | ||
sysfs-class-backlight | ||
sysfs-class-infiniband | ||
sysfs-class-rfkill | ||
sysfs-class-tpm | ||
sysfs-class-ubi | ||
sysfs-class-udc | ||
sysfs-devices | ||
sysfs-devices-node | ||
sysfs-devices-system-cpu | ||
sysfs-devices-system-xen_memory | ||
sysfs-driver-aspeed-vuart | ||
sysfs-driver-dma-ioatdma | ||
sysfs-driver-ib_srp | ||
sysfs-driver-mlxreg-io | ||
sysfs-driver-qla2xxx | ||
sysfs-driver-usb-usbtmc | ||
sysfs-driver-w1_ds28e04 | ||
sysfs-driver-w1_ds28ea00 | ||
sysfs-firmware-efi-vars | ||
sysfs-firmware-opal-dump | ||
sysfs-firmware-opal-elog | ||
sysfs-fs-orangefs | ||
sysfs-hypervisor-xen | ||
sysfs-module | ||
sysfs-transport-srp | ||
thermal-notification | ||
vdso |