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 F1092A0096 for ; Fri, 12 Apr 2019 13:01:28 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 108AC5F2A; Fri, 12 Apr 2019 13:01:19 +0200 (CEST) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50082.outbound.protection.outlook.com [40.107.5.82]) by dpdk.org (Postfix) with ESMTP id 89B815F1F for ; Fri, 12 Apr 2019 13:01:16 +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=Er7kdn/A1tYfkzGLZFtp+TIGoqajHyTYV3iYfT5xYygnxr0aW+gR3J8A/9H23n6d4pI9m9GWOKrdRkKYtbxQZk00yEmcxnG9ge5c9E/GG2QR4UYS8LQKByY2VH7AsZlFGzn98BCHtIOskOyuXJ8C/6aQIACNO5g2+ncfUm1pXXs= Received: from VE1PR04MB6365.eurprd04.prod.outlook.com (10.255.118.78) by VE1PR04MB6510.eurprd04.prod.outlook.com (20.179.233.160) 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 11:01:15 +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:15 +0000 From: Gagandeep Singh To: "dev@dpdk.org" , "ferruh.yigit@intel.com" CC: Gagandeep Singh Thread-Topic: [PATCH v3 01/13] net/enetc: support physical addressing mode Thread-Index: AQHU8R8MXs3069Jby0uwgRBpIrd3Eg== Date: Fri, 12 Apr 2019 11:01:14 +0000 Message-ID: <20190412105105.24351-2-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: ad436cb3-5c77-408b-faeb-08d6bf362e28 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:VE1PR04MB6510; x-ms-traffictypediagnostic: VE1PR04MB6510: x-microsoft-antispam-prvs: x-forefront-prvs: 0005B05917 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(396003)(346002)(136003)(376002)(39860400002)(189003)(199004)(4326008)(14454004)(6486002)(2501003)(71200400001)(53936002)(6512007)(71190400001)(5660300002)(86362001)(6436002)(106356001)(52116002)(105586002)(2906002)(97736004)(3846002)(99286004)(6116002)(446003)(68736007)(316002)(50226002)(476003)(2616005)(11346002)(81156014)(81166006)(6506007)(478600001)(186003)(26005)(102836004)(8676002)(386003)(36756003)(110136005)(486006)(7736002)(8936002)(305945005)(76176011)(1076003)(25786009)(72206003)(256004)(66066001); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6510; 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: VLAtWqj46RczCVzd2IaTnkv1WRmrx+c4z/d3ku9b55dZBX8cGJ4EaCrSQvfMBqs4twwGUa4RWxJ8ccAXi0qf3ggjbrAvPicyUs2NdnHT6kKLrZWfXTdVz4Tu9BUcMvK1fsGwh+8HHkQX4lAx2JAOMXGLetNgOf+XrnYzVNRzQSl60ytkK3GrKpbpK6Dn8EV1aAmi2fv0PyD5vIOcxSiFeWd5zGter8KKZAkRkyx0IWD8MD+moz//Z5B0YY8j2u0lD02VDFnvvuwOy7JdV5+sZTAOmCz2G2dbIN0s48GVCrAWzTXNQMaMfL4qfyBxiQNDp83SX6RrdR71N3lu7stvAVOQO85pRU+19BNRuhiunXcljH3j2nuRNECoqu3KQ+7k89DxxXvy3mu+tbuXy4Q7KD3gvhrlSTsIHS3kYj722/s= 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: ad436cb3-5c77-408b-faeb-08d6bf362e28 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Apr 2019 11:01:14.9595 (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: VE1PR04MB6510 Subject: [dpdk-dev] [PATCH v3 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: <20190412110114.Hev_K9CzrnsATHP55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