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 1EDEF4233C; Mon, 9 Oct 2023 14:02:58 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0AE9A40282; Mon, 9 Oct 2023 14:02:58 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id C227E4026B for ; Mon, 9 Oct 2023 14:02:56 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3990NBjV004070; Mon, 9 Oct 2023 05:02:56 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type : content-transfer-encoding; s=pfpt0220; bh=0A8A8DU7EIy4wTCZZzuq7VlQXvV8h1lnRD2BYMWi/J4=; b=Acia4bSbr8HM77IIkfLPyS5UgZYEfRF+/0cPTtf6fApod4ZArP8LeABT2O+DOvUGWiEV ceO/UBEAvOJwP4PBhRZfkH1VDvLMnD4a7pcenaOjzPpbZgTBwopKgtx4c6TymFqVvPbm iM7Xw1gZhPLcePMB2aWvN/lT77xTPckYZAqskvsVzATuH6orR6voVFbff6XHeA9pi1qg lSGLHTFLoh5djc4w3SUlVcb5k+ipJ+gxQwThNCnUIV9KaasW4k5rYEtLWyUwLxOhO95o MCzxf3yNZ/GUHwkb2eVPp7ACvzJ1WXuTqgC74NW9ASJObxqq0dB3bGIPCEtId7cUQmTO xQ== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3tkh7cc337-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 09 Oct 2023 05:02:55 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Mon, 9 Oct 2023 05:02:53 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Mon, 9 Oct 2023 05:02:53 -0700 Received: from localhost.localdomain (unknown [10.28.36.157]) by maili.marvell.com (Postfix) with ESMTP id 476243F7051; Mon, 9 Oct 2023 05:02:49 -0700 (PDT) From: Amit Prakash Shukla To: CC: , , , , , , , , , , , , , , Amit Prakash Shukla Subject: [PATCH v4 0/2] offload support to auto free dma buffer Date: Mon, 9 Oct 2023 17:32:34 +0530 Message-ID: <20231009120236.1641008-1-amitprakashs@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230928115031.259592-1-amitprakashs@marvell.com> References: <20230928115031.259592-1-amitprakashs@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Proofpoint-GUID: hK0IC0BtBD7FjSf6pmIKcXQbQa_8XArX X-Proofpoint-ORIG-GUID: hK0IC0BtBD7FjSf6pmIKcXQbQa_8XArX X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-09_11,2023-10-09_01,2023-05-22_02 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 series adds offload support to auto free buffer in dma library and adds a test support in dmadev_autotest to validate the functionality. v4: - Resolved review comments. v3: - Removed unwanted comment from code. v2: - Resolved review comments. - Fixed compilation issue. v1: - Implementation from RFC. - Add test support to validate functionality. Amit Prakash Shukla (2): dmadev: offload to auto free DMA buffer test/dma: auto free offload test to free DMA buffer app/test/test_dmadev.c | 167 +++++++++++++++++++++++++++++++++++++++- lib/dmadev/rte_dmadev.h | 43 +++++++++++ 2 files changed, 209 insertions(+), 1 deletion(-) -- 2.25.1