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 9EF52A0C44; Mon, 14 Jun 2021 17:00:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 888A84067A; Mon, 14 Jun 2021 17:00:00 +0200 (CEST) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id A690E4003F for ; Mon, 14 Jun 2021 16:59:58 +0200 (CEST) Received: from [192.168.1.71] (unknown [188.170.85.171]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id 2CEBC7F5B3; Mon, 14 Jun 2021 17:59:58 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru 2CEBC7F5B3 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1623682798; bh=w6nSmhSbhaS3eVZpGIOaMZOk75U4XVKxTQuHFrJ8WFA=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=QoiXPYpMFKexe6zhv56IKKsz2DER/MbXiui0UZDP5AO1bqU9cesA7s9ofbaYf1HYH 4qYm7hGf5bXspHANtt/nAAzbBX0+uXg/N4aZSewF2n0KenE3+15FIxHI28v5P6r97Y xD5Mcc/CcFsGxFLJX+8KXnWe7BeYMuwOSZsxfc4w= To: "Min Hu (Connor)" , dev@dpdk.org Cc: ferruh.yigit@intel.com References: <1623553508-5478-1-git-send-email-humin29@huawei.com> <1623553508-5478-5-git-send-email-humin29@huawei.com> From: Andrew Rybchenko Message-ID: <2e7786cd-aa4a-0bce-fda8-327db00a88d5@oktetlabs.ru> Date: Mon, 14 Jun 2021 17:59:56 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: <1623553508-5478-5-git-send-email-humin29@huawei.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 4/4] 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" On 6/13/21 6:05 AM, Min Hu (Connor) wrote: > 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) It looks like Clang 12 on Fedora 12 does not like the patch and build fails. Please, take a look and fix it.