Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

IB/iser: Remove hard setting of path MTU

Remove hard setting of the IB MTU used by iSER's RC queue-pair to 1K,
as this was done due to inter-op issues with an old iser target which
is not used any more.

Signed-off-by: Or Gerlitz <ogerlitz@voltaire.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

authored by

Or Gerlitz and committed by
Roland Dreier
1aedb772 f3b8436a

-7
-7
drivers/infiniband/ulp/iser/iser_verbs.c
··· 401 401 if (ret) 402 402 goto failure; 403 403 404 - iser_dbg("path.mtu is %d setting it to %d\n", 405 - cma_id->route.path_rec->mtu, IB_MTU_1024); 406 - 407 - /* we must set the MTU to 1024 as this is what the target is assuming */ 408 - if (cma_id->route.path_rec->mtu > IB_MTU_1024) 409 - cma_id->route.path_rec->mtu = IB_MTU_1024; 410 - 411 404 memset(&conn_param, 0, sizeof conn_param); 412 405 conn_param.responder_resources = 4; 413 406 conn_param.initiator_depth = 1;