From patchwork Wed Sep 23 13:00:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "humin (Q)" X-Patchwork-Id: 78561 X-Patchwork-Delegate: ferruh.yigit@amd.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6C641A04B1; Wed, 23 Sep 2020 15:03:21 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 798ED1DBA0; Wed, 23 Sep 2020 15:02:56 +0200 (CEST) Received: from huawei.com (szxga06-in.huawei.com [45.249.212.32]) by dpdk.org (Postfix) with ESMTP id CA66C1D65A for ; Wed, 23 Sep 2020 15:02:37 +0200 (CEST) Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 951949BDFAB3F972C8E4; Wed, 23 Sep 2020 21:02:35 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.487.0; Wed, 23 Sep 2020 21:02:30 +0800 From: "Min Hu (Connor)" To: CC: , , , Date: Wed, 23 Sep 2020 21:00:01 +0800 Message-ID: <1600866002-35908-4-git-send-email-humin29@huawei.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1600866002-35908-1-git-send-email-humin29@huawei.com> References: <1599219135-53194-2-git-send-email-humin29@huawei.com> <1600866002-35908-1-git-send-email-humin29@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Subject: [dpdk-dev] [PATCH V3 3/4] doc: announce modified field in DCB TC queue mapping X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" From: Huisong Li Field type of base and nb_queue will be modified from uint8_t to uint16_t in struct "rte_eth_dcb_tc_queue_mapping". As the data of uint8_t will be truncated when queue number under a TC is greater than 256. Signed-off-by: Huisong Li Signed-off-by: Min Hu (Connor) Reviewed-by: Wei Hu (Xavier) --- v2->v3: add announce modified field in DCB TC queue mapping. --- doc/guides/rel_notes/deprecation.rst | 5 +++++ doc/guides/rel_notes/release_20_11.rst | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index 444dcbe..cc744d8 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -134,6 +134,11 @@ Deprecation Notices and the related structures (``rte_fdir_*`` and ``rte_eth_fdir_*``), will be removed in DPDK 20.11. +* ethdev: Modified field type of base and nb_queue, from uint8_t to uint16_t in + struct ``rte_eth_dcb_tc_queue_mapping``. As the data of uint8_t will be + truncated when queue number under a TC is greater than 256. This will be + modified in DPDK 20.11. + * ethdev: The legacy L2 tunnel filtering API is deprecated as the rest of the legacy filtering API. The functions ``rte_eth_dev_l2_tunnel_eth_type_conf`` and diff --git a/doc/guides/rel_notes/release_20_11.rst b/doc/guides/rel_notes/release_20_11.rst index d4a66d0..3de2895 100644 --- a/doc/guides/rel_notes/release_20_11.rst +++ b/doc/guides/rel_notes/release_20_11.rst @@ -149,6 +149,10 @@ API Changes * bpf: ``RTE_BPF_XTYPE_NUM`` has been dropped from ``rte_bpf_xtype``. +* ethdev: Modified field type of base and nb_queue, from uint8_t to uint16_t in + struct ``rte_eth_dcb_tc_queue_mapping``. As the data of uint8_t will be + truncated when queue number under a TC is greater than 256. + ABI Changes -----------