From patchwork Thu Jul 9 20:42:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chuck Lever III X-Patchwork-Id: 6758941 Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E16DB9F38C for ; Thu, 9 Jul 2015 20:42:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0F09C2078F for ; Thu, 9 Jul 2015 20:42:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 318622078A for ; Thu, 9 Jul 2015 20:42:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752139AbbGIUmN (ORCPT ); Thu, 9 Jul 2015 16:42:13 -0400 Received: from mail-qg0-f48.google.com ([209.85.192.48]:36485 "EHLO mail-qg0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753613AbbGIUmM (ORCPT ); Thu, 9 Jul 2015 16:42:12 -0400 Received: by qgeg89 with SMTP id g89so120736940qge.3; Thu, 09 Jul 2015 13:42:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:from:to:date:message-id:in-reply-to:references :user-agent:mime-version:content-type:content-transfer-encoding; bh=AwCjCB25pQ0P0TMb84UEh2bTQsRU/GXYK8yHf3WTLFg=; b=lSblp78NmpHX8sNEp1Nvl7ZUST2LGDH2FfU6+nMTXB0tOLkkPmjWX0jhFBM7fa0zRu Azz8VGqxKBfpqx3YUp3uEdte/fXXODw2uKGBNl0okYa4Q/jDN6x6JwsagUS1ntk+4InR lzS/boh6Bx8LsCoKqSlPun7u/gnijFKmHoED+bGBA71SrnzbYtdMaPXG7YYzNy0bD5KU vZxOHjT9Dxt8zZOvo0xxNGkxz8r6JpxMSH8lB4NjXCIQEyU5gM0I1vbkuuc0oRlegimG kix5haulaZFKPH9ONz9Uv6ECaoSr62vlzRS7oU4AMbbDDjjJtFNtw0qzKVhVrkY++JLB PRPA== X-Received: by 10.140.194.141 with SMTP id p135mr29527433qha.20.1436474531293; Thu, 09 Jul 2015 13:42:11 -0700 (PDT) Received: from manet.1015granger.net ([2604:8800:100:81fc:82ee:73ff:fe43:d64f]) by smtp.gmail.com with ESMTPSA id 73sm901588qkv.22.2015.07.09.13.42.09 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Jul 2015 13:42:10 -0700 (PDT) Subject: [PATCH v1 03/12] xprtrdma: Increase default credit limit From: Chuck Lever To: linux-rdma@vger.kernel.org, linux-nfs@vger.kernel.org Date: Thu, 09 Jul 2015 16:42:08 -0400 Message-ID: <20150709204208.26247.52073.stgit@manet.1015granger.net> In-Reply-To: <20150709203242.26247.4848.stgit@manet.1015granger.net> References: <20150709203242.26247.4848.stgit@manet.1015granger.net> User-Agent: StGit/0.17.1-3-g7d0f MIME-Version: 1.0 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP In preparation for similar increases on NFS/RDMA servers, bump the advertised credit limit for RPC/RDMA to 128. This allocates some extra resources, but the client will continue to allow only the number of RPCs in flight that the server requests via its advertised credit limit. Signed-off-by: Chuck Lever Reviewed-By: Sagi Grimberg --- include/linux/sunrpc/xprtrdma.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/include/linux/sunrpc/xprtrdma.h b/include/linux/sunrpc/xprtrdma.h index b176130..b7b279b 100644 --- a/include/linux/sunrpc/xprtrdma.h +++ b/include/linux/sunrpc/xprtrdma.h @@ -49,7 +49,7 @@ * a single chunk type per message is supported currently. */ #define RPCRDMA_MIN_SLOT_TABLE (2U) -#define RPCRDMA_DEF_SLOT_TABLE (32U) +#define RPCRDMA_DEF_SLOT_TABLE (128U) #define RPCRDMA_MAX_SLOT_TABLE (256U) #define RPCRDMA_DEF_INLINE (1024) /* default inline max */