diff options
author | Or Gerlitz <ogerlitz@voltaire.com> | 2009-02-27 13:30:46 -0500 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2009-02-27 13:30:46 -0500 |
commit | 1aedb7721f05461f777fdee25b50d8a168c425ed (patch) | |
tree | cb2a6de3a29efa68ca229a8281b0d85bb7d95e96 /drivers/infiniband | |
parent | f3b8436ad9a8ad36b3c9fa1fe030c7f38e5d3d0b (diff) |
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>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/ulp/iser/iser_verbs.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/infiniband/ulp/iser/iser_verbs.c b/drivers/infiniband/ulp/iser/iser_verbs.c index 319b188145b..ea9e1556e0d 100644 --- a/drivers/infiniband/ulp/iser/iser_verbs.c +++ b/drivers/infiniband/ulp/iser/iser_verbs.c | |||
@@ -401,13 +401,6 @@ static void iser_route_handler(struct rdma_cm_id *cma_id) | |||
401 | if (ret) | 401 | if (ret) |
402 | goto failure; | 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 | memset(&conn_param, 0, sizeof conn_param); | 404 | memset(&conn_param, 0, sizeof conn_param); |
412 | conn_param.responder_resources = 4; | 405 | conn_param.responder_resources = 4; |
413 | conn_param.initiator_depth = 1; | 406 | conn_param.initiator_depth = 1; |