From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 82C6B239; Mon, 1 Apr 2019 14:12:59 +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 x31CAexK016779; Mon, 1 Apr 2019 05:12:58 -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=lE4vj0pXAtBnSTGQ8yKS3Q4FC6pz40QE45EH3FOC0oA=; b=iXNiiUnUTmCNKTgL0sCOCKU5ZpwXZJcZ383D6dBpl3NjvlrvF93MA2mfpPKaBOZm3a4L tn6zjx0Ijx07TFMtr5B+fueFpJ0hjN0/Wpu5pDcIDTNZY1ciwBgg47lpu4paErF/39ar k37jexWwJMhTuQE5RBJcbfgrM4eexGMyfq3H27ukTOFMRg72VVqDGnu8gIw4MDFGNevo tO2R//YOdDP2UiRtjomfeNNRQz8jGP2qUbwanjBUnMf78WVb4bXs9SZb/uaT/6FE5I2Z zxZasxJFgGVlei+a7Y3Mjt29e/X3fVlBtA4NNuUtcuJlBS+i6s83g/fZc9Uuf0FYAGCh mQ== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0a-0016f401.pphosted.com with ESMTP id 2rkfe7rh01-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 01 Apr 2019 05:12:57 -0700 Received: from SC-EXCH02.marvell.com (10.93.176.82) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Mon, 1 Apr 2019 05:12:56 -0700 Received: from NAM03-CO1-obe.outbound.protection.outlook.com (104.47.40.52) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Mon, 1 Apr 2019 05:12:56 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lE4vj0pXAtBnSTGQ8yKS3Q4FC6pz40QE45EH3FOC0oA=; b=ZG8V5sGh4esUwuzBY761z5A2k5nehWcmOrvT3BVRTHhr4ZSs3SGUeVXsUnCl80GJzAvWe5NYMkQ7SxK2TUR39bUHQr5m+XA6jge1XWGZqgPS3GVAVOy1L+mr8nC1ZPn6oDecaAbAm07PjDibLXUFvclOiacs6Gmf0Ni8Iyv18W8= Received: from CY4PR1801MB1863.namprd18.prod.outlook.com (10.171.255.14) by CY4PR1801MB1912.namprd18.prod.outlook.com (10.171.255.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1750.20; Mon, 1 Apr 2019 12:12:53 +0000 Received: from CY4PR1801MB1863.namprd18.prod.outlook.com ([fe80::e980:fa09:c83a:851d]) by CY4PR1801MB1863.namprd18.prod.outlook.com ([fe80::e980:fa09:c83a:851d%3]) with mapi id 15.20.1750.021; Mon, 1 Apr 2019 12:12:52 +0000 From: Pavan Nikhilesh Bhagavatula To: "Burakov, Anatoly" , Andrew Rybchenko , Jerin Jacob Kollanukkaran , "thomas@monjalon.net" , "ferruh.yigit@intel.com" , "stephen@networkplumber.org" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [EXT] Re: [dpdk-dev] [PATCH] ethdev: fix DMA zone reserve not honoring size Thread-Index: AQHU595MOajHoQkCVUWjgm4oLn5LtqYm6diAgAAg/4CAAANZAIAABFVw Date: Mon, 1 Apr 2019 12:12:52 +0000 Message-ID: References: <20190331162437.13048-1-pbhagavatula@marvell.com> <105f221f-0c64-e950-df9a-2c9eaa0991c3@solarflare.com> <2319df1d-3e51-4554-10b5-b99bd0955ab5@intel.com> <8bce9dd4-4879-db22-41ad-cc584c7afee8@intel.com> In-Reply-To: <8bce9dd4-4879-db22-41ad-cc584c7afee8@intel.com> Accept-Language: en-IN, 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: 27d94a9d-bdf2-46c7-f5f7-08d6b69b5dd2 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600139)(711020)(4605104)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:CY4PR1801MB1912; x-ms-traffictypediagnostic: CY4PR1801MB1912: x-microsoft-antispam-prvs: x-forefront-prvs: 0994F5E0C5 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(396003)(376002)(39860400002)(136003)(346002)(199004)(189003)(13464003)(93886005)(476003)(478600001)(110136005)(2201001)(14444005)(54906003)(316002)(14454004)(256004)(86362001)(33656002)(6436002)(106356001)(7696005)(105586002)(99286004)(229853002)(7736002)(305945005)(74316002)(81156014)(8936002)(81166006)(26005)(2906002)(3846002)(4326008)(76176011)(446003)(66066001)(71200400001)(71190400001)(8676002)(5660300002)(25786009)(11346002)(53546011)(486006)(97736004)(6246003)(2501003)(186003)(102836004)(6506007)(55236004)(6116002)(68736007)(52536014)(9686003)(55016002)(53936002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR1801MB1912; H:CY4PR1801MB1863.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: wJjBiL/v+FQtXQ6A3oFhR+oKOpJmZN1bjQOGzeJDfcuvQ9KjW2Z1AKxQLVi9EM61WGxyYoq+fVf8FVn0+60m339Rg1Z3Wx8rcFCXBCOwAxo/OIfeyKAXUvThpLS8Fyj34SSYV6deNIP91OjQERBCLUCP9x7hP+nvFJ68OPjZMdD7CfOeDAO1Gk7H3ccxg2h3qh53K3U565fsAT+5gRBkwMtkEL1Jsvq/YINvzP+m7xfANX0u46tvHkpEccIa32M5ao4AXedjCFIpfM3iWpRJfEqoEwv6W9EYFYxkeCkbhJGHvWeCrWhEpMz5XiyzGHpZbOg0f+GadSWpGouzxZSP5eedlnycs5mUc3Bv2qKC9O2rbRFlkaEDwrLZa3qQKlvaoIJCE6xqH+SjwMCQ+cB8LoEi/bKo+18FIROVjtNuHdc= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 27d94a9d-bdf2-46c7-f5f7-08d6b69b5dd2 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Apr 2019 12:12:52.8365 (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-Transport-CrossTenantHeadersStamped: CY4PR1801MB1912 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-04-01_04:, , signatures=0 Subject: Re: [dpdk-dev] [EXT] Re: [PATCH] ethdev: fix DMA zone reserve not honoring size 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: , X-List-Received-Date: Mon, 01 Apr 2019 12:13:00 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQnVyYWtvdiwgQW5hdG9s eSA8YW5hdG9seS5idXJha292QGludGVsLmNvbT4NCj4gU2VudDogTW9uZGF5LCBBcHJpbCAxLCAy MDE5IDM6MTEgUE0NCj4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Bwb3NzaWJsZSByaW5nIHNpemUpLg0KDQpDYW4gd2UgaGF2ZSB0aGUg ZnJlZSBhbmQgcmVzZXJ2ZSBmb3IgdGhpcyByZWxlYXNlIGFuZCBtb3ZlIGl0IHRvIHJlc2l6ZSBp biB0aGUgbmV4dD8NCkFGQUlLIG1vc3Qgb2YgdGhlIGV4aXN0aW5nIGRyaXZlcnMgZG9u4oCZdCBo YXZlIGEgZGlmZmVyZW50IHBhdGggZm9yIHJlY29uZmlndXJlIGFuZCBzaW5jZSBpdCBpcyBzYW1l IGFzIGNvbmZpZ3VyZSB0aGV5IA0KcHJvcGFnYXRlIHRoZSBkbWEgem9uZSBhZGRyZXNzIHByb3Bl cmx5Lg0KDQo+ID4NCj4gPj4NCj4gPj4+ICsNCj4gPj4+IMKgwqDCoMKgwqAgcmV0dXJuIHJ0ZV9t ZW16b25lX3Jlc2VydmVfYWxpZ25lZCh6X25hbWUsIHNpemUsIHNvY2tldF9pZCwNCj4gPj4+IMKg wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIFJURV9NRU1aT05FX0lPVkFfQ09OVElHLCBhbGlnbik7 DQo+ID4+PiDCoCB9DQo+ID4+DQo+ID4+DQo+ID4NCj4gPg0KPiANCj4gDQo+IC0tDQo+IFRoYW5r cywNCj4gQW5hdG9seQ0K 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 D5442A0679 for ; Mon, 1 Apr 2019 14:13:03 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CC3593576; Mon, 1 Apr 2019 14:13:01 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 82C6B239; Mon, 1 Apr 2019 14:12:59 +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 x31CAexK016779; Mon, 1 Apr 2019 05:12:58 -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=lE4vj0pXAtBnSTGQ8yKS3Q4FC6pz40QE45EH3FOC0oA=; b=iXNiiUnUTmCNKTgL0sCOCKU5ZpwXZJcZ383D6dBpl3NjvlrvF93MA2mfpPKaBOZm3a4L tn6zjx0Ijx07TFMtr5B+fueFpJ0hjN0/Wpu5pDcIDTNZY1ciwBgg47lpu4paErF/39ar k37jexWwJMhTuQE5RBJcbfgrM4eexGMyfq3H27ukTOFMRg72VVqDGnu8gIw4MDFGNevo tO2R//YOdDP2UiRtjomfeNNRQz8jGP2qUbwanjBUnMf78WVb4bXs9SZb/uaT/6FE5I2Z zxZasxJFgGVlei+a7Y3Mjt29e/X3fVlBtA4NNuUtcuJlBS+i6s83g/fZc9Uuf0FYAGCh mQ== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0a-0016f401.pphosted.com with ESMTP id 2rkfe7rh01-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 01 Apr 2019 05:12:57 -0700 Received: from SC-EXCH02.marvell.com (10.93.176.82) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Mon, 1 Apr 2019 05:12:56 -0700 Received: from NAM03-CO1-obe.outbound.protection.outlook.com (104.47.40.52) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Mon, 1 Apr 2019 05:12:56 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lE4vj0pXAtBnSTGQ8yKS3Q4FC6pz40QE45EH3FOC0oA=; b=ZG8V5sGh4esUwuzBY761z5A2k5nehWcmOrvT3BVRTHhr4ZSs3SGUeVXsUnCl80GJzAvWe5NYMkQ7SxK2TUR39bUHQr5m+XA6jge1XWGZqgPS3GVAVOy1L+mr8nC1ZPn6oDecaAbAm07PjDibLXUFvclOiacs6Gmf0Ni8Iyv18W8= Received: from CY4PR1801MB1863.namprd18.prod.outlook.com (10.171.255.14) by CY4PR1801MB1912.namprd18.prod.outlook.com (10.171.255.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1750.20; Mon, 1 Apr 2019 12:12:53 +0000 Received: from CY4PR1801MB1863.namprd18.prod.outlook.com ([fe80::e980:fa09:c83a:851d]) by CY4PR1801MB1863.namprd18.prod.outlook.com ([fe80::e980:fa09:c83a:851d%3]) with mapi id 15.20.1750.021; Mon, 1 Apr 2019 12:12:52 +0000 From: Pavan Nikhilesh Bhagavatula To: "Burakov, Anatoly" , Andrew Rybchenko , Jerin Jacob Kollanukkaran , "thomas@monjalon.net" , "ferruh.yigit@intel.com" , "stephen@networkplumber.org" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [EXT] Re: [dpdk-dev] [PATCH] ethdev: fix DMA zone reserve not honoring size Thread-Index: AQHU595MOajHoQkCVUWjgm4oLn5LtqYm6diAgAAg/4CAAANZAIAABFVw Date: Mon, 1 Apr 2019 12:12:52 +0000 Message-ID: References: <20190331162437.13048-1-pbhagavatula@marvell.com> <105f221f-0c64-e950-df9a-2c9eaa0991c3@solarflare.com> <2319df1d-3e51-4554-10b5-b99bd0955ab5@intel.com> <8bce9dd4-4879-db22-41ad-cc584c7afee8@intel.com> In-Reply-To: <8bce9dd4-4879-db22-41ad-cc584c7afee8@intel.com> Accept-Language: en-IN, 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: 27d94a9d-bdf2-46c7-f5f7-08d6b69b5dd2 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600139)(711020)(4605104)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:CY4PR1801MB1912; x-ms-traffictypediagnostic: CY4PR1801MB1912: x-microsoft-antispam-prvs: x-forefront-prvs: 0994F5E0C5 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(396003)(376002)(39860400002)(136003)(346002)(199004)(189003)(13464003)(93886005)(476003)(478600001)(110136005)(2201001)(14444005)(54906003)(316002)(14454004)(256004)(86362001)(33656002)(6436002)(106356001)(7696005)(105586002)(99286004)(229853002)(7736002)(305945005)(74316002)(81156014)(8936002)(81166006)(26005)(2906002)(3846002)(4326008)(76176011)(446003)(66066001)(71200400001)(71190400001)(8676002)(5660300002)(25786009)(11346002)(53546011)(486006)(97736004)(6246003)(2501003)(186003)(102836004)(6506007)(55236004)(6116002)(68736007)(52536014)(9686003)(55016002)(53936002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR1801MB1912; H:CY4PR1801MB1863.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: wJjBiL/v+FQtXQ6A3oFhR+oKOpJmZN1bjQOGzeJDfcuvQ9KjW2Z1AKxQLVi9EM61WGxyYoq+fVf8FVn0+60m339Rg1Z3Wx8rcFCXBCOwAxo/OIfeyKAXUvThpLS8Fyj34SSYV6deNIP91OjQERBCLUCP9x7hP+nvFJ68OPjZMdD7CfOeDAO1Gk7H3ccxg2h3qh53K3U565fsAT+5gRBkwMtkEL1Jsvq/YINvzP+m7xfANX0u46tvHkpEccIa32M5ao4AXedjCFIpfM3iWpRJfEqoEwv6W9EYFYxkeCkbhJGHvWeCrWhEpMz5XiyzGHpZbOg0f+GadSWpGouzxZSP5eedlnycs5mUc3Bv2qKC9O2rbRFlkaEDwrLZa3qQKlvaoIJCE6xqH+SjwMCQ+cB8LoEi/bKo+18FIROVjtNuHdc= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 27d94a9d-bdf2-46c7-f5f7-08d6b69b5dd2 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Apr 2019 12:12:52.8365 (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-Transport-CrossTenantHeadersStamped: CY4PR1801MB1912 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-04-01_04:, , signatures=0 Subject: Re: [dpdk-dev] [EXT] Re: [PATCH] ethdev: fix DMA zone reserve not honoring size 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" Message-ID: <20190401121252.kSco0L605nCy-Om-HZTVQdBYihqSB_ZRuJmuV3385oY@z> DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQnVyYWtvdiwgQW5hdG9s eSA8YW5hdG9seS5idXJha292QGludGVsLmNvbT4NCj4gU2VudDogTW9uZGF5LCBBcHJpbCAxLCAy MDE5IDM6MTEgUE0NCj4gVG86IEFuZHJldyBSeWJjaGVua28gPGFyeWJjaGVua29Ac29sYXJmbGFy ZS5jb20+OyBQYXZhbiBOaWtoaWxlc2gNCj4gQmhhZ2F2YXR1bGEgPHBiaGFnYXZhdHVsYUBtYXJ2 ZW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