From patchwork Wed Nov 22 11:06:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gowrishankar Muthukrishnan X-Patchwork-Id: 427 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 546F34339B; Wed, 22 Nov 2023 12:06:24 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D31134028C; Wed, 22 Nov 2023 12:06:23 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 23B1740273 for ; Wed, 22 Nov 2023 12:06:21 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3ALMG6O5014314; Wed, 22 Nov 2023 03:06:21 -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=ec3G7JM5Skm6gkzVHwnzI9cV6I47/rAQEN9l9NWjEmU=; b=KzWUw+PThG3B9ZaVfE80dq37SzWopUv40uSvqSTQok4cOCMW7MRMF6VHFnOTRL5pXHr5 mE1RCs2hXNuQNaUFi6M2SM4YE2AO+3hZsO0IyJGs/cbg2SR4w41+bJ11DYgioYIU/YFq MTn6+4UCbT2e9lX9yIWeDy6vhFWXxR/9UEk+pzhTv2RCJ/WsYNLAaZHCd3L5rMKvTti9 FnE+00DbA3eyM7cBnGwSVVjh25r8IrdvaNsH6fK4oyVGWVaYE/xtUyRKXDQSWjt5pcIz U9Ks1bFC1e+JuXvT9AR8cwLFlTML+bWlG4GbqAsdAbkvEbNq2aG3fQx1n759J3KrquXU yQ== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3uh1jbb15j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 22 Nov 2023 03:06:21 -0800 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; Wed, 22 Nov 2023 03:06:19 -0800 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; Wed, 22 Nov 2023 03:06:19 -0800 Received: from BG-LT91401.marvell.com (BG-LT91401.marvell.com [10.28.168.34]) by maili.marvell.com (Postfix) with ESMTP id BB38E3F7083; Wed, 22 Nov 2023 03:06:15 -0800 (PST) From: Gowrishankar Muthukrishnan To: CC: , Cheng Jiang , Kevin Laatz , Bruce Richardson , "Pavan Nikhilesh" , Amit Prakash Shukla , Chengwen Feng , Gowrishankar Muthukrishnan Subject: [PATCH v8 0/4] PCI Dev and SG copy support Date: Wed, 22 Nov 2023 16:36:05 +0530 Message-ID: X-Mailer: git-send-email 2.21.0 In-Reply-To: <20231117121548.2401-1-gmuthukrishn@marvell.com> References: <20231117121548.2401-1-gmuthukrishn@marvell.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: YOSALwq-JPebOmHsx_rgGcn-BlAlGj4L X-Proofpoint-GUID: YOSALwq-JPebOmHsx_rgGcn-BlAlGj4L X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-22_06,2023-11-22_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 below: - validate copied memory - skip tests if not opted. v8: - updated skip test patch. 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 | 383 +++++++++++++++++++++++++++++++--- app/test-dma-perf/config.ini | 56 +++++ app/test-dma-perf/main.c | 161 +++++++++++--- app/test-dma-perf/main.h | 12 +- 4 files changed, 551 insertions(+), 61 deletions(-)