From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30087.outbound.protection.outlook.com [40.107.3.87]) by dpdk.org (Postfix) with ESMTP id 21B965398 for ; Fri, 12 Apr 2019 09:04:07 +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=aMeL2NkgOJztQsfiUW90o3whi1/DaKlNeFIddYr1z8A=; b=aPzpMHj1W4nwBHFvCZZMEr0bHsOwBKsAdPFpH4z5cxpUlb88m7/zBzFgWtyNajLeEJz9wH+khhvCiaY4vkbsDPfdFa/wuh3lh525dw+17Q6vCO7HwFHIg5Nc7Cpz3t3DwflVMLRMmnHDj6gVa21jwHzE5aR2lwHUN6pHmtw/pk8= Received: from VE1PR04MB6365.eurprd04.prod.outlook.com (10.255.118.78) by VE1PR04MB6592.eurprd04.prod.outlook.com (20.179.234.208) 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:05 +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:05 +0000 From: Gagandeep Singh To: "dev@dpdk.org" , "ferruh.yigit@intel.com" CC: "thomas@monjalon.net" , Gagandeep Singh Thread-Topic: [PATCH v2 01/13] net/enetc: support physical addressing mode Thread-Index: AQHU8P3qAR6Pee0cQE21Kw6NppGZpQ== Date: Fri, 12 Apr 2019 07:04:05 +0000 Message-ID: <1555075598-4988-2-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: b921d821-b21b-4843-d35f-08d6bf150c99 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:VE1PR04MB6592; x-ms-traffictypediagnostic: VE1PR04MB6592: x-microsoft-antispam-prvs: x-forefront-prvs: 0005B05917 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(39860400002)(136003)(376002)(366004)(396003)(199004)(189003)(71190400001)(446003)(52116002)(6512007)(53936002)(14454004)(72206003)(86362001)(478600001)(316002)(4326008)(110136005)(256004)(25786009)(54906003)(50226002)(68736007)(8936002)(2906002)(97736004)(81156014)(81166006)(36756003)(8676002)(7736002)(305945005)(6116002)(5660300002)(3846002)(6486002)(106356001)(26005)(105586002)(2616005)(386003)(186003)(71200400001)(476003)(2501003)(76176011)(11346002)(6436002)(102836004)(6506007)(486006)(66066001)(99286004); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6592; H:VE1PR04MB6365.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: Ea/rGCxBgFvT/09eJkWBRIiHkEOHqIPw9aOuxY6V4V88m8XPWdJX6XFwzlHYFZPV8A1tXYegzRn5/ejZb+6QnvdbiOZ6CQbq3BnT0AeyQv7jOT7q/huuZdTJ2H//AUtpjg1Vh+vCeM+JDTIVi7uW9IHMDWq2xgialF+gfkn+GV6Lu8g7r55kANjTdaC2dZtV4KI8aKyDqe2+WXfLvOc0kiw14Dzyf3oopNi157aXzseSqfSNykkJ8MB+4oLNZqe0O5wO/dkdjAvzlKUf/pl5ybehzA9bhgV7DHNzNgQ6G3hTO/zPNNZNEJPpljxsFLtZX7KVNkLssg0ygW6A1+dqdWIdKiJ1NHzHFMBFwnxr5vfGi4K+ke1/+lmkbnNvToWodiNOECCAh6unJEYIvlBqxmTi8e8O6mtZgANhHCf6Vv4= 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: b921d821-b21b-4843-d35f-08d6bf150c99 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Apr 2019 07:04:05.5256 (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: VE1PR04MB6592 Subject: [dpdk-dev] [PATCH v2 01/13] net/enetc: support physical addressing mode 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:07 -0000 U3VwcG9ydCBhZGRlZCBmb3IgcGh5c2ljYWwgYWRkcmVzc2luZyBtb2RlIGFuZA0KY2hhbmdlIGRy aXZlciBmbGFncyB0byBkb24ndCBjYXJlLg0KDQpTaWduZWQtb2ZmLWJ5OiBHYWdhbmRlZXAgU2lu Z2ggP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zd2Jk LT5idWZmZXJfYWRkci0+YnVmX2FkZHIgKw0KKwkJCSAgICAgICByeF9zd2JkLT5idWZmZXJfYWRk ci0+YnVmX2lvdmEgKw0KIAkJCSAgICAgICByeF9zd2JkLT5idWZmZXJfYWRkci0+ZGF0YV9vZmY7 DQogCQkvKiBjbGVhciAnUiIgYXMgd2VsbCAqLw0KIAkJcnhiZC0+ci5sc3RhdHVzID0gMDsNCi0t IA0KMS45LjENCg0K 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 112CEA0096 for ; Fri, 12 Apr 2019 09:04:14 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 544CE54AE; Fri, 12 Apr 2019 09:04:10 +0200 (CEST) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30087.outbound.protection.outlook.com [40.107.3.87]) by dpdk.org (Postfix) with ESMTP id 21B965398 for ; Fri, 12 Apr 2019 09:04:07 +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=aMeL2NkgOJztQsfiUW90o3whi1/DaKlNeFIddYr1z8A=; b=aPzpMHj1W4nwBHFvCZZMEr0bHsOwBKsAdPFpH4z5cxpUlb88m7/zBzFgWtyNajLeEJz9wH+khhvCiaY4vkbsDPfdFa/wuh3lh525dw+17Q6vCO7HwFHIg5Nc7Cpz3t3DwflVMLRMmnHDj6gVa21jwHzE5aR2lwHUN6pHmtw/pk8= Received: from VE1PR04MB6365.eurprd04.prod.outlook.com (10.255.118.78) by VE1PR04MB6592.eurprd04.prod.outlook.com (20.179.234.208) 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:05 +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:05 +0000 From: Gagandeep Singh To: "dev@dpdk.org" , "ferruh.yigit@intel.com" CC: "thomas@monjalon.net" , Gagandeep Singh Thread-Topic: [PATCH v2 01/13] net/enetc: support physical addressing mode Thread-Index: AQHU8P3qAR6Pee0cQE21Kw6NppGZpQ== Date: Fri, 12 Apr 2019 07:04:05 +0000 Message-ID: <1555075598-4988-2-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: b921d821-b21b-4843-d35f-08d6bf150c99 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:VE1PR04MB6592; x-ms-traffictypediagnostic: VE1PR04MB6592: x-microsoft-antispam-prvs: x-forefront-prvs: 0005B05917 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(39860400002)(136003)(376002)(366004)(396003)(199004)(189003)(71190400001)(446003)(52116002)(6512007)(53936002)(14454004)(72206003)(86362001)(478600001)(316002)(4326008)(110136005)(256004)(25786009)(54906003)(50226002)(68736007)(8936002)(2906002)(97736004)(81156014)(81166006)(36756003)(8676002)(7736002)(305945005)(6116002)(5660300002)(3846002)(6486002)(106356001)(26005)(105586002)(2616005)(386003)(186003)(71200400001)(476003)(2501003)(76176011)(11346002)(6436002)(102836004)(6506007)(486006)(66066001)(99286004); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6592; H:VE1PR04MB6365.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: Ea/rGCxBgFvT/09eJkWBRIiHkEOHqIPw9aOuxY6V4V88m8XPWdJX6XFwzlHYFZPV8A1tXYegzRn5/ejZb+6QnvdbiOZ6CQbq3BnT0AeyQv7jOT7q/huuZdTJ2H//AUtpjg1Vh+vCeM+JDTIVi7uW9IHMDWq2xgialF+gfkn+GV6Lu8g7r55kANjTdaC2dZtV4KI8aKyDqe2+WXfLvOc0kiw14Dzyf3oopNi157aXzseSqfSNykkJ8MB+4oLNZqe0O5wO/dkdjAvzlKUf/pl5ybehzA9bhgV7DHNzNgQ6G3hTO/zPNNZNEJPpljxsFLtZX7KVNkLssg0ygW6A1+dqdWIdKiJ1NHzHFMBFwnxr5vfGi4K+ke1/+lmkbnNvToWodiNOECCAh6unJEYIvlBqxmTi8e8O6mtZgANhHCf6Vv4= 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: b921d821-b21b-4843-d35f-08d6bf150c99 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Apr 2019 07:04:05.5256 (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: VE1PR04MB6592 Subject: [dpdk-dev] [PATCH v2 01/13] net/enetc: support physical addressing mode 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: <20190412070405.eFDgbJdU96poHdJTwtuKUrVR2JmDzvP3HiAO1EIlEv0@z> U3VwcG9ydCBhZGRlZCBmb3IgcGh5c2ljYWwgYWRkcmVzc2luZyBtb2RlIGFuZA0KY2hhbmdlIGRy aXZlciBmbGFncyB0byBkb24ndCBjYXJlLg0KDQpTaWduZWQtb2ZmLWJ5OiBHYWdhbmRlZXAgU2lu Z2ggPGcuc2luZ2hAbnhwLmNvbT4NCi0tLQ0KIGRyaXZlcnMvbmV0L2VuZXRjL2VuZXRjX2V0aGRl di5jIHwgMjIgKysrKysrKysrKysrLS0tLS0tLS0tLQ0KIGRyaXZlcnMvbmV0L2VuZXRjL2VuZXRj X3J4dHguYyAgIHwgIDYgKysrLS0tDQogMiBmaWxlcyBjaGFuZ2VkLCAxNSBpbnNlcnRpb25zKCsp LCAxMyBkZWxldGlvbnMoLSkNCg0KZGlmZiAtLWdpdCBhL2RyaXZlcnMvbmV0L2VuZXRjL2VuZXRj X2V0aGRldi5jIGIvZHJpdmVycy9uZXQvZW5ldGMvZW5ldGNfZXRoZGV2LmMNCmluZGV4IDAyM2Zl NzUuLjdhOWE5N2QgMTAwNjQ0DQotLS0gYS9kcml2ZXJzL25ldC9lbmV0Yy9lbmV0Y19ldGhkZXYu Yw0KKysrIGIvZHJpdmVycy9uZXQvZW5ldGMvZW5ldGNfZXRoZGV2LmMNCkBAIC0xLDUgKzEsNSBA QA0KIC8qIFNQRFgtTGljZW5zZS1JZGVudGlmaWVyOiBCU0QtMy1DbGF1c2UNCi0gKiBDb3B5cmln aHQgMjAxOCBOWFANCisgKiBDb3B5cmlnaHQgMjAxOC0yMDE5IE5YUA0KICAqLw0KIA0KICNpbmNs dWRlIDxzdGRib29sLmg+DQpAQCAtMzM0LDE0ICszMzQsMTUgQEAgc3RhdGljIGludCBlbmV0Y190 eF9xdWV1ZV9zZXR1cChzdHJ1Y3QgcnRlX2V0aF9kZXYgKmRldiwgdWludDE2X3QgdHhfcXVldWVf aWQsDQogZW5ldGNfc2V0dXBfdHhiZHIoc3RydWN0IGVuZXRjX2h3ICpodywgc3RydWN0IGVuZXRj X2JkciAqdHhfcmluZykNCiB7DQogCWludCBpZHggPSB0eF9yaW5nLT5pbmRleDsNCi0JdWludHB0 cl90IGJhc2VfYWRkcjsNCiAJdWludDMyX3QgdGJtcjsNCisJcGh5c19hZGRyX3QgYmRfYWRkcmVz czsNCiANCi0JYmFzZV9hZGRyID0gKHVpbnRwdHJfdCl0eF9yaW5nLT5iZF9iYXNlOw0KKwliZF9h ZGRyZXNzID0gKHBoeXNfYWRkcl90KQ0KKwkJICAgICBydGVfbWVtX3ZpcnQyaW92YSgoY29uc3Qg dm9pZCAqKXR4X3JpbmctPmJkX2Jhc2UpOw0KIAllbmV0Y190eGJkcl93cihodywgaWR4LCBFTkVU Q19UQkJBUjAsDQotCQkgICAgICAgbG93ZXJfMzJfYml0cygodWludDY0X3QpYmFzZV9hZGRyKSk7 DQorCQkgICAgICAgbG93ZXJfMzJfYml0cygodWludDY0X3QpYmRfYWRkcmVzcykpOw0KIAllbmV0 Y190eGJkcl93cihodywgaWR4LCBFTkVUQ19UQkJBUjEsDQotCQkgICAgICAgdXBwZXJfMzJfYml0 cygodWludDY0X3QpYmFzZV9hZGRyKSk7DQorCQkgICAgICAgdXBwZXJfMzJfYml0cygodWludDY0 X3QpYmRfYWRkcmVzcykpOw0KIAllbmV0Y190eGJkcl93cihodywgaWR4LCBFTkVUQ19UQkxFTlIs DQogCQkgICAgICAgRU5FVENfUl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