From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50068.outbound.protection.outlook.com [40.107.5.68]) by dpdk.org (Postfix) with ESMTP id 4C90B1B128 for ; Fri, 12 Apr 2019 14:29:02 +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=opshLyU3Fd8twS2metD2tmZZ+bUdLukharv4Jj+9RHg=; b=NBkXiHrcvb5cbI1AO7ZCrdxOB2/d4eOlYww/1J63G1xiyQAac5kE64i+mi0NXsbD+BlBCGcbkG1cbFFnMSRtSBqs4+m0CuwnttKwOIUNv0lp+Rv62m9pMHcbBo54HBoFjsxDa23G2dQQkIx9PLzD6aDv3Y3TNWyLt/yfhj2JUMM= Received: from VE1PR04MB6365.eurprd04.prod.outlook.com (10.255.118.78) by VE1PR04MB6367.eurprd04.prod.outlook.com (10.255.118.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1792.15; Fri, 12 Apr 2019 12:29:01 +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 12:29:01 +0000 From: Gagandeep Singh To: "dev@dpdk.org" , "ferruh.yigit@intel.com" CC: Gagandeep Singh Thread-Topic: [PATCH v4 06/13] net/enetc: replace register read/write macros with functions Thread-Index: AQHU8StOb+pLR7se/EyUosIAWl2ZDg== Date: Fri, 12 Apr 2019 12:29:00 +0000 Message-ID: <20190412122840.1908-7-g.singh@nxp.com> References: <20190412105105.24351-1-g.singh@nxp.com> <20190412122840.1908-1-g.singh@nxp.com> In-Reply-To: <20190412122840.1908-1-g.singh@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BMXPR01CA0029.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:c::15) To VE1PR04MB6365.eurprd04.prod.outlook.com (2603:10a6:803:12a::14) x-mailer: git-send-email 2.19.1 authentication-results: spf=none (sender IP is ) smtp.mailfrom=G.Singh@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [92.120.0.8] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7fd41a15-80ab-44da-927d-08d6bf427122 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:VE1PR04MB6367; x-ms-traffictypediagnostic: VE1PR04MB6367: x-microsoft-antispam-prvs: x-forefront-prvs: 0005B05917 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(346002)(396003)(39860400002)(366004)(136003)(189003)(199004)(476003)(99286004)(1076003)(8936002)(2501003)(5660300002)(186003)(6486002)(97736004)(3846002)(6436002)(106356001)(6116002)(14444005)(7736002)(6506007)(102836004)(386003)(305945005)(256004)(446003)(76176011)(2616005)(105586002)(26005)(71190400001)(53936002)(36756003)(66066001)(25786009)(8676002)(486006)(11346002)(14454004)(50226002)(71200400001)(81156014)(6512007)(86362001)(2906002)(316002)(478600001)(110136005)(72206003)(4326008)(52116002)(68736007)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6367; 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: xkjETgPk8MCfdeMJqInrmdSgD4gautolbMJ984c92bBDqMX8EJu9CYybigEkXmGMp4EMZKDL/XOMkpor+yLOpJeWEDkdXcia4iRYGwzbsptPfZgOh1fuSBPBSRzhk6uieChOvfgET0TvNsEmYHAc1eK3hLKMGZ6dFCIbadOVAR49hlGzMTI5W9haab5WzD8H/yBpQqlvz1dycsr35VPZnJJcMrwqNc4MSDApoCEN+zkFOUiz+akXmgASN1rCrm2jeDfheq1TU7AlHohYfw2SUhYYL09UOjP6NRnWCQYDY1hsr/Q27LkloHJuC1+PiXXsJAWojXjTJ9eEXmdNkaNNDV/sDDBYCgIfT5Y5TFZ2e7ryiS8v74CzEDofU2feCEWSu//Q5FhQ6rv1OCyhtWycXwVq3KZHoyK9rU/RRuCllEY= 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: 7fd41a15-80ab-44da-927d-08d6bf427122 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Apr 2019 12:29:01.0204 (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: VE1PR04MB6367 Subject: [dpdk-dev] [PATCH v4 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 12:29:03 -0000 UmVwbGFjaW5nIHJlYWQtd3JpdGUgbWFjcm9zIHdpdGggYWxyZWFkeSBhdmFpbGFibGUNCnJlYWQt d3JpdGUgZnVuY3Rpb25zLg0KDQpTaWduZWQtb2ZmLWJ5OiBHYWdhbmRlZXAgU2luZ2ggPGcuc2lu Z2hAbnhwLmNvbT4NCi0tLQ0KIGRyaXZlcnMvbmV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CkpLA0KLQkJCTB4RkZGRiA8PCAxNik7DQorCWVuZXRj X3BvcnRfd3IoZW5ldGNfaHcsIEVORVRDX1BTSVBNQVIwKDApLCAweEZGRkZGRkZGKTsNCisJZW5l dGNfcG9ydF93cihlbmV0Y19odywgRU5FVENfUFNJUE1BUjEoMCksIDB4RkZGRiA8PCAxNik7DQog DQogCXJldHVybiAwOw0KIH0NCi0tIA0KMi4xOS4xDQoNCg== 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 4DE4AA0096 for ; Fri, 12 Apr 2019 14:30:01 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AFD8F1B1A0; Fri, 12 Apr 2019 14:29:25 +0200 (CEST) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50068.outbound.protection.outlook.com [40.107.5.68]) by dpdk.org (Postfix) with ESMTP id 4C90B1B128 for ; Fri, 12 Apr 2019 14:29:02 +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=opshLyU3Fd8twS2metD2tmZZ+bUdLukharv4Jj+9RHg=; b=NBkXiHrcvb5cbI1AO7ZCrdxOB2/d4eOlYww/1J63G1xiyQAac5kE64i+mi0NXsbD+BlBCGcbkG1cbFFnMSRtSBqs4+m0CuwnttKwOIUNv0lp+Rv62m9pMHcbBo54HBoFjsxDa23G2dQQkIx9PLzD6aDv3Y3TNWyLt/yfhj2JUMM= Received: from VE1PR04MB6365.eurprd04.prod.outlook.com (10.255.118.78) by VE1PR04MB6367.eurprd04.prod.outlook.com (10.255.118.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1792.15; Fri, 12 Apr 2019 12:29:01 +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 12:29:01 +0000 From: Gagandeep Singh To: "dev@dpdk.org" , "ferruh.yigit@intel.com" CC: Gagandeep Singh Thread-Topic: [PATCH v4 06/13] net/enetc: replace register read/write macros with functions Thread-Index: AQHU8StOb+pLR7se/EyUosIAWl2ZDg== Date: Fri, 12 Apr 2019 12:29:00 +0000 Message-ID: <20190412122840.1908-7-g.singh@nxp.com> References: <20190412105105.24351-1-g.singh@nxp.com> <20190412122840.1908-1-g.singh@nxp.com> In-Reply-To: <20190412122840.1908-1-g.singh@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BMXPR01CA0029.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:c::15) To VE1PR04MB6365.eurprd04.prod.outlook.com (2603:10a6:803:12a::14) x-mailer: git-send-email 2.19.1 authentication-results: spf=none (sender IP is ) smtp.mailfrom=G.Singh@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [92.120.0.8] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7fd41a15-80ab-44da-927d-08d6bf427122 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:VE1PR04MB6367; x-ms-traffictypediagnostic: VE1PR04MB6367: x-microsoft-antispam-prvs: x-forefront-prvs: 0005B05917 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(346002)(396003)(39860400002)(366004)(136003)(189003)(199004)(476003)(99286004)(1076003)(8936002)(2501003)(5660300002)(186003)(6486002)(97736004)(3846002)(6436002)(106356001)(6116002)(14444005)(7736002)(6506007)(102836004)(386003)(305945005)(256004)(446003)(76176011)(2616005)(105586002)(26005)(71190400001)(53936002)(36756003)(66066001)(25786009)(8676002)(486006)(11346002)(14454004)(50226002)(71200400001)(81156014)(6512007)(86362001)(2906002)(316002)(478600001)(110136005)(72206003)(4326008)(52116002)(68736007)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6367; 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: xkjETgPk8MCfdeMJqInrmdSgD4gautolbMJ984c92bBDqMX8EJu9CYybigEkXmGMp4EMZKDL/XOMkpor+yLOpJeWEDkdXcia4iRYGwzbsptPfZgOh1fuSBPBSRzhk6uieChOvfgET0TvNsEmYHAc1eK3hLKMGZ6dFCIbadOVAR49hlGzMTI5W9haab5WzD8H/yBpQqlvz1dycsr35VPZnJJcMrwqNc4MSDApoCEN+zkFOUiz+akXmgASN1rCrm2jeDfheq1TU7AlHohYfw2SUhYYL09UOjP6NRnWCQYDY1hsr/Q27LkloHJuC1+PiXXsJAWojXjTJ9eEXmdNkaNNDV/sDDBYCgIfT5Y5TFZ2e7ryiS8v74CzEDofU2feCEWSu//Q5FhQ6rv1OCyhtWycXwVq3KZHoyK9rU/RRuCllEY= 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: 7fd41a15-80ab-44da-927d-08d6bf427122 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Apr 2019 12:29:01.0204 (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: VE1PR04MB6367 Subject: [dpdk-dev] [PATCH v4 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: <20190412122900.utZkpsizonGJwa5iYosEXdogk8jB_8i_DgE8iXhVueE@z> UmVwbGFjaW5nIHJlYWQtd3JpdGUgbWFjcm9zIHdpdGggYWxyZWFkeSBhdmFpbGFibGUNCnJlYWQt d3JpdGUgZnVuY3Rpb25zLg0KDQpTaWduZWQtb2ZmLWJ5OiBHYWdhbmRlZXAgU2luZ2ggPGcuc2lu Z2hAbnhwLmNvbT4NCi0tLQ0KIGRyaXZlcnMvbmV0L2VuZXRjL2VuZXRjLmggICAgICAgIHwgIDcg Ky0tLQ0KIGRyaXZlcnMvbmV0L2VuZXRjL2VuZXRjX2V0aGRldi5jIHwgNjEgKysrKysrKysrKysr KysrKy0tLS0tLS0tLS0tLS0tLS0NCiAyIGZpbGVzIGNoYW5nZWQsIDMxIGluc2VydGlvbnMoKyks IDM3IGRlbGV0aW9ucygtKQ0KDQpkaWZmIC0tZ2l0IGEvZHJpdmVycy9uZXQvZW5ldGMvZW5ldGMu aCBiL2RyaXZlcnMvbmV0L2VuZXRjL2VuZXRjLmgNCmluZGV4IDBlODBkMWM1Yi4uNTY0NTRkYzlk IDEwMDY0NA0KLS0tIGEvZHJpdmVycy9uZXQvZW5ldGMvZW5ldGMuaA0KKysrIGIvZHJpdmVycy9u ZXQvZW5ldGMvZW5ldGMuaA0KQEAgLTEsNSArMSw1IEBADQogLyogU1BEWC1MaWNlbnNlLUlkZW50 aWZpZXI6IEJTRC0zLUNsYXVzZQ0KLSAqIENvcHlyaWdodCAyMDE4IE5YUA0KKyAqIENvcHlyaWdo dCAyMDE4LTIwMTkgTlhQDQogICovD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