From patchwork Mon Jul 20 19:02:52 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: 6829861 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 80CF39F38B for ; Mon, 20 Jul 2015 19:03:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B0A642037F for ; Mon, 20 Jul 2015 19:03:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BFAD5203B0 for ; Mon, 20 Jul 2015 19:02:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755250AbbGTTC4 (ORCPT ); Mon, 20 Jul 2015 15:02:56 -0400 Received: from mail-qk0-f180.google.com ([209.85.220.180]:32973 "EHLO mail-qk0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752578AbbGTTC4 (ORCPT ); Mon, 20 Jul 2015 15:02:56 -0400 Received: by qkdl129 with SMTP id l129so118429619qkd.0; Mon, 20 Jul 2015 12:02:54 -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=Z4iyhqeHHM6Eun5t7wpxc43Te6ZGDJZZ5NX0pY4KGKk=; b=kNkFiDxYcUuN2bI3Zh5Ttk29ArW5Ci9PfGDRH5gEnm53XPWBXU/jkDHPjXfBnaiuAF mKQjBfT08pEMXigD4YYiuQIFWXd9FlMzB0pdc7a5/ZHcKbtQOwM78QL+1uN9HXBaWGRJ p45IbVZR2DggteZJvYsisEjGAoQY0ikXq00krNb/JbN9LfXYh7QvOzBfs/CGXfCYc2AG 27ycd0yDLiEc0ye96WOG5t0cduyMBULeB4xvRCTz8lL9jsW7sXc5zPByhKHThTMVijFv iQ+KGufpXVo39srCnPmDmqHn+vn3o7euLRsB/r1KPo9/Kn95oA87O8Te7FDbPGjBiJKh wL/Q== X-Received: by 10.55.15.213 with SMTP id 82mr48863885qkp.12.1437418974911; Mon, 20 Jul 2015 12:02:54 -0700 (PDT) Received: from manet.1015granger.net ([2604:8800:100:81fc:82ee:73ff:fe43:d64f]) by smtp.gmail.com with ESMTPSA id w126sm11422835qkw.32.2015.07.20.12.02.53 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Jul 2015 12:02:54 -0700 (PDT) Subject: [PATCH v3 03/15] xprtrdma: Increase default credit limit From: Chuck Lever To: linux-rdma@vger.kernel.org, linux-nfs@vger.kernel.org Date: Mon, 20 Jul 2015 15:02:52 -0400 Message-ID: <20150720190252.10997.85620.stgit@manet.1015granger.net> In-Reply-To: <20150720185624.10997.51574.stgit@manet.1015granger.net> References: <20150720185624.10997.51574.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=-8.0 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 Tested-by: Devesh Sharma --- 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 */