IB/iser: Remove hard setting of path MTU

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Thursday, March 26, 2009 - 4:59 pm

Gitweb:     http://git.kernel.org/linus/1aedb7721f05461f777fdee25b50d8a168c425ed
Commit:     1aedb7721f05461f777fdee25b50d8a168c425ed
Parent:     f3b8436ad9a8ad36b3c9fa1fe030c7f38e5d3d0b
Author:     Or Gerlitz <ogerlitz@voltaire.com>
AuthorDate: Fri Feb 27 10:30:46 2009 -0800
Committer:  Roland Dreier <rolandd@cisco.com>
CommitDate: Fri Feb 27 10:30:46 2009 -0800

    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>
---
 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 319b188..ea9e155 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)
 	if (ret)
 		goto failure;
 
-	iser_dbg("path.mtu is %d setting it to %d\n",
-		 cma_id->route.path_rec->mtu, IB_MTU_1024);
-
-	/* we must set the MTU to 1024 as this is what the target is assuming */
-	if (cma_id->route.path_rec->mtu > IB_MTU_1024)
-		cma_id->route.path_rec->mtu = IB_MTU_1024;
-
 	memset(&conn_param, 0, sizeof conn_param);
 	conn_param.responder_resources = 4;
 	conn_param.initiator_depth     = 1;
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
IB/iser: Remove hard setting of path MTU, Linux Kernel Mailing ..., (Thu Mar 26, 4:59 pm)