From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70041.outbound.protection.outlook.com [40.107.7.41]) by dpdk.org (Postfix) with ESMTP id 33BDB4F9A for ; Fri, 12 Apr 2019 09:04:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Mh5ubX/e5iIJjLSR4B8UTjgyZK+pE03Pen5kx+OLpOc=; b=TiXycE1+pVVBgHuRT1GP985sYGxKOEFfzgUtziRAbw5hjiXzx5dcocQNPLa9EdCxzKckPwdhpbBghISfjzswKvK6K5fSoYfXtL0zOBa663K0q1dwc7zaad6xXWRgqm6Z5eHoQHs6g+74UJNUdDvmhu5/niQkRN3c5FRWUqY+eQA= Received: from VE1PR04MB6365.eurprd04.prod.outlook.com (10.255.118.78) by VE1PR04MB6461.eurprd04.prod.outlook.com (20.179.233.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1792.17; Fri, 12 Apr 2019 07:04:09 +0000 Received: from VE1PR04MB6365.eurprd04.prod.outlook.com ([fe80::f5ad:f178:4c55:13e0]) by VE1PR04MB6365.eurprd04.prod.outlook.com ([fe80::f5ad:f178:4c55:13e0%3]) with mapi id 15.20.1792.016; Fri, 12 Apr 2019 07:04:09 +0000 From: Gagandeep Singh To: "dev@dpdk.org" , "ferruh.yigit@intel.com" CC: "thomas@monjalon.net" , Gagandeep Singh Thread-Topic: [PATCH v2 03/13] net/enetc: use correct buffer allocation API Thread-Index: AQHU8P3sKTVIRuj6kUS1XV5sCI7SFg== Date: Fri, 12 Apr 2019 07:04:08 +0000 Message-ID: <1555075598-4988-4-git-send-email-g.singh@nxp.com> References: <1554745507-15089-1-git-send-email-g.singh@nxp.com> <1555075598-4988-1-git-send-email-g.singh@nxp.com> In-Reply-To: <1555075598-4988-1-git-send-email-g.singh@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BM1PR0101CA0038.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1a::24) To VE1PR04MB6365.eurprd04.prod.outlook.com (2603:10a6:803:12a::14) x-mailer: git-send-email 1.9.1 authentication-results: spf=none (sender IP is ) smtp.mailfrom=G.Singh@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [92.120.1.67] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 50f8caaf-e200-47e7-892a-08d6bf150ee7 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:VE1PR04MB6461; x-ms-traffictypediagnostic: VE1PR04MB6461: x-microsoft-antispam-prvs: x-forefront-prvs: 0005B05917 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(39860400002)(376002)(366004)(396003)(346002)(189003)(199004)(6512007)(102836004)(256004)(86362001)(36756003)(486006)(25786009)(6486002)(2501003)(26005)(386003)(2906002)(66066001)(7736002)(71190400001)(14454004)(71200400001)(6506007)(53936002)(97736004)(186003)(76176011)(8676002)(52116002)(105586002)(106356001)(99286004)(446003)(81166006)(81156014)(72206003)(478600001)(50226002)(11346002)(476003)(2616005)(6116002)(54906003)(5660300002)(110136005)(4326008)(316002)(8936002)(6436002)(4744005)(68736007)(3846002)(305945005); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6461; H:VE1PR04MB6365.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: pgkBDHClvKE1PG6ZD+zVhCt/IqfxccShMCB3gGihascBdvvJhZABKflDP2imojbbeh2wLQIhG8r1risd3YJNBcBd8wEn2rmOiIw+slt0hE6IzuP0krbL2IEuT6IF8C0iNZ+6vpAlp2PLOLCZCvyDBLEJ+rC+6OaNUnxBgqynlOWnepifXI4L8PvWaIptHsdmTry78EC8COQP034Li8Kdk60LlbtMBPoxpXin1KXY+hNphg5SeRC5C1auij6Fbg2AkmmVQ9ar3YUOEeNizcVw/wxglk76AJyy9Hrb1TOuw9fbvCoUchJmOb2ELxj8vcDI4IBd7R5hAIrWfgJLCtpgpHqpkwptvR3bL4hrqC4Lhj15ct+x8EzIcSc4Nz4zFgqzgajZrgdqq/HPzqI7x74U2C9ctHI3K74R8cE7xZr61oc= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 50f8caaf-e200-47e7-892a-08d6bf150ee7 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Apr 2019 07:04:08.9820 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6461 Subject: [dpdk-dev] [PATCH v2 03/13] net/enetc: use correct buffer allocation API 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: Fri, 12 Apr 2019 07:04:10 -0000 cnRlX3BrdG1idWZfYWxsb2MgQVBJIHNob3VsZCBiZSB1c2VkIHRvIGFsbG9jYXRlIG1idWYNCmlu c3RlYWQgb2YgcnRlX3BrdG1idWZfcmF3X2FsbG9jIHRvIGF2b2lkIHVzZSBvZiBzdGFsZSBtYnVm DQppbmZvc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bnQ2NF90KSh1aW50cHRyX3QpDQogCQkJICAgICAgIHJ4X3N3YmQtPmJ1ZmZlcl9hZGRyLT5idWZf aW92YSArDQogCQkJICAgICAgIHJ4X3N3YmQtPmJ1ZmZlcl9hZGRyLT5kYXRhX29mZjsNCi0tIA0K MS45LjENCg0K 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 5D717A0096 for ; Fri, 12 Apr 2019 09:04:37 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2F1BC58CB; Fri, 12 Apr 2019 09:04:19 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70041.outbound.protection.outlook.com [40.107.7.41]) by dpdk.org (Postfix) with ESMTP id 33BDB4F9A for ; Fri, 12 Apr 2019 09:04:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Mh5ubX/e5iIJjLSR4B8UTjgyZK+pE03Pen5kx+OLpOc=; b=TiXycE1+pVVBgHuRT1GP985sYGxKOEFfzgUtziRAbw5hjiXzx5dcocQNPLa9EdCxzKckPwdhpbBghISfjzswKvK6K5fSoYfXtL0zOBa663K0q1dwc7zaad6xXWRgqm6Z5eHoQHs6g+74UJNUdDvmhu5/niQkRN3c5FRWUqY+eQA= Received: from VE1PR04MB6365.eurprd04.prod.outlook.com (10.255.118.78) by VE1PR04MB6461.eurprd04.prod.outlook.com (20.179.233.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1792.17; Fri, 12 Apr 2019 07:04:09 +0000 Received: from VE1PR04MB6365.eurprd04.prod.outlook.com ([fe80::f5ad:f178:4c55:13e0]) by VE1PR04MB6365.eurprd04.prod.outlook.com ([fe80::f5ad:f178:4c55:13e0%3]) with mapi id 15.20.1792.016; Fri, 12 Apr 2019 07:04:09 +0000 From: Gagandeep Singh To: "dev@dpdk.org" , "ferruh.yigit@intel.com" CC: "thomas@monjalon.net" , Gagandeep Singh Thread-Topic: [PATCH v2 03/13] net/enetc: use correct buffer allocation API Thread-Index: AQHU8P3sKTVIRuj6kUS1XV5sCI7SFg== Date: Fri, 12 Apr 2019 07:04:08 +0000 Message-ID: <1555075598-4988-4-git-send-email-g.singh@nxp.com> References: <1554745507-15089-1-git-send-email-g.singh@nxp.com> <1555075598-4988-1-git-send-email-g.singh@nxp.com> In-Reply-To: <1555075598-4988-1-git-send-email-g.singh@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BM1PR0101CA0038.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1a::24) To VE1PR04MB6365.eurprd04.prod.outlook.com (2603:10a6:803:12a::14) x-mailer: git-send-email 1.9.1 authentication-results: spf=none (sender IP is ) smtp.mailfrom=G.Singh@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [92.120.1.67] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 50f8caaf-e200-47e7-892a-08d6bf150ee7 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:VE1PR04MB6461; x-ms-traffictypediagnostic: VE1PR04MB6461: x-microsoft-antispam-prvs: x-forefront-prvs: 0005B05917 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(39860400002)(376002)(366004)(396003)(346002)(189003)(199004)(6512007)(102836004)(256004)(86362001)(36756003)(486006)(25786009)(6486002)(2501003)(26005)(386003)(2906002)(66066001)(7736002)(71190400001)(14454004)(71200400001)(6506007)(53936002)(97736004)(186003)(76176011)(8676002)(52116002)(105586002)(106356001)(99286004)(446003)(81166006)(81156014)(72206003)(478600001)(50226002)(11346002)(476003)(2616005)(6116002)(54906003)(5660300002)(110136005)(4326008)(316002)(8936002)(6436002)(4744005)(68736007)(3846002)(305945005); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6461; H:VE1PR04MB6365.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: pgkBDHClvKE1PG6ZD+zVhCt/IqfxccShMCB3gGihascBdvvJhZABKflDP2imojbbeh2wLQIhG8r1risd3YJNBcBd8wEn2rmOiIw+slt0hE6IzuP0krbL2IEuT6IF8C0iNZ+6vpAlp2PLOLCZCvyDBLEJ+rC+6OaNUnxBgqynlOWnepifXI4L8PvWaIptHsdmTry78EC8COQP034Li8Kdk60LlbtMBPoxpXin1KXY+hNphg5SeRC5C1auij6Fbg2AkmmVQ9ar3YUOEeNizcVw/wxglk76AJyy9Hrb1TOuw9fbvCoUchJmOb2ELxj8vcDI4IBd7R5hAIrWfgJLCtpgpHqpkwptvR3bL4hrqC4Lhj15ct+x8EzIcSc4Nz4zFgqzgajZrgdqq/HPzqI7x74U2C9ctHI3K74R8cE7xZr61oc= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 50f8caaf-e200-47e7-892a-08d6bf150ee7 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Apr 2019 07:04:08.9820 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6461 Subject: [dpdk-dev] [PATCH v2 03/13] net/enetc: use correct buffer allocation API 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: <20190412070408.APsTKfQbKr_IGnqVeie-gIabIHUZyo_iTSRPIyJv7WY@z> cnRlX3BrdG1idWZfYWxsb2MgQVBJIHNob3VsZCBiZSB1c2VkIHRvIGFsbG9jYXRlIG1idWYNCmlu c3RlYWQgb2YgcnRlX3BrdG1idWZfcmF3X2FsbG9jIHRvIGF2b2lkIHVzZSBvZiBzdGFsZSBtYnVm DQppbmZvcm1hdGlvbi4NCg0KRml4ZXM6IDQ2OWM2MTExYTc5OSAoIm5ldC9lbmV0YzogZW5hYmxl IFJ4IGFuZCBUeCIpDQpDYzogZy5zaW5naEBueHAuY29tDQoNClNpZ25lZC1vZmYtYnk6IEdhZ2Fu ZGVlcCBTaW5naCA8Zy5zaW5naEBueHAuY29tPg0KLS0tDQogZHJpdmVycy9uZXQvZW5ldGMvZW5l dGNfcnh0eC5jIHwgNSArKystLQ0KIDEgZmlsZSBjaGFuZ2VkLCAzIGluc2VydGlvbnMoKyksIDIg ZGVsZXRpb25zKC0pDQoNCmRpZmYgLS1naXQgYS9kcml2ZXJzL25ldC9lbmV0Yy9lbmV0Y19yeHR4 LmMgYi9kcml2ZXJzL25ldC9lbmV0Yy9lbmV0Y19yeHR4LmMNCmluZGV4IGEzMWEzODcuLjQyZjE2 Y2EgMTAwNjQ0DQotLS0gYS9kcml2ZXJzL25ldC9lbmV0Yy9lbmV0Y19yeHR4LmMNCisrKyBiL2Ry aXZlcnMvbmV0L2VuZXRjL2VuZXRjX3J4dHguYw0KQEAgLTg4LDggKzg4LDkgQEANCiAJcnhfc3di ZCA9ICZyeF9yaW5nLT5xX3N3YmRbaV07DQogCXJ4YmQgPSBFTkVUQ19SWEJE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