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 7885446ACB; Tue, 1 Jul 2025 08:45:18 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 005A9402A0; Tue, 1 Jul 2025 08:45:18 +0200 (CEST) Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by mails.dpdk.org (Postfix) with ESMTP id 6BA0740276 for ; Tue, 1 Jul 2025 08:45:16 +0200 (CEST) Received: from mail.maildlp.com (unknown [172.19.163.48]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4bWYQs6Dk8ztSm8; Tue, 1 Jul 2025 14:44:05 +0800 (CST) Received: from kwepemo500011.china.huawei.com (unknown [7.202.195.194]) by mail.maildlp.com (Postfix) with ESMTPS id DC3D1180064; Tue, 1 Jul 2025 14:45:13 +0800 (CST) Received: from localhost.localdomain (10.50.165.33) by kwepemo500011.china.huawei.com (7.202.195.194) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Tue, 1 Jul 2025 14:45:13 +0800 From: Dengdui Huang To: CC: , , , Subject: [PATCH v2 0/6] net/hns3: VF support multi-TCs Date: Tue, 1 Jul 2025 14:45:06 +0800 Message-ID: <20250701064512.3868175-1-huangdengdui@huawei.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20250611081900.3658421-1-huangdengdui@huawei.com> References: <20250611081900.3658421-1-huangdengdui@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.50.165.33] X-ClientProxiedBy: kwepems100002.china.huawei.com (7.221.188.206) To kwepemo500011.china.huawei.com (7.202.195.194) 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 This patchset adds the VF multi-TCs feature. --- v2: Use the macros __rte_packed_begin and __rte_packed_end instead of #pragma pack(). Chengwen Feng (6): net/hns3: fix VF fail to config queue TC net/hns3: remove duplicate struct field net/hns3: refactor DCB module code net/hns3: VF support parse max TC number net/hns3: VF support discover multi-TCs capability net/hns3: VF support multi-TCs configure drivers/net/hns3/hns3_cmd.c | 5 +- drivers/net/hns3/hns3_cmd.h | 10 + drivers/net/hns3/hns3_dcb.c | 161 ++++++++++++---- drivers/net/hns3/hns3_dcb.h | 4 + drivers/net/hns3/hns3_dump.c | 11 +- drivers/net/hns3/hns3_ethdev.c | 132 ++----------- drivers/net/hns3/hns3_ethdev.h | 12 +- drivers/net/hns3/hns3_ethdev_vf.c | 297 ++++++++++++++++++++++++++++-- drivers/net/hns3/hns3_mbx.h | 48 ++++- drivers/net/hns3/hns3_rss.c | 8 +- drivers/net/hns3/hns3_rxtx.c | 25 ++- drivers/net/hns3/hns3_tm.c | 6 +- 12 files changed, 536 insertions(+), 183 deletions(-) -- 2.33.0