From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5F997A00E6 for ; Mon, 8 Jul 2019 07:25:44 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 212E337B0; Mon, 8 Jul 2019 07:25:43 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id A5867325F for ; Mon, 8 Jul 2019 07:25:41 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x685Pemx016838; Sun, 7 Jul 2019 22:25:40 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=1SoiFvYG76pZfqBBBhOqh/H/bboKdErqWd8KkRTayNY=; b=jlOWZjy2sNsvCAtvfi914nx81vXRhuko86GBjBEqZHPH/M+aQqef+K/XcJI92JTYwlgc w8GYK3oK0xTHQqe6Y+GqyudWqGuauaKNnJYtFcA8mHjJbDDFSmlso/G5+ERfBjGWLBaS xe9Mm10j5N68YSVPmGEZPUsLnk8XA90Ar1qOHoKqC9jbGSckGtHGMplA+Jp/br1WFiOF /cAjRZIynh8h1l14czV25YOE5Pq9zpfaEe4+4XlpFHFI/R1RH0lkNn0n4vdr0kuNCVJ+ QZ3ujcjKqf+dPT6bi9iw9mJv8+0WJhvJuzjbbb5jsZNpKAAlrfYuEfp4yVpCx8hEB8fb 5g== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0a-0016f401.pphosted.com with ESMTP id 2tjs0nx8nh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sun, 07 Jul 2019 22:25:40 -0700 Received: from SC-EXCH02.marvell.com (10.93.176.82) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Sun, 7 Jul 2019 22:25:39 -0700 Received: from NAM04-SN1-obe.outbound.protection.outlook.com (104.47.44.52) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Sun, 7 Jul 2019 22:25:39 -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=1SoiFvYG76pZfqBBBhOqh/H/bboKdErqWd8KkRTayNY=; b=TMKOuXrlpw0tWt+I/fSSSM9BAkifAKXnVzfM0D25ba/WG326FsxDp5e1FgvRndbhA69GHDyei7pvZWoeNGn3In1NExlQFjxZYGa7gMjfUy40212jOhPkB6uLMP2Yoa3BTiWxJLYvGd8p8/y5QtmdOg8ZdfcivW4Uawiymx63VsA= Received: from BYAPR18MB2424.namprd18.prod.outlook.com (20.179.91.149) by BYAPR18MB2935.namprd18.prod.outlook.com (20.179.59.77) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2052.18; Mon, 8 Jul 2019 05:25:37 +0000 Received: from BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::2d42:12b6:aa2e:2862]) by BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::2d42:12b6:aa2e:2862%4]) with mapi id 15.20.2052.020; Mon, 8 Jul 2019 05:25:37 +0000 From: Jerin Jacob Kollanukkaran To: Vamsi Krishna Attunuru , "dev@dpdk.org" CC: "thomas@monjalon.net" , Vamsi Krishna Attunuru Thread-Topic: [PATCH v1 1/1] mempool/octeontx2: fix mempool creation failure Thread-Index: AQHVNUhGtlJ2qUIwJUKW+5Fe0yfZfabAL8vw Date: Mon, 8 Jul 2019 05:25:37 +0000 Message-ID: References: <20190705103341.30219-1-vattunuru@marvell.com> <20190708044731.16843-1-vattunuru@marvell.com> In-Reply-To: <20190708044731.16843-1-vattunuru@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [14.140.231.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4e3c48c1-e553-4102-5d4d-08d70364b5b4 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:BYAPR18MB2935; x-ms-traffictypediagnostic: BYAPR18MB2935: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3968; x-forefront-prvs: 00922518D8 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(396003)(39850400004)(366004)(346002)(136003)(13464003)(189003)(199004)(81166006)(73956011)(81156014)(8676002)(76116006)(5660300002)(7736002)(74316002)(99286004)(305945005)(52536014)(66556008)(66446008)(64756008)(66946007)(66476007)(8936002)(26005)(14444005)(256004)(6506007)(229853002)(9686003)(55016002)(53936002)(2906002)(6436002)(102836004)(53546011)(55236004)(2501003)(14454004)(71200400001)(71190400001)(86362001)(316002)(486006)(446003)(11346002)(3846002)(6116002)(110136005)(54906003)(186003)(476003)(6246003)(107886003)(66066001)(68736007)(478600001)(25786009)(33656002)(4326008)(7696005)(76176011); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB2935; H:BYAPR18MB2424.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: 2+KVKLRCCNQISQLT9WHaT3bMjjCWaVWdnC3VDaKokeCARg4skEld2L8LYW/rW6R9K5eXZ8mtKcFMQb3q/EYyAuTZE/eTRD1GiRli4fn3T8tQF97jU+xAkZKN4pqtW3qb2ZVOIN1GKRaL5OurQw7LZ7s6jsH3pqvB0mQC31SaPJkd2phl6DCz3Is5Yrgv1GO5PePjkkPGESNocgtQjoImbznMzVf50XYy+AQJjYZRkcZhK2PfbsE3vOcW7uLlcHP6JPyN2Mg1gijaYZ6rmcyAHMWGZIyh4PnszkIdapMTSEZd5pwGBPDkGwRnM4irrpjC+f+Lm1IPA2X/aTQSRH4Hkt/mh4egjQmGkeRE/SSxhpgcC7i85akc8XnCqIQRLOGCvweo3gyDhFFlVJtgoVXJRtWw0uy3gjGh0W8MZC44U7w= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 4e3c48c1-e553-4102-5d4d-08d70364b5b4 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jul 2019 05:25:37.5264 (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: BYAPR18MB2935 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-07-08_01:, , signatures=0 Subject: Re: [dpdk-dev] [PATCH v1 1/1] mempool/octeontx2: fix mempool creation failure 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: vattunuru@marvell.com > Sent: Monday, July 8, 2019 10:18 AM > To: dev@dpdk.org > Cc: thomas@monjalon.net; Jerin Jacob Kollanukkaran ; > Vamsi Krishna Attunuru > Subject: [PATCH v1 1/1] mempool/octeontx2: fix mempool creation failure Actually it is v2. v2..v1: # Fixed git-check-log.sh issues # Updated git comments for "when this issue happens?" # Change the name of the patch # Add Fixes tag =20 > From: Vamsi Attunuru >=20 > Fix npa pool range errors observed while creating mempool, this issue > happens when mempool objects are from different mem segments. >=20 > During mempool creation, octeontx2 mempool driver populates pool range > fields before enqueuing the buffers. If any enqueue or dequeue operation > reaches npa hardware prior to the range field's HW context update, those > ops result in npa range errors. Patch adds a routine to read back HW cont= ext > and verify if range fields are updated or not. >=20 > Fixes: e5271c507aeb ("mempool/octeontx2: add remaining slow path ops") >=20 > Signed-off-by: Vamsi Attunuru Acked-by: Jerin Jacob