From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 10C51A0C46; Fri, 23 Jul 2021 15:13:02 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C041040040; Fri, 23 Jul 2021 15:13:01 +0200 (CEST) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by mails.dpdk.org (Postfix) with ESMTP id 201E14003C for ; Fri, 23 Jul 2021 15:13:00 +0200 (CEST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id A78AD5C00E6; Fri, 23 Jul 2021 09:12:59 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Fri, 23 Jul 2021 09:12:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm1; bh= ckI5SNX2G/GbU601wtoHqYW96Ei2Rre8AYNQjVbRfnE=; b=etXkkpgcJ/5hQyUR CQbACvGZ+RmHAWzzozRoV0TRnR20RM8M5dMay0X5BiRs50jM7qEb1LCwj5WJU2y3 5eH3b5uMR90l5wp1Q2C9LuR+bEj6qI+uzhImLeSFEvyAOl16NV/ED310d73Otquy LN7/jmumJTzdmPkOQo1aMlN85kGu6lxGfJcJt5Nml4c5ujNpiu6o3tRrTQEfE10j xDjxkh5HOILJBHimijQld8rdbhu/JayegAXNTKejiloocmHOYOpfRMisIu5HnC/g bPd/ANAe2G2W3Zdxq/osWeiIcdOPBykQbeZ11DpI/zm3FKsu8X1dwB8vdkBLHQcr g+JxMA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=ckI5SNX2G/GbU601wtoHqYW96Ei2Rre8AYNQjVbRf nE=; b=NBBXj9wUXTdxbjjEL9pW7P13l/6jBYzOGaw19B6EYDCRcSvsV+81VTJdP kPc52OAd50jZ+r1m0sEknHXbMDeG+4/BoTlqICbirJjloPoJSynRQSfhdT+JQiuM yUgmW91IAh7V6TmqUpRYgHItRnnfRM04ELN0Zos9W4OtGnGdb+pq9M4uEnTpcuQZ IKfnKqHJQ3VqT9abWSt4/wc1RRpajkmXcpAaLgt+QVou4mR1HTUTQVcyXhHv7u4n 8pXPD0lR3CgzdJPKqQ5qIEkSXnYbPwfOnMqb+3OVs3FL+Tuy1au/M8C9gk8Nrz1p U2nbqt5OCYQntPV2Bh1CgTJ6e0tiA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrfeekgdeiudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdejueei iedvffegheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 23 Jul 2021 09:12:57 -0400 (EDT) From: Thomas Monjalon To: "Min Hu (Connor)" Cc: dev@dpdk.org, ferruh.yigit@intel.com, andrew.rybchenko@oktetlabs.ru Date: Fri, 23 Jul 2021 15:13:19 +0200 Message-ID: <2596964.tkHkjUkDbB@thomas> In-Reply-To: <1626483859-35840-1-git-send-email-humin29@huawei.com> References: <1626483859-35840-1-git-send-email-humin29@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] net/hns3: supports disabling PFC by dev configure API X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 17/07/2021 03:04, Min Hu (Connor): > From: Huisong Li > > If "dcb_capability_en" in "data->dev_conf" delivered from the dev_configure > does not have the ETH_DCB_PFC_SUPPORT flag, the user wants to disable PFC, > and only enable ETS. Therefore, this patch supports the function of > disabling PFC by the field. In addition, this patch updates > "current_fc_status" of the driver based on the flow control mode requested > by user so as to enable the flow control mode in multi-TC scenarios. > > Signed-off-by: Huisong Li > Signed-off-by: Min Hu (Connor) Applied, thanks.