From patchwork Tue Mar 15 23:51:28 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Dillow X-Patchwork-Id: 638231 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p2FNoMgo003854 for ; Tue, 15 Mar 2011 23:51:32 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754598Ab1COXvb (ORCPT ); Tue, 15 Mar 2011 19:51:31 -0400 Received: from emroute3.ornl.gov ([160.91.4.110]:50657 "EHLO emroute3.ornl.gov" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753404Ab1COXva (ORCPT ); Tue, 15 Mar 2011 19:51:30 -0400 Received: from emroute3.ornl.gov ([127.0.0.1]) by emroute3.ornl.gov (PMDF V6.5-x6 #31890) with ESMTP id <0LI400G7UI9T12@emroute3.ornl.gov> for linux-rdma@vger.kernel.org; Tue, 15 Mar 2011 19:51:29 -0400 (EDT) Received: from CONVERSION-DAEMON.emroute3.ornl.gov by emroute3.ornl.gov (PMDF V6.5-x6 #31890) id <0LI400H01I9THI@emroute3.ornl.gov>; Tue, 15 Mar 2011 19:51:29 -0400 (EDT) Received: from [160.91.210.54] (lap75545.ornl.gov [160.91.210.54]) by emroute3.ornl.gov (PMDF V6.5-x6 #31890) with ESMTP id <0LI400GF4I9T67@emroute3.ornl.gov>; Tue, 15 Mar 2011 19:51:29 -0400 (EDT) Date: Tue, 15 Mar 2011 19:51:28 -0400 From: David Dillow Subject: Re: [RFC 0/8] Reliably generate large request from SRP In-reply-to: To: Bart Van Assche Cc: "roland@kernel.org" , linux-rdma@vger.kernel.org, Or Gerlitz Message-id: <1300233089.21807.26.camel@lap75545.ornl.gov> Organization: Oak Ridge National Laboratory MIME-version: 1.0 X-Mailer: Evolution 2.32.2 (2.32.2-1.fc14) Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 7bit References: <1295411242-26148-1-git-send-email-dillowda@ornl.gov> <1300148888.2772.15.camel@lap75545.ornl.gov> Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 15 Mar 2011 23:51:32 +0000 (UTC) diff --git a/drivers/infiniband/ulp/srp/ib_srp.c b/drivers/infiniband/ulp/srp/ib_srp.c index 1da8b25..376d640 100644 --- a/drivers/infiniband/ulp/srp/ib_srp.c +++ b/drivers/infiniband/ulp/srp/ib_srp.c @@ -1934,7 +1934,7 @@ static const match_table_t srp_opt_tokens = { { SRP_OPT_INITIATOR_EXT, "initiator_ext=%s" }, { SRP_OPT_CMD_SG_ENTRIES, "cmd_sg_entries=%u" }, { SRP_OPT_ALLOW_EXT_SG, "allow_ext_sg=%u" }, - { SRP_OPT_SG_TABLESIZE, "sg_tablesize=%u" }, + { SRP_OPT_SG_TABLESIZE, "sg_tablesize=%u" }, { SRP_OPT_ERR, NULL } }; @@ -2347,7 +2347,7 @@ static void srp_add_one(struct ib_device *device) fmr_param.pool_size = SRP_FMR_POOL_SIZE; fmr_param.dirty_watermark = SRP_FMR_DIRTY_SIZE; fmr_param.cache = 1; - fmr_param.max_pages_per_fmr = SRP_FMR_SIZE; + fmr_param.max_pages_per_fmr = max_pages_per_fmr; fmr_param.page_shift = fmr_page_shift; fmr_param.access = (IB_ACCESS_LOCAL_WRITE | IB_ACCESS_REMOTE_WRITE |