From patchwork Mon Nov 13 04:41:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gowrishankar Muthukrishnan X-Patchwork-Id: 392 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 9BDDC43315; Mon, 13 Nov 2023 05:41:16 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 16547402A6; Mon, 13 Nov 2023 05:41:16 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 0DF164029A for ; Mon, 13 Nov 2023 05:41:14 +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 3AD3neVI007289; Sun, 12 Nov 2023 20:41:14 -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=jUX9bWMSYGmuTBeKYnOtU3D4bjFpdAtVpgNM9sw8AGk=; b=VyqAmRF+TpaN1zstlt/ThoHBtbRDwim3udODKKyVJ/5NgahDejQgwoXa93dSJP7zcyws jAKy60da2r98xHhcpan7MaXBJW4KA2MMloNOTg6EKrF5hqx5/HKP8Hl9Yfyb1KPZ66Js STHV7paLxWuZ9Zky400dNRwaSky8YqfFDlq+ijb/eoju+Obz3QQasM7FLucEq16oFuiG b3hrvAptS7+XE0LGut5C/sQ4WhYrQk9FuWMo20fxVAms58YNALXzrADiEulIO55bpWnv 3u6BGUSXDdhOqadVerN8igRfk7r0U1RIROUB9hQ0vR0UYrmCB1qt5XTHs3fsHiHHRenp Kw== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3uaa0qusbh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sun, 12 Nov 2023 20:41:14 -0800 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Sun, 12 Nov 2023 20:41:12 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Sun, 12 Nov 2023 20:41:12 -0800 Received: from BG-LT91401.marvell.com (BG-LT91401.marvell.com [10.28.168.34]) by maili.marvell.com (Postfix) with ESMTP id 4F1333F704C; Sun, 12 Nov 2023 20:41:08 -0800 (PST) From: Gowrishankar Muthukrishnan To: CC: , Cheng Jiang , Kevin Laatz , Bruce Richardson , "Pavan Nikhilesh" , Amit Prakash Shukla , Gowrishankar Muthukrishnan Subject: [PATCH v6 0/4] PCI Dev and SG copy support Date: Mon, 13 Nov 2023 10:11:00 +0530 Message-ID: X-Mailer: git-send-email 2.21.0 In-Reply-To: References: MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: m1c7ck_gypELTOOiwmewl5mHbw5Tk92f X-Proofpoint-GUID: m1c7ck_gypELTOOiwmewl5mHbw5Tk92f 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-12_24,2023-11-09_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. v6: - 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(-)