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 CC8B945B1C; Sat, 12 Oct 2024 11:32:00 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4788140268; Sat, 12 Oct 2024 11:32:00 +0200 (CEST) Received: from szxga06-in.huawei.com (szxga06-in.huawei.com [45.249.212.32]) by mails.dpdk.org (Postfix) with ESMTP id E382F40265 for ; Sat, 12 Oct 2024 11:31:58 +0200 (CEST) Received: from mail.maildlp.com (unknown [172.19.88.163]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4XQdYZ2HR9z1ymgf; Sat, 12 Oct 2024 17:32:02 +0800 (CST) Received: from kwepemf500004.china.huawei.com (unknown [7.202.181.242]) by mail.maildlp.com (Postfix) with ESMTPS id 4246F180019; Sat, 12 Oct 2024 17:31:57 +0800 (CST) Received: from [10.67.121.175] (10.67.121.175) by kwepemf500004.china.huawei.com (7.202.181.242) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Sat, 12 Oct 2024 17:31:56 +0800 Message-ID: <9ad96046-e503-6deb-3968-70455df63fcf@huawei.com> Date: Sat, 12 Oct 2024 17:31:56 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH 0/4] clean code for dmadev and hns3 To: , , CC: , References: <20240905064638.17980-1-haijie1@huawei.com> From: Jie Hai In-Reply-To: <20240905064638.17980-1-haijie1@huawei.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.121.175] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To kwepemf500004.china.huawei.com (7.202.181.242) 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 On 2024/9/5 14:46, Jie Hai wrote: The patch set will be seperate into 3 part and resend, please see patch[1/4] https://patches.dpdk.org/project/dpdk/patch/20241012091437.21382-1-haijie1@huawei.com/ patch[2/4] https://patches.dpdk.org/project/dpdk/patch/20241012091457.21554-1-haijie1@huawei.com/ patch[3/4][4/4] https://patches.dpdk.org/project/dpdk/cover/20241012091735.24012-1-haijie1@huawei.com/ > This patch set make clean codes. > > Chengwen Feng (4): > ethdev: verify queue ID when Tx done cleanup > net/hns3: verify reset type from firmware > dmadev: fix potential null pointer access > dmadev: clean code for verify parameter > > drivers/net/hns3/hns3_intr.c | 6 ++++++ > lib/dmadev/rte_dmadev.c | 32 +++++++++++++++++++++----------- > lib/ethdev/rte_ethdev.c | 4 ++++ > 3 files changed, 31 insertions(+), 11 deletions(-) >