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 BC90CA0679 for ; Tue, 2 Apr 2019 02:47:57 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9FF1F4C96; Tue, 2 Apr 2019 02:47:56 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id EE4954C95; Tue, 2 Apr 2019 02:47:54 +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 x320kWsP016676; Mon, 1 Apr 2019 17:47:54 -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=rVmpCs3kIhZCPIp3vIud5CXI0TqA9C1xRbpLJYxtiAE=; b=bw6nTJ/18oPKJVygRsLsmUtOWXBdm4RTmJ6uBoy/cCSEg/AHTNv/nMeKBaRgYZW9feDU FVxf7Y7hguddIn0qCG3OGPPShuQHUUhzhSMOwuk6pMwx/9SAJsXtfvj04C3Yi7A569vQ O9OV9kanv9ld/8bSJ0+dO75o24Bka/nmppycoSe5PiR9/7FQ8jrwK1xzHt37rPI67DZC C9BN7nKb421MzDPWVYZjvFlkEPkBH5uyXNTgfi9lm46eiv7EXHj097kLx66MaSXj+N3Z pP5xbWINB0Hjv40RA6L5E9acA9Hr8I7ROtzbj71nOJzvyKDEu1jKftIlonrEsOZ75z2C 8Q== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0b-0016f401.pphosted.com with ESMTP id 2rkrb48t0a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 01 Apr 2019 17:47:54 -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 17:47:52 -0700 Received: from NAM03-BY2-obe.outbound.protection.outlook.com (104.47.42.55) 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 17:47:52 -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=rVmpCs3kIhZCPIp3vIud5CXI0TqA9C1xRbpLJYxtiAE=; b=MCN/KVa8OlRpgcBcxyMYpuEHMS2bsnT5XL0cjhIsQYnLiwtMg6wAy931JfhJmVOFLkPhBZhlaTjxsCucYHK84p++14YBDn9gyMUiiyskQFBP1LGm+CVJgvm67STJcGjY1XTQL0IKzfdgawuGVzGRum32a98bd/kVD0wRwEv25SA= Received: from BYAPR18MB2424.namprd18.prod.outlook.com (20.179.91.149) by BYAPR18MB2918.namprd18.prod.outlook.com (20.179.59.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1750.15; Tue, 2 Apr 2019 00:47:50 +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 00:47:50 +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: [EXT] Re: [dpdk-dev] [PATCH] ethdev: fix DMA zone reserve not honoring size Thread-Index: AQHU595MOajHoQkCVUWjgm4oLn5LtqYm6diAgAEhzQA= Date: Tue, 2 Apr 2019 00:47:49 +0000 Message-ID: <819b2c86516855fda65403a8e94be9d03c4d7eeb.camel@marvell.com> References: <20190331162437.13048-1-pbhagavatula@marvell.com> <105f221f-0c64-e950-df9a-2c9eaa0991c3@solarflare.com> In-Reply-To: <105f221f-0c64-e950-df9a-2c9eaa0991c3@solarflare.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [122.167.67.119] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 817dc6ce-11c7-4672-07fe-08d6b704d4f5 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600139)(711020)(4605104)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:BYAPR18MB2918; x-ms-traffictypediagnostic: BYAPR18MB2918: x-microsoft-antispam-prvs: x-forefront-prvs: 0995196AA2 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(39860400002)(346002)(136003)(396003)(376002)(199004)(189003)(446003)(53546011)(486006)(54906003)(6512007)(6246003)(110136005)(6436002)(4326008)(6116002)(8676002)(36756003)(68736007)(305945005)(81166006)(2201001)(86362001)(53936002)(7736002)(476003)(5660300002)(118296001)(186003)(8936002)(81156014)(3846002)(78486014)(6506007)(66066001)(102836004)(71200400001)(478600001)(2906002)(316002)(26005)(11346002)(2501003)(2616005)(25786009)(97736004)(14444005)(256004)(76176011)(71190400001)(105586002)(6486002)(229853002)(14454004)(106356001)(99286004); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB2918; 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: 60Ojxv21kfA1STHlwkL8uOeV1yny0EpMM17wgpDDpB5+yBa9XhWjOB5Mu4fLJyPgfjR5AH5kxhihe6TQIXkdlS4xauwatzcC2Zg7O0wSTsEpqEIQ5L6p/hVwTW7nfQ3Lk3FbDxx2UqRMkAF3LvNCu4PlU2tNM4p4ZutZwxdr9sdShjYABbUs69NbgU1J5M3/cIrPZ17ZcCkZqeFFxV8MP9U7Cho9ePy0eo2UutI52TS4xxBpyNUsbuWR3Y5rP6j1ICrque9ZZi+/qmdkaKdJYb56RRRmK7c85vTViEQ5sMYZlw0lHawnIB3nApayujiXrijatZN+4uZz0x9pthJqtO7ztn6jJIiCMJzK3yo8KLRLleEJDtyiiMI3fdRvlCKnbaTCs1sZkdSQjI9rT/OwVvbeaL0THtsm3D4LZb4UZ1g= Content-Type: text/plain; charset="UTF-8" Content-ID: <2E059633F186D147884E831C9A57B395@namprd18.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 817dc6ce-11c7-4672-07fe-08d6b704d4f5 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Apr 2019 00:47:49.8543 (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: BYAPR18MB2918 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-04-01_09:, , 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: <20190402004749.VlR4GpHY1RbtFFmIdvHhXNymvjmEcWOg-5rxbjjKvbQ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