From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140049.outbound.protection.outlook.com [40.107.14.49]) by dpdk.org (Postfix) with ESMTP id 925D87D52 for ; Fri, 12 Apr 2019 13:01:34 +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=aqCl+0c5enr2SVKrmXPkybgaE7Exio66vOZgzaphGn0=; b=q2yPYG1XRQqkyf7KU2BIl5VkOeYr5ZurGNmQPfYCytjr1FnVfbam2xkpaPaxA5RMySf6mSjivesJEvWURt2/42IU82bLssJ4/hgSmqSkG1TMghIieEVD2IRDnEwav4pHpaDHMCKinAKml16T2c95h0mWv8/p2FkzNKUXIofAunE= Received: from VE1PR04MB6365.eurprd04.prod.outlook.com (10.255.118.78) by VE1PR04MB6462.eurprd04.prod.outlook.com (20.179.233.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1771.21; Fri, 12 Apr 2019 11:01:33 +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 11:01:33 +0000 From: Gagandeep Singh To: "dev@dpdk.org" , "ferruh.yigit@intel.com" CC: Gagandeep Singh Thread-Topic: [PATCH v3 06/13] net/enetc: replace register read/write macros with functions Thread-Index: AQHU8R8WdFE5Vc3pLEWqVPR0Fuzfuw== Date: Fri, 12 Apr 2019 11:01:33 +0000 Message-ID: <20190412105105.24351-7-g.singh@nxp.com> References: <1555075598-4988-1-git-send-email-g.singh@nxp.com> <20190412105105.24351-1-g.singh@nxp.com> In-Reply-To: <20190412105105.24351-1-g.singh@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: TYAPR01CA0204.jpnprd01.prod.outlook.com (2603:1096:404:29::24) To VE1PR04MB6365.eurprd04.prod.outlook.com (2603:10a6:803:12a::14) x-mailer: git-send-email 2.17.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.68] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7ad141bc-6ffc-4359-ef2d-08d6bf363918 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:VE1PR04MB6462; x-ms-traffictypediagnostic: VE1PR04MB6462: x-microsoft-antispam-prvs: x-forefront-prvs: 0005B05917 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(376002)(366004)(396003)(346002)(39860400002)(189003)(199004)(2501003)(186003)(97736004)(7736002)(3846002)(110136005)(99286004)(6116002)(102836004)(86362001)(316002)(2616005)(11346002)(476003)(6506007)(446003)(76176011)(305945005)(26005)(1076003)(106356001)(66066001)(486006)(4326008)(105586002)(386003)(478600001)(52116002)(72206003)(50226002)(5660300002)(6436002)(81156014)(6512007)(71200400001)(8936002)(71190400001)(6486002)(68736007)(53936002)(256004)(25786009)(8676002)(81166006)(36756003)(14454004)(2906002); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6462; 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: CLsm9QugAl/62TbuNPwcQUG4AhSwIT3Q1MtYmtXcBOmYx69RB7bQeM67IkySlA9A6D1dyrMlZzWlRxvLBjyW74Nd6YYZwNtF8Xq2Y21A1Zf1tnCcA0zsb9kf+166k+zGeK+JNEVoUOttxROeFlQr3cp6CIrcT4+rbkLDKLtfSJomVq/Jk+36eoGHePXMS0GXI3yO3xxoMRG+xkASbppqJ6OQR9GnEw/v/XLIVqCpcR7zAfsso5DQto23V2LqNv99EG9Rbv9wo/lGMjqqstY1wF8S4F10zeQGBze6YlvKnGuyr/adRu0PMH/jLoVBR6RU793b7whaiIFRjE2XeXUiHZ/brXbno7OPBSNmBVUJ/HmFvkjJDattPXErDMQYhY1fmOjAzMboNCR9s5l5JHgOEmOXgpb45FrG8a+Rd/fTn6U= 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: 7ad141bc-6ffc-4359-ef2d-08d6bf363918 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Apr 2019 11:01:33.1111 (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: VE1PR04MB6462 Subject: [dpdk-dev] [PATCH v3 06/13] net/enetc: replace register read/write macros with functions 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 11:01:35 -0000 UmVwbGFjaW5nIHJlYWQtd3JpdGUgbWFjcm9zIHdpdGggYWxyZWFkeSBhdmFpbGFibGUNCnJlYWQt d3JpdGUgZnVuY3Rpb25zLg0KDQpTaWduZWQtb2ZmLWJ5OiBHYWdhbmRlZXAgU2luZ2ggPGcuc2lu Z2hAbnhwLmNvbT4NCi0tLQ0KIGRyaXZlcnMvbmV0L2Vu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fQUREUihody0+aHcucG9ydCwgRU5FVENfUFNJUE1BUjEoMCkpLA0K LQkJCTB4RkZGRiA8PCAxNik7DQorCWVuZXRjX3BvcnRfd3IoZW5ldGNfaHcsIEVORVRDX1BTSVBN QVIwKDApLCAweEZGRkZGRkZGKTsNCisJZW5ldGNfcG9ydF93cihlbmV0Y19odywgRU5FVENfUFNJ UE1BUjEoMCksIDB4RkZGRiA8PCAxNik7DQogDQogCXJldHVybiAwOw0KIH0NCi0tIA0KMS45LjEN Cg0K 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 4378EA0096 for ; Fri, 12 Apr 2019 13:02:20 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2FEA81B0FF; Fri, 12 Apr 2019 13:01:40 +0200 (CEST) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140049.outbound.protection.outlook.com [40.107.14.49]) by dpdk.org (Postfix) with ESMTP id 925D87D52 for ; Fri, 12 Apr 2019 13:01:34 +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=aqCl+0c5enr2SVKrmXPkybgaE7Exio66vOZgzaphGn0=; b=q2yPYG1XRQqkyf7KU2BIl5VkOeYr5ZurGNmQPfYCytjr1FnVfbam2xkpaPaxA5RMySf6mSjivesJEvWURt2/42IU82bLssJ4/hgSmqSkG1TMghIieEVD2IRDnEwav4pHpaDHMCKinAKml16T2c95h0mWv8/p2FkzNKUXIofAunE= Received: from VE1PR04MB6365.eurprd04.prod.outlook.com (10.255.118.78) by VE1PR04MB6462.eurprd04.prod.outlook.com (20.179.233.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1771.21; Fri, 12 Apr 2019 11:01:33 +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 11:01:33 +0000 From: Gagandeep Singh To: "dev@dpdk.org" , "ferruh.yigit@intel.com" CC: Gagandeep Singh Thread-Topic: [PATCH v3 06/13] net/enetc: replace register read/write macros with functions Thread-Index: AQHU8R8WdFE5Vc3pLEWqVPR0Fuzfuw== Date: Fri, 12 Apr 2019 11:01:33 +0000 Message-ID: <20190412105105.24351-7-g.singh@nxp.com> References: <1555075598-4988-1-git-send-email-g.singh@nxp.com> <20190412105105.24351-1-g.singh@nxp.com> In-Reply-To: <20190412105105.24351-1-g.singh@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: TYAPR01CA0204.jpnprd01.prod.outlook.com (2603:1096:404:29::24) To VE1PR04MB6365.eurprd04.prod.outlook.com (2603:10a6:803:12a::14) x-mailer: git-send-email 2.17.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.68] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7ad141bc-6ffc-4359-ef2d-08d6bf363918 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:VE1PR04MB6462; x-ms-traffictypediagnostic: VE1PR04MB6462: x-microsoft-antispam-prvs: x-forefront-prvs: 0005B05917 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(376002)(366004)(396003)(346002)(39860400002)(189003)(199004)(2501003)(186003)(97736004)(7736002)(3846002)(110136005)(99286004)(6116002)(102836004)(86362001)(316002)(2616005)(11346002)(476003)(6506007)(446003)(76176011)(305945005)(26005)(1076003)(106356001)(66066001)(486006)(4326008)(105586002)(386003)(478600001)(52116002)(72206003)(50226002)(5660300002)(6436002)(81156014)(6512007)(71200400001)(8936002)(71190400001)(6486002)(68736007)(53936002)(256004)(25786009)(8676002)(81166006)(36756003)(14454004)(2906002); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6462; 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: CLsm9QugAl/62TbuNPwcQUG4AhSwIT3Q1MtYmtXcBOmYx69RB7bQeM67IkySlA9A6D1dyrMlZzWlRxvLBjyW74Nd6YYZwNtF8Xq2Y21A1Zf1tnCcA0zsb9kf+166k+zGeK+JNEVoUOttxROeFlQr3cp6CIrcT4+rbkLDKLtfSJomVq/Jk+36eoGHePXMS0GXI3yO3xxoMRG+xkASbppqJ6OQR9GnEw/v/XLIVqCpcR7zAfsso5DQto23V2LqNv99EG9Rbv9wo/lGMjqqstY1wF8S4F10zeQGBze6YlvKnGuyr/adRu0PMH/jLoVBR6RU793b7whaiIFRjE2XeXUiHZ/brXbno7OPBSNmBVUJ/HmFvkjJDattPXErDMQYhY1fmOjAzMboNCR9s5l5JHgOEmOXgpb45FrG8a+Rd/fTn6U= 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: 7ad141bc-6ffc-4359-ef2d-08d6bf363918 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Apr 2019 11:01:33.1111 (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: VE1PR04MB6462 Subject: [dpdk-dev] [PATCH v3 06/13] net/enetc: replace register read/write macros with functions 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: <20190412110133.-Fu426VQBb3kITgL89Y3u_7rp6f2wg7aWZ9VnSCxovc@z> UmVwbGFjaW5nIHJlYWQtd3JpdGUgbWFjcm9zIHdpdGggYWxyZWFkeSBhdmFpbGFibGUNCnJlYWQt d3JpdGUgZnVuY3Rpb25zLg0KDQpTaWduZWQtb2ZmLWJ5OiBHYWdhbmRlZXAgU2luZ2ggPGcuc2lu Z2hAbnhwLmNvbT4NCi0tLQ0KIGRyaXZlcnMvbmV0L2VuZXRjL2VuZXRjLmggICAgICAgIHwgIDcg Ky0tLS0NCiBkcml2ZXJzL25ldC9lbmV0Yy9lbmV0Y19ldGhkZXYuYyB8IDYxICsrKysrKysrKysr KysrKysrKysrLS0tLS0tLS0tLS0tLS0tLS0tLS0NCiAyIGZpbGVzIGNoYW5nZWQsIDMxIGluc2Vy dGlvbnMoKyksIDM3IGRlbGV0aW9ucygtKQ0KDQpkaWZmIC0tZ2l0IGEvZHJpdmVycy9uZXQvZW5l dGMvZW5ldGMuaCBiL2RyaXZlcnMvbmV0L2VuZXRjL2VuZXRjLmgNCmluZGV4IDBlODBkMWMuLjU2 NDU0ZGMgMTAwNjQ0DQotLS0gYS9kcml2ZXJzL25ldC9lbmV0Yy9lbmV0Yy5oDQorKysgYi9kcml2 ZXJzL25ldC9lbmV0Yy9lbmV0Yy5oDQpAQCAtMSw1ICsxLDUgQEANCiAvKiBTUERYLUxpY2Vuc2Ut SWRlbnRpZmllcjogQlNELTMtQ2xhdXNlDQotICogQ29weXJpZ2h0IDIwMTggTlh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