From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 2227DA0096 for ; Wed, 5 Jun 2019 15:52:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BB9181BA46; Wed, 5 Jun 2019 15:52:06 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 174221B9F8 for ; Wed, 5 Jun 2019 15:52:05 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x55DkcKL029201; Wed, 5 Jun 2019 06:52:05 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=LPlgOBm7zi0VRt8shesW0wUbsHisizZLpCgILrXh3h8=; b=qjhsVccLGhxExkM8qPZu0jVM/emEb9jWKfnGuuxdO9QuqrDLQiyW/RLeLhAQHY7L53yM LjYpMpqi4wMssRsJ/buogXY+dIZlBmSViAl3gCyBFIbvBWw0LsOht5HCF9c5539AIlVv /IRmeukitiL2EG0W1YVYj1xCAIat8+tpA+fega8eAec+ufkEyc7oIFF6lBJYYqRASHqM nc4K1O6XLIMCrdoo9IyIzqMpUZJVMMJ6ytY2G1MJduHCTCER3ijWC2OA6pBKp2erfRTa nL1dRptYk35pMP8MXqkmbWJE0TouTTRcuw29H3OLEKTPFLnSwYXjvC5w2UlYYqZ6162z sQ== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0b-0016f401.pphosted.com with ESMTP id 2sx3kfacxb-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 05 Jun 2019 06:52:05 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 5 Jun 2019 06:52:03 -0700 Received: from NAM03-BY2-obe.outbound.protection.outlook.com (104.47.42.58) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Wed, 5 Jun 2019 06:52:03 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector2-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LPlgOBm7zi0VRt8shesW0wUbsHisizZLpCgILrXh3h8=; b=BDhL3iSsV0DDqNsCpGHDhq9Cj5DAfiRIo1qrO7urBDflCWZ1j4ypG3I2CZTM4vAWzWBYdbRhqHcrgQMPv5O+cYRr2rNv4toNfM6BXp+stJ+VnfD9Km95ouuI51cKFEpuL0K0QFpPg9VavXInX7jCx3kkWQwjtZIpqawK/2Yw6Yk= Received: from BYAPR18MB2424.namprd18.prod.outlook.com (20.179.91.149) by BYAPR18MB2662.namprd18.prod.outlook.com (20.179.94.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1943.22; Wed, 5 Jun 2019 13:52:01 +0000 Received: from BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::1ce4:557d:eeb8:843c]) by BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::1ce4:557d:eeb8:843c%7]) with mapi id 15.20.1965.011; Wed, 5 Jun 2019 13:52:01 +0000 From: Jerin Jacob Kollanukkaran To: Bruce Richardson , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 8/8] raw/ioat: add local API to perform copies Thread-Index: AQHVFy5/Rp+OD7wnKky1L/NEpbYDyqaNHE3Q Date: Wed, 5 Jun 2019 13:52:01 +0000 Message-ID: References: <20190530212525.40370-1-bruce.richardson@intel.com> <20190530212525.40370-9-bruce.richardson@intel.com> In-Reply-To: <20190530212525.40370-9-bruce.richardson@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [122.178.234.223] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5aeca404-3ba1-4323-a559-08d6e9bcfc87 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:BYAPR18MB2662; x-ms-traffictypediagnostic: BYAPR18MB2662: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:343; x-forefront-prvs: 00594E8DBA x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(979002)(39860400002)(376002)(346002)(396003)(366004)(136003)(13464003)(199004)(189003)(9686003)(74316002)(68736007)(478600001)(64756008)(2501003)(4744005)(71200400001)(5660300002)(99286004)(6436002)(186003)(55016002)(26005)(25786009)(14454004)(7696005)(3846002)(6116002)(446003)(66556008)(110136005)(52536014)(33656002)(229853002)(2906002)(76176011)(81166006)(86362001)(8936002)(316002)(81156014)(486006)(476003)(8676002)(6246003)(14444005)(66066001)(256004)(76116006)(7736002)(73956011)(66476007)(305945005)(11346002)(53936002)(66946007)(71190400001)(102836004)(66446008)(6506007)(53546011)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB2662; H:BYAPR18MB2424.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: WaJtpieRrDM4FgsWNH9/qklwMtDK8LOB3J9+m/y7cBCjUPNODO86nWEofA0N8ix20coauhmnKHXk5DNE/3dhxOyFiZHmD46E+mjh2dh9ycnAhdWrhLhft4YVSy1coiM46BMBo0dTMNf9bX6ZEIa+P/SMVizdrgKdhLDsxH6jp2sBlPioTHHoGM6cRXJlFbxxhRj6YGXxIE55jBdmwVI8JoYPkv2z3uXITVQM+JYL3PGHjVXrjA02tieoXrZB64GWNL8Bn5UCCWfAMhGLvmmMWoTUs5l4gHbHYfkBBQBoJA8o3ui32BQaFhpXh51GCIOC3Nfi25Hbyj2K0DNNdbRd4AGRW+QOHU+i5sqkACL8hFesn+AhLDDh2ATaQeVERldtpfCLfQXPN1AuPlfhlLnPWZxWpSB1eCSFAo4zif7Zldg= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 5aeca404-3ba1-4323-a559-08d6e9bcfc87 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jun 2019 13:52:01.7666 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: jerinj@marvell.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR18MB2662 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-06-05_08:, , signatures=0 Subject: Re: [dpdk-dev] [PATCH 8/8] raw/ioat: add local API to perform copies X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: dev On Behalf Of Bruce Richardson > Sent: Friday, May 31, 2019 2:55 AM > To: dev@dpdk.org > Cc: Bruce Richardson > Subject: [dpdk-dev] [PATCH 8/8] raw/ioat: add local API to perform copies >=20 > Add local APIs to trigger data copies, and retrieve handle values once th= ose > copies are completed. Included are unit tests to validate the data is cop= ies > correctly. >=20 > Signed-off-by: Bruce Richardson > --- > app/test/test_ioat_rawdev.c | 159 ++++++++++++++++++++++++++++- How about moving this test to drivers/raw/ioat/ directory by implementing dev_selftest ops? IMO, it is better to not pollute app/test with PMD specif= ic test cases.