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 5C36E432B3; Mon, 6 Nov 2023 02:08:30 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0426A4027A; Mon, 6 Nov 2023 02:08:30 +0100 (CET) Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by mails.dpdk.org (Postfix) with ESMTP id 3C7D74025D for ; Mon, 6 Nov 2023 02:08:28 +0100 (CET) Received: from dggpeml100024.china.huawei.com (unknown [172.30.72.56]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4SNtWl28V9zvQMK; Mon, 6 Nov 2023 09:08:19 +0800 (CST) Received: from [10.67.121.161] (10.67.121.161) by dggpeml100024.china.huawei.com (7.185.36.115) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Mon, 6 Nov 2023 09:08:25 +0800 Subject: Re: [PATCH v2] test/dma: fix for buffer auto free To: Amit Prakash Shukla , Kevin Laatz , Bruce Richardson CC: , , , , , , , , , , References: <20231101101809.3546500-1-amitprakashs@marvell.com> <20231103183017.3888467-1-amitprakashs@marvell.com> From: fengchengwen Message-ID: <7980c3ec-7695-8a37-3f69-a91ded0b3165@huawei.com> Date: Mon, 6 Nov 2023 09:08:25 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20231103183017.3888467-1-amitprakashs@marvell.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.121.161] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggpeml100024.china.huawei.com (7.185.36.115) X-CFilter-Loop: Reflected 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 Acked-by: Chengwen Feng On 2023/11/4 2:30, Amit Prakash Shukla wrote: > Buffer auto free test failed for more than 1 dma device as the device > initialization for the test was been done only for the first dma > device. This changeset fixes the same and also fixes the freeing of > the uninitialised source buffer in error condition. > > Fixes: 877cb3e37426 ("dmadev: add buffer auto free offload") > > Signed-off-by: Amit Prakash Shukla ...