From patchwork Tue Feb 27 16:00:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Prakash Shukla X-Patchwork-Id: 701 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 17BF543C0E; Tue, 27 Feb 2024 17:01:20 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E0B5140151; Tue, 27 Feb 2024 17:01:19 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id CAF1E40150 for ; Tue, 27 Feb 2024 17:01:18 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 41RFgnUo005646; Tue, 27 Feb 2024 08:01:18 -0800 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-transfer-encoding:content-type; s= pfpt0220; bh=98kPkSo/36RPhfbVhKt6rQLpAqWR0NBUJZLqSZmeNJo=; b=bR6 2trYSqUesSHC30fNX64iTczU1jStjBL2mFmuKy2gOEfgc+S69m7ZEfqw3FFhaxOa uADK73EKF3kSQdTxKEOU1QKQEurmqu8G/rk6Q1X4a7LzRfV82P3tYD6l8tJwvfb0 6rozvvYBA7XvnBC/FtIqEjtPMLog5G/i4TMzEp0cPexbKiD8Py9EWOn5FuFc3IKX myDy/IdrqX9cF7JzLqsUjDdz3d2cMAAvMLFu+zkKrETYxVQ8j2xbGXlfL3V3FS/U +rHU4LN0d2lJNmKv5nZVv1Pm73uJWGhGzpMff/FRI3S1GmGaSZ4vCvmr1Eu0Te92 k9UQZT3CBVvmTzdr36A== Received: from dc5-exch05.marvell.com ([199.233.59.128]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3whjm682vc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 27 Feb 2024 08:01:17 -0800 (PST) Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.1258.12; Tue, 27 Feb 2024 08:00:40 -0800 Received: from DC5-EXCH05.marvell.com (10.69.176.209) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Tue, 27 Feb 2024 08:00:39 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server id 15.2.1258.12 via Frontend Transport; Tue, 27 Feb 2024 08:00:39 -0800 Received: from cavium-OptiPlex-5090-BM14.. (unknown [10.28.36.157]) by maili.marvell.com (Postfix) with ESMTP id 577BC3F71E1; Tue, 27 Feb 2024 08:00:36 -0800 (PST) From: Amit Prakash Shukla To: CC: , , , Cheng Jiang , Kevin Laatz , "Bruce Richardson" , Pavan Nikhilesh , Gowrishankar Muthukrishnan , Chengwen Feng , "Amit Prakash Shukla" Subject: [PATCH v9 0/4] PCI Dev and SG copy support Date: Tue, 27 Feb 2024 21:30:27 +0530 Message-ID: <20240227160031.3931694-1-amitprakashs@marvell.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: QeT8-tdIkA251rYCLxVBjD70-gaUJWFT X-Proofpoint-GUID: QeT8-tdIkA251rYCLxVBjD70-gaUJWFT X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-27_01,2024-02-27_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 Improve dma-perf application to support PCI dev and SG copy, along with additional supports as below: - validate copied memory - skip tests if not opted. v9: - Review suggestions. Amit Prakash Shukla (2): app/dma-perf: add skip support app/dma-perf: add PCI device support Gowrishankar Muthukrishnan (2): app/dma-perf: validate copied memory app/dma-perf: add SG copy support app/test-dma-perf/benchmark.c | 392 ++++++++++++++++++++++++++++++---- app/test-dma-perf/config.ini | 58 +++++ app/test-dma-perf/main.c | 171 ++++++++++++--- app/test-dma-perf/main.h | 13 +- 4 files changed, 570 insertions(+), 64 deletions(-)