From patchwork Thu Jan 14 13:33:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lijun Ou X-Patchwork-Id: 86621 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id BA079A0A02; Thu, 14 Jan 2021 14:34:59 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C7213141296; Thu, 14 Jan 2021 14:34:07 +0100 (CET) Received: from szxga04-in.huawei.com (szxga04-in.huawei.com [45.249.212.190]) by mails.dpdk.org (Postfix) with ESMTP id D4B7914126C for ; Thu, 14 Jan 2021 14:33:59 +0100 (CET) Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4DGlcR1Rprz15t1f for ; Thu, 14 Jan 2021 21:32:55 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.498.0; Thu, 14 Jan 2021 21:33:52 +0800 From: Lijun Ou To: CC: Date: Thu, 14 Jan 2021 21:33:29 +0800 Message-ID: <1610631217-14216-1-git-send-email-oulijun@huawei.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Subject: [dpdk-dev] [PATCH 0/8] TM and some bugfixes for hns3 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" This series add TM feature support and fix some bugs for hns3 pmd driver. Because the TM need to use rte_atomicNN_xxx for the resetting of the hns3_reset_data structure. Therefore it needs to add a new updates patch for using C11 atomics builtins for resetting. Chengchang Tang (3): net/hns3: fix register length when dump registers net/hns3: fix data overwriting during register dump net/hns3: fix dump register out of range Chengwen Feng (2): net/hns3: support RTE TM get ops function net/hns3: fix VF query link status in dev init Hongbo Zheng (1): net/hns3: use new opcode for clearing hardware resource Lijun Ou (2): net/hns3: use C11 atomics builtins for resetting net/hns3: remove unused assignment for RSS key drivers/net/hns3/hns3_cmd.h | 2 +- drivers/net/hns3/hns3_dcb.c | 221 ++++--- drivers/net/hns3/hns3_dcb.h | 3 + drivers/net/hns3/hns3_ethdev.c | 34 +- drivers/net/hns3/hns3_ethdev.h | 16 +- drivers/net/hns3/hns3_ethdev_vf.c | 21 +- drivers/net/hns3/hns3_intr.c | 8 +- drivers/net/hns3/hns3_regs.c | 82 ++- drivers/net/hns3/hns3_rxtx.c | 2 +- drivers/net/hns3/hns3_tm.c | 1291 +++++++++++++++++++++++++++++++++++++ drivers/net/hns3/hns3_tm.h | 103 +++ drivers/net/hns3/meson.build | 3 +- 12 files changed, 1623 insertions(+), 163 deletions(-) create mode 100644 drivers/net/hns3/hns3_tm.c create mode 100644 drivers/net/hns3/hns3_tm.h