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 98E2EA0679 for ; Tue, 2 Apr 2019 10:25:23 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7C1CE2C36; Tue, 2 Apr 2019 10:25:23 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 0CAA42C36; Tue, 2 Apr 2019 10:25:21 +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 x328KaUc006011; Tue, 2 Apr 2019 01:25:21 -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-id : content-transfer-encoding : mime-version; s=pfpt0818; bh=WmJcoAuKBXO6V4Q88Op+WR1LogT1R/eJu3z+XL9JRvU=; b=t/JnYCgGvY9NH7BhtBtyLENCZ0klKOzJGPeQucafx0UsNg6jjrGYvVodTpZ/7i2uL3L6 BQZds5dQR35WLBY8m+xlBGKAXPnsyoA/d4LaKZJ3Xnjt7/gy2veJeDzkYfQLortyM8Ik xMclVp0cGss/zAVWy8LIeF7aUbG1mmm4G3cAzvQ9TT1H8CnTwn7tEXFXPbYX8iFD8UFT ZahRgdGn6a011SD+H9LeQekl/CEEN+OJS32YJjx/rzX94w5WG9pQmf8xEjVDXGv3yL0u h0J1euPibEWGeh5EBwywdxA9ldOLar/pfBCLxNzqY1JNMU7aWiQXzvPbHwkCo4/smn8Y og== Received: from sc-exch01.marvell.com ([199.233.58.181]) by mx0b-0016f401.pphosted.com with ESMTP id 2rkrb49qrw-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 02 Apr 2019 01:25:21 -0700 Received: from SC-EXCH04.marvell.com (10.93.176.84) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Tue, 2 Apr 2019 01:25:14 -0700 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (104.47.38.56) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Tue, 2 Apr 2019 01:25:14 -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=WmJcoAuKBXO6V4Q88Op+WR1LogT1R/eJu3z+XL9JRvU=; b=cUGz/0SSkChemuX4Py1Pi/u7XTnH+Emlv6cloAQnnVPKVnv+TeHalJRrFXtPBR54qTDYMsSL/j9pzTbu+rpkPRzLoHuUipBrImwZxFK+Q831xhfMNihmY6cm2Jo/YvCezsZIwA7mjYcTvSY9xXVWvc1bfroD7wh0sJ2cR2qpp3Y= Received: from BYAPR18MB2424.namprd18.prod.outlook.com (20.179.91.149) by BYAPR18MB2885.namprd18.prod.outlook.com (20.179.58.159) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1750.22; Tue, 2 Apr 2019 08:25:09 +0000 Received: from BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::6dd3:c056:b23b:ab4e]) by BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::6dd3:c056:b23b:ab4e%6]) with mapi id 15.20.1750.014; Tue, 2 Apr 2019 08:25:09 +0000 From: Jerin Jacob Kollanukkaran To: "stephen@networkplumber.org" , "thomas@monjalon.net" , "arybchenko@solarflare.com" , Pavan Nikhilesh Bhagavatula , "ferruh.yigit@intel.com" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [EXT] Re: [PATCH] ethdev: fix DMA zone reserve not honoring size Thread-Index: AQHU6SbYif2RPOuhY0qaySQ+7AXduqYoiNsA Date: Tue, 2 Apr 2019 08:25:09 +0000 Message-ID: <12cbd37b9f47b234459892f8374ac95616070638.camel@marvell.com> References: <20190331162437.13048-1-pbhagavatula@marvell.com> <105f221f-0c64-e950-df9a-2c9eaa0991c3@solarflare.com> <819b2c86516855fda65403a8e94be9d03c4d7eeb.camel@marvell.com> <31ff511d-db25-7a64-63cb-97272f363dc1@solarflare.com> In-Reply-To: <31ff511d-db25-7a64-63cb-97272f363dc1@solarflare.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: 5ecdb3b1-cc97-4824-0868-08d6b744b86f x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(2017052603328)(7193020); SRVR:BYAPR18MB2885; x-ms-traffictypediagnostic: BYAPR18MB2885: x-microsoft-antispam-prvs: x-forefront-prvs: 0995196AA2 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(366004)(396003)(136003)(346002)(376002)(189003)(199004)(26005)(6506007)(25786009)(6246003)(6116002)(14454004)(86362001)(36756003)(106356001)(68736007)(6436002)(2906002)(102836004)(6486002)(53936002)(105586002)(4326008)(81156014)(81166006)(186003)(229853002)(5660300002)(8676002)(316002)(2501003)(2616005)(71200400001)(54906003)(66066001)(110136005)(8936002)(3846002)(478600001)(55236004)(446003)(6512007)(11346002)(71190400001)(305945005)(486006)(93886005)(53546011)(7736002)(256004)(97736004)(76176011)(14444005)(476003)(118296001)(99286004)(2201001); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB2885; 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: 3j1IbE+nDOzFxxHFBPlvQTtI1uBJ5Vjblh56SlCzxhpjJW4osN2qjymqPc34UpBjFtYwA7IML6qQDqcdbmDvYBOfVlnrdxAfF4tE3JrrEdl/J1VTk6bcQ5MRKzcGuxjm3J+hIiXyZR5glbmJm9VC3DuGq2NIPMVnFfJg8qzHLivpTj3phm0pm6h6dnjI8N3cot++Geb8Gz2/Q4y5ZmM+nQc1+xPvUnEbu8q6vwb7mlgqO7RbINnfwsKXxPrIuRHm07FVdG2miy9vklkqz8bgCcNFSD7CC74o8LRrFV7I0Q7Fv3IzLflcR5jPUvZzSuWSxEH719GhpWtI/f8vD3UVTTeWn/IVCfszO3Jklf5AO26ctIr4GygQRt7hrcLNWyVLkFDbe6KMCXo4FlLpAp/Fpx19xhlnkIr5nNvQVDpX+fM= Content-Type: text/plain; charset="utf-8" Content-ID: <3E7494D050E0FF43B646F41E7BF18D1D@namprd18.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 5ecdb3b1-cc97-4824-0868-08d6b744b86f X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Apr 2019 08:25:09.7606 (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: BYAPR18MB2885 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-04-02_04:, , signatures=0 Subject: Re: [dpdk-stable] [dpdk-dev] [EXT] Re: [PATCH] ethdev: fix DMA zone reserve not honoring size X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-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