From patchwork Thu Feb 29 13:48:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gowrishankar Muthukrishnan X-Patchwork-Id: 720 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 4E61043C3B; Thu, 29 Feb 2024 14:48:20 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3E559402CD; Thu, 29 Feb 2024 14:48:20 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 3E5EF41109 for ; Thu, 29 Feb 2024 14:48:19 +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 41T7OAiI029089; Thu, 29 Feb 2024 05:48: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=p0tT1MZPWLJTG0zCQZQ44jc3mDa0W/AATGvHkO3Velo=; b=VSu PXOoUBrUM9XvMEMWCEEKB/LvWJNgconEg2Uv+MGQMPru2kujeoQQRJtCOAUDKDtr ircbsRdIDwZSKF2VeVlGihLQUEr5ttBBhuRLUZH8BphllMMgGLPz7zn9iuE8WWKd kCOM6rCaFMoF/0VY18DK1nAIV6kUMlykjEdrwaOPu45KK27T2/QyoVrbhGicHbzt mV51wuhGKo+olDYoYzN/WDdO5Q/kYxkwLrMWG4xoWW8aqLyUlVwJ0EE2hARB052G Gt3LhIzsu2vP26VhCpsr4sICOvurn7ALDfVxae4X6q8PNjVQCY7hTSXu7+CxMXPA z254rboFNmbXiLgBP5Q== Received: from dc6wp-exch02.marvell.com ([4.21.29.225]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3wjfay2xcu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 29 Feb 2024 05:48:18 -0800 (PST) Received: from DC6WP-EXCH02.marvell.com (10.76.176.209) by DC6WP-EXCH02.marvell.com (10.76.176.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.12; Thu, 29 Feb 2024 05:48:17 -0800 Received: from maili.marvell.com (10.69.176.80) by DC6WP-EXCH02.marvell.com (10.76.176.209) with Microsoft SMTP Server id 15.2.1258.12 via Frontend Transport; Thu, 29 Feb 2024 05:48:17 -0800 Received: from BG-LT91401.marvell.com (unknown [10.193.66.108]) by maili.marvell.com (Postfix) with ESMTP id EF1603F7253; Thu, 29 Feb 2024 05:48:13 -0800 (PST) From: Gowrishankar Muthukrishnan To: CC: , Cheng Jiang , Kevin Laatz , Bruce Richardson , "Pavan Nikhilesh" , Amit Prakash Shukla , Chengwen Feng , Jerin , Gowrishankar Muthukrishnan Subject: [v11 0/4] PCI Dev and SG copy support Date: Thu, 29 Feb 2024 19:18:06 +0530 Message-ID: X-Mailer: git-send-email 2.21.0 In-Reply-To: <20240227183555.3932711-1-amitprakashs@marvell.com> References: <20240227183555.3932711-1-amitprakashs@marvell.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: E5PkerG-cY3yAv4NfOdGxcLRHgmwreT2 X-Proofpoint-GUID: E5PkerG-cY3yAv4NfOdGxcLRHgmwreT2 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-29_02,2024-02-29_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. v11: - Review suggestions. Gowrishankar Muthukrishnan (4): app/dma-perf: add skip support app/dma-perf: add PCI device support app/dma-perf: validate copied memory app/dma-perf: add SG copy support app/test-dma-perf/benchmark.c | 413 ++++++++++++++++++++++++++++++---- app/test-dma-perf/config.ini | 56 +++++ app/test-dma-perf/main.c | 178 ++++++++++++--- app/test-dma-perf/main.h | 13 +- 4 files changed, 595 insertions(+), 65 deletions(-)