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 1A1A6A0096 for ; Fri, 12 Apr 2019 13:01:49 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 09A25683E; Fri, 12 Apr 2019 13:01:28 +0200 (CEST) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30058.outbound.protection.outlook.com [40.107.3.58]) by dpdk.org (Postfix) with ESMTP id 6FFB15F3C; Fri, 12 Apr 2019 13:01:24 +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=TT6/SM0c4ndT25L7i1l2S5YoAgcpYSTVCcL332orcgA=; b=mbt/zMgguEW0I6Q+pyehaYH4oHIxvy3/nNVyXPrVdHNUZVMgc5/srcY9Jd3kMjkQnUopo7D8Aulb5XGHL7W5mrQ+ZaqPWy7QEPfpP/j15K8HPg4IN0My61bZMxV4+3Whc9oyB2b0351mNTW7+Z4+U+QTIUo/Mk60tylM/e+ffoM= 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:23 +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:23 +0000 From: Gagandeep Singh To: "dev@dpdk.org" , "ferruh.yigit@intel.com" CC: Gagandeep Singh , "thomas@monjalon.net" , "stable@dpdk.org" Thread-Topic: [PATCH v3 03/13] net/enetc: fix big endian build and correct buffer allocation Thread-Index: AQHU8R8Qe8S/Y7ZtWUWVFziBgjJKnA== Date: Fri, 12 Apr 2019 11:01:23 +0000 Message-ID: <20190412105105.24351-4-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: 2f35eff2-50cb-4cc3-4948-08d6bf3632fc 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)(54906003)(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: /q+8jAx7I/yjXGM6l7TqGQSk0MtxEv7bpsM3H9TWaw2k7a2rfU1k8pgGqZUh/PBV5AxuBs04XOoMRYmxcPMA+1rnGd7GFKI0kyG87bW5vd46hFGfn3qb12LMhlk2kjTxdaRUmmpeb3u+WE4jd4/iag1Uaj7kxlLy7T73rZgILt4T+WaWUwMPBjKh49DUVpObHMujbT8DJiNFmYTdjljzI5X1owPHl0fQMjSimn+AKUm1UgF3nB3WncAj0S3JpW3jGMoyZoyhKpJavPPQ0l2bvxGfKLysaMhIHVy3putrhK1y/HTyVPF/KwEJYX/Xfm9z2W9HAizQkrCBuHP5q0TQPak0QWoX+tOStPhA5SpdcEYz5Pbxa3ss3X/+qIm00E5xNGGKmQkbnwenFCbM6EpwgG7AREVEoYnTPTAUyjqnbmI= 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: 2f35eff2-50cb-4cc3-4948-08d6bf3632fc X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Apr 2019 11:01:23.1763 (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 03/13] net/enetc: fix big endian build and correct buffer allocation 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-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