Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4275320ybl; Mon, 13 Jan 2020 10:49:14 -0800 (PST) X-Google-Smtp-Source: APXvYqyebScYF/VXD7JpdCQ/kA8+jd1DwxhZUIQ/ynQNAUiC2nlWBnyTCSfIzTmSqqynz1AuHgao X-Received: by 2002:a05:6830:1bda:: with SMTP id v26mr13571991ota.314.1578941354418; Mon, 13 Jan 2020 10:49:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578941354; cv=none; d=google.com; s=arc-20160816; b=WS+ufXyXo49h3fuINsOgT3VHOSWwUXEeYk94AZ/JGw3V9KODhPZfm9nzzOd9nYjG9u 8Xzcpc7IYcRifaX5j6c7DggX4CoeyXUOkTSbECmULh6cy2PfjRbuxWKskz0cQIQ1MriM 7VzgcBopICgudDZxND3RsjQLAJeEyAkU7TC5MFakhujQNKnLhRz46D2NH7MSyW5FlGUx yP1aLDAW0ggLmf2KaUokjcEQ6VP1btvVCfxn1yTLGGJ31S8ZAiNlZ7Uu8ap/INRkbihJ rtlF61IY0zG77vnjGQW6VaSd7SOtgerXeCa8iHPjhO9skyyJsSLxI6FOQp8yXEmrDDeP EJLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=IZ250V/yBJXsxGldcJDuZlPmLepYVLSagti/+427jTY=; b=jo9SOou/ORU3pmJwMlwjZWZofpz2AlhUYxxxe82aKa1yoY0UJ3yT5um+UGVxEX8ptd 4MOWOWRcQtaNHipAN8M4IdWpUmW7Qg6N7/ASTvwFQykC2Qgs0GZ+f84uBwgtv4lIF9WS Q+KMqmXxlJx2XcCW6+DxENul2TYUORanJ/4wR0kyl8fcWpbQwKTZansCPhmoZovi6klY H3myTToSxcqncLtTI38pIt+SwUvjCF+9Fm05UWPgfJnyJOkMil2VCnklmEmAg6igdnM2 vKwM4Nekyp97EV9Mx3H/zuWE9Grf0bT+Y5zAUEzc5JW8ErB6eG0ZBpmuKImc2mZ+sD9c WmkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=nccjm31v; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w1si6793949oia.169.2020.01.13.10.49.02; Mon, 13 Jan 2020 10:49:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=nccjm31v; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728765AbgAMSr7 (ORCPT + 99 others); Mon, 13 Jan 2020 13:47:59 -0500 Received: from mail-qk1-f194.google.com ([209.85.222.194]:38174 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727331AbgAMSr7 (ORCPT ); Mon, 13 Jan 2020 13:47:59 -0500 Received: by mail-qk1-f194.google.com with SMTP id k6so9512432qki.5 for ; Mon, 13 Jan 2020 10:47:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=IZ250V/yBJXsxGldcJDuZlPmLepYVLSagti/+427jTY=; b=nccjm31vjv/xgP2M2c6sqmUGExzvdc0L1Uym/253T6le52hgsAzzdtNdH4kXF5fBGc q07IXzAjvWYRmFa28acgJI0WMjaPtoRjkNFUcu5cZ/gLTjwhnAH59pvIbSgftB79IFEY 2OrKAZ9GAmuYlYBv7hB7SIyubrSJN0yK+JKMtbqVapxNnmcfNyZo8Xj3wjgRkSZZoo4H qig2lGBsO/JLiunHiGPvyDemeUEQiR7M4wIcZWcfMgWJ9avMc3XX8pUCqEKTL9uLyeUx HDDkrvcTpSarYfneQPRSWE9sTcDv16mqVP5fjGxAPYXF9NNC1rdq/j8nt+GkvatHZdwc NiKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=IZ250V/yBJXsxGldcJDuZlPmLepYVLSagti/+427jTY=; b=P8T+jkn/Aox3knqWVLZOWH8i6OUwIYna7IGJNjmOZdKKsRlqyE7doh7AbkZNTptYnm RGjCbSvSn2R/GXiNdb+5UGh5t/co9IKGtXYRsgRDcQN7XW+8xffZThcDL4hh7rUOa+jY dNFZIhFSqfzebRIV4KrCdGj0jb6Cb4mSyE5p1cx3QdReYUmy8VjEbcVVFxApiqQhWWmV XZnAybm82xrv3P73IfJiy6HCH7lICYb4V99ZFhXwIm9O4SMFsnhnxjgsc938tUL2icJJ bVpJsGuR8atoF1k3kneYX+/W8v/R3gBXJ3Lowk344NF1YkzXMJ3oB1yNodZX+H2sip6t K8dA== X-Gm-Message-State: APjAAAVqqVWolyauMggZY9OY/0VG7UOxUKO4b1fGlwGpBRlS0lZk92vG cQhK+B0QKzV1XY1A1iAkhldFcg== X-Received: by 2002:a05:620a:102e:: with SMTP id a14mr16996145qkk.159.1578941278397; Mon, 13 Jan 2020 10:47:58 -0800 (PST) Received: from ziepe.ca (hlfxns017vw-142-68-57-212.dhcp-dynamic.fibreop.ns.bellaliant.net. [142.68.57.212]) by smtp.gmail.com with ESMTPSA id 3sm6139227qte.59.2020.01.13.10.47.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 13 Jan 2020 10:47:58 -0800 (PST) Received: from jgg by mlx.ziepe.ca with local (Exim 4.90_1) (envelope-from ) id 1ir4kn-0004ve-Ep; Mon, 13 Jan 2020 14:47:57 -0400 Date: Mon, 13 Jan 2020 14:47:57 -0400 From: Jason Gunthorpe To: Rao Shoaib Cc: monis@mellanox.com, dledford@redhat.com, sean.hefty@intel.com, hal.rosenstock@gmail.com, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/2] Introduce maximum WQE size to check limits Message-ID: <20200113184757.GB9861@ziepe.ca> References: <1574106879-19211-1-git-send-email-rao.shoaib@oracle.com> <1574106879-19211-2-git-send-email-rao.shoaib@oracle.com> <20191119203138.GA13145@ziepe.ca> <44d1242a-fc32-9918-dd53-cd27ebf61811@oracle.com> <20191119231334.GO4991@ziepe.ca> <20191120000840.GQ4991@ziepe.ca> <20191219182511.GI17227@ziepe.ca> <6da00014-0fd2-c7fc-93ab-7653b23aeb1e@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6da00014-0fd2-c7fc-93ab-7653b23aeb1e@oracle.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 13, 2020 at 10:35:14AM -0800, Rao Shoaib wrote: > > On 12/19/19 10:25 AM, Jason Gunthorpe wrote: > > On Tue, Dec 17, 2019 at 11:38:52AM -0800, Rao Shoaib wrote: > > > Any update on my patch? > > > > > > If there is some change needed please let me know. > > You need to repost it with the comments addressed > > > > https://patchwork.kernel.org/patch/11250179/ > > > > Jason > > > Jason, > > Following is a pointer to the patch that I posted in response to your > comments > > https://www.spinics.net/lists/linux-rdma/msg86241.html > > I posted this on Nov 18. Can you please take a look and let me know what > else has to be done. You mean this: https://www.spinics.net/lists/linux-rdma/msg86333.html ? Don't mix the inline size and the # SGEs. They both drive the maximum WQE size and all the math should be directly connected. Jason