From patchwork Fri Nov 17 12:15:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gowrishankar Muthukrishnan X-Patchwork-Id: 416 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 90D7643354; Fri, 17 Nov 2023 13:16:06 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1045140ED1; Fri, 17 Nov 2023 13:16:06 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 1FAEB40648 for ; Fri, 17 Nov 2023 13:16:05 +0100 (CET) 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 3AHCEnws027741; Fri, 17 Nov 2023 04:16:04 -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=xolDwb8To3hi62PgAeIh+CB6gTjjSDPoCsEcPGmlbj4=; b=Xc0r3ycU65gyjwlYeLZERYlTg3V6HB9bm+cMsFyQNHJGRLtVGOPDT3uD3h048BduD6cI he/bjfkzi5cq75OA+shNxzcFhXLymL448g9n0vFSmMgbc3dF11zxhrTkki2qt8tWMH// EhWoZpVIthhGZcPH1MRhFyILSYkGVerInYUJ9fh3JXURbVTHqvS4EAjvPlXEI6PBAFjc k56OhU6mCsAQIaSKUatNOznjzTRztE9cwikW3Xo9WpB8lv0k19o6Ln8b5NB6ig9A7Jul CLGrUY2AI4fwjhtq3Bu7xbhK1bf92hNbapXhP5MeOsYwlrruVZ536naSatzTJ9JReRpj 4Q== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3ue0des9s1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 17 Nov 2023 04:16:04 -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; Fri, 17 Nov 2023 04:16:02 -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; Fri, 17 Nov 2023 04:16:02 -0800 Received: from BG-LT91401.marvell.com (BG-LT91401.marvell.com [10.28.168.34]) by maili.marvell.com (Postfix) with ESMTP id 751953F708C; Fri, 17 Nov 2023 04:15:59 -0800 (PST) From: Gowrishankar Muthukrishnan To: CC: , Cheng Jiang , Kevin Laatz , Bruce Richardson , "Pavan Nikhilesh" , Amit Prakash Shukla , Gowrishankar Muthukrishnan Subject: [PATCH v7 0/4] PCI Dev and SG copy support Date: Fri, 17 Nov 2023 17:45:44 +0530 Message-ID: <20231117121548.2401-1-gmuthukrishn@marvell.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: References: MIME-Version: 1.0 X-Proofpoint-GUID: hzKiV-OaGnAQzKnMcxAPD8Ccm8EKUr0L X-Proofpoint-ORIG-GUID: hzKiV-OaGnAQzKnMcxAPD8Ccm8EKUr0L 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-17_10,2023-11-16_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. v7: - PCI patch updated. 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 | 136 +++++++++++- app/test-dma-perf/main.h | 12 +- 4 files changed, 545 insertions(+), 42 deletions(-)