Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 34EE2C1975A for ; Thu, 12 Mar 2020 09:04:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 09EA7206FA for ; Thu, 12 Mar 2020 09:04:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1584003883; bh=99f0RGg48t+JI93Fjeso3N8BMV2RJ24KcH4YgHuWNWI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=oIREv7hxO1z4eXqnz4V77uxYJX3LZSr3tGBYmIYl2Rya6d3q+a21ZMbypOlof8Jqf ROE1DeeY+JplYGD1Tarj9Q9mNnQCJ6lkD41HDJ2xVh9OmmNHeKuI9exLmJ3Wox6EJW 2l5rtqPpVipjGsxnoN/QL7QUKtgvfLtE2WcIWm6M= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726254AbgCLJEm (ORCPT ); Thu, 12 Mar 2020 05:04:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:41342 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726194AbgCLJEm (ORCPT ); Thu, 12 Mar 2020 05:04:42 -0400 Received: from localhost (unknown [193.47.165.251]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4C248206F1; Thu, 12 Mar 2020 09:04:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1584003881; bh=99f0RGg48t+JI93Fjeso3N8BMV2RJ24KcH4YgHuWNWI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HpIRH85VmqooKgA+Ldw0+Fq5D4NnxTAzrq0J3WVncp03+KSEje6LOpd30+VFgbW9D no+FqPNYDY0wp/pQauBb3aZxwdl4uzKvKg04uzM7ZjUyVWY0C5nxyzbzqXEU7UmWMv FFA+wC5t//p1kM0DMfs783xsdP0cZKB9xUbx/IFM= Date: Thu, 12 Mar 2020 11:04:38 +0200 From: Leon Romanovsky To: Weihang Li Cc: dledford@redhat.com, jgg@ziepe.ca, linux-rdma@vger.kernel.org, linuxarm@huawei.com Subject: Re: [PATCH v3 for-next] RDMA/hns: Check if depth of qp is 0 before configure Message-ID: <20200312090438.GB17383@unreal> References: <1583995244-51072-1-git-send-email-liweihang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1583995244-51072-1-git-send-email-liweihang@huawei.com> Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org On Thu, Mar 12, 2020 at 02:40:44PM +0800, Weihang Li wrote: > From: Lang Cheng > > Depth of qp shouldn't be allowed to be set to zero, after ensuring that, > subsequent process can be simplified. And when qp is changed from reset to > reset, the capability of minimum qp depth was used to identify hardware of > hip06, it should be changed into a more readable form. > > Signed-off-by: Lang Cheng > Signed-off-by: Weihang Li > Reviewed-by: Leon Romanovsky I didn't review, please don't add tags before they explicitly posted. https://lore.kernel.org/linux-rdma/1583140937-2223-1-git-send-email-liweihang@huawei.com/ Thanks