From patchwork Thu Sep 28 11:50:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Prakash Shukla X-Patchwork-Id: 206 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 D7F7A42660; Thu, 28 Sep 2023 13:50:43 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AFA3540273; Thu, 28 Sep 2023 13:50:43 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 898CC4021D for ; Thu, 28 Sep 2023 13:50:42 +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 38SAAEUx013636; Thu, 28 Sep 2023 04:50:41 -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=oQRQLFIv/6jrrBUSMLCS8nxXaeHn6279ZcGqhKrND8M=; b=AntUuZwM2auT5D5qHIH8+gquxWr2TIIiaZGbAwo3BW/Vdhp4ka3O3EMzeiMhPEgd5b5V 7SXZCkp7ihgH1j3C469BUhIA2Hsp1pnuBqqOcm4lmaLzUGTFIK+MFgrofFYVhz6bzrPr lUO34Nv1xkenoULp5SMsGJpoRkSkNjY8OYeRZo4X9U1RveNXx8VLjM9snTUyVtbjSRJn yr/UzjrpTLORx1uiQzoMkDjU94JS1qkC4PibUBuLZTeaC2UvPoQDnfCPVwG1TTKsQlV9 hgt7z40V+JV22VCBVW+G8woxnrc6AXBvbu1FpqmbmT4IXAPHqyvh5CQb8jymgg1q/fBD ig== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3tcrrs3ant-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 28 Sep 2023 04:50:41 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Thu, 28 Sep 2023 04:50:39 -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; Thu, 28 Sep 2023 04:50:39 -0700 Received: from localhost.localdomain (unknown [10.28.36.157]) by maili.marvell.com (Postfix) with ESMTP id 4C4B65C68EF; Thu, 28 Sep 2023 04:50:35 -0700 (PDT) From: Amit Prakash Shukla To: CC: , , , , , , , , , , , , , , Amit Prakash Shukla Subject: [PATCH v3 0/2] offload support to free dma source buffer Date: Thu, 28 Sep 2023 17:20:29 +0530 Message-ID: <20230928115031.259592-1-amitprakashs@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230926121747.4037154-1-amitprakashs@marvell.com> References: <20230926121747.4037154-1-amitprakashs@marvell.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: vq45xc0DiF8oQY-R6r46J5MSOLsv4Km2 X-Proofpoint-GUID: vq45xc0DiF8oQY-R6r46J5MSOLsv4Km2 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-09-28_10,2023-09-28_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 free source buffer in dma library and adds a test support in dmadev_autotest to validate the functionality. 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 free source buffer test/dma: add source buffer offload free test app/test/test_dmadev.c | 166 +++++++++++++++++++++++++++++++++++++++- lib/dmadev/rte_dmadev.h | 27 +++++++ 2 files changed, 192 insertions(+), 1 deletion(-)