From patchwork Tue Feb 27 18:35:51 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: 703 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 8A49C43C06; Tue, 27 Feb 2024 19:36:58 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3627040279; Tue, 27 Feb 2024 19:36:58 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 0847040150 for ; Tue, 27 Feb 2024 19:36:56 +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 41RFgk4k005620; Tue, 27 Feb 2024 10:36:56 -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=njgiOiYTnP/SIwqrIljiDxnyZ+YujQSAYrFhZdgkxVQ=; b=akx O1nAOdFThoaFrZayb2cnT4LuLNZ7qUMJXQ0lhgHhX4o721v/JP6bmb7pE6H2njg2 ISGwCEHR7DcFPPGX/uEIpL+NPluXylIyey6P/RG5xW/tUlckyodZaC+WzsClBaN9 kiDF4KVqfpLREx2yk79Yx4bEbfhZnUCt5u2NASiJILUPw/7icC8DEwJDSFsQZFpo 4cKt5JyZFnvFxV2CKAvAjQ111XyxpJX20uNdu+RTqDaIHAuf5uSqhRzxP5uLNHb4 h6zvJSQvdL0srVNMUpDcNJylWk8J6Ji0t7KPmUxp0sOHVathpW6P16BdW5q49PRK aR6LQXmikqPtnQcpSBQ== Received: from dc5-exch05.marvell.com ([199.233.59.128]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3whjm6907f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 27 Feb 2024 10:36:56 -0800 (PST) Received: from DC5-EXCH05.marvell.com (10.69.176.209) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.12; Tue, 27 Feb 2024 10:36:34 -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 10:36:34 -0800 Received: from cavium-OptiPlex-5090-BM14.. (unknown [10.28.36.157]) by maili.marvell.com (Postfix) with ESMTP id 0EE323F7094; Tue, 27 Feb 2024 10:36:30 -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 v10 0/4] PCI Dev and SG copy support Date: Wed, 28 Feb 2024 00:05:51 +0530 Message-ID: <20240227183555.3932711-1-amitprakashs@marvell.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240227160031.3931694-1-amitprakashs@marvell.com> References: <20240227160031.3931694-1-amitprakashs@marvell.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: 7Y0FoR0KFROLRGcvJFFvPxwWrjJ8foOr X-Proofpoint-GUID: 7Y0FoR0KFROLRGcvJFFvPxwWrjJ8foOr 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_05,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. v10: - Review suggestions. - v9 sent again. 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(-)