]> git.baikalelectronics.ru Git - kernel.git/commit
IB/isert: Align target max I/O size to initiator size
authorMax Gurtovoy <mgurtovoy@nvidia.com>
Mon, 24 May 2021 08:52:15 +0000 (11:52 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 24 Jun 2021 12:07:53 +0000 (09:07 -0300)
commitf98aeafbd482c4ddc871a9f4211c044f26f353ae
treea8a231b599205866c8f09d09efa7111e26277b8e
parent67f56c9129027c60817943ea7815bf766d219d24
IB/isert: Align target max I/O size to initiator size

Since the Linux iser initiator default max I/O size set to 512KB and since
there is no handshake procedure for this size in iser protocol, set the
default max IO size of the target to 512KB as well.

For changing the default values, there is a module parameter for both
drivers.

Link: https://lore.kernel.org/r/20210524085215.29005-1-mgurtovoy@nvidia.com
Reviewed-by: Alaa Hleihel <alaa@nvidia.com>
Reviewed-by: Israel Rukshin <israelr@nvidia.com>
Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Acked-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/ulp/isert/ib_isert.c
drivers/infiniband/ulp/isert/ib_isert.h