From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7738EA2EFC for ; Tue, 15 Oct 2019 17:06:11 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 465B01D443; Tue, 15 Oct 2019 17:06:11 +0200 (CEST) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00070.outbound.protection.outlook.com [40.107.0.70]) by dpdk.org (Postfix) with ESMTP id 56E021D42A for ; Tue, 15 Oct 2019 17:06:09 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=amKpYqfS5Hj6NgAzm2SurLmPDGhb6fX1XkxvKGi5tThVdD+5/DDPgKC/XgqZHpDetQabifMiDuIWax8ZEvCTt2eSAbAEJdvspWszQbMoQYjRcs3kL4KsyMP3k1qc4MGb32rMPxTn/QUCEjsx3ZeAGE/HyBP28+GfH4Mc96yzOPil8x3WT7l3WizwWrh0HM0vrvazdNoyGdl4FJhaAlNPPZGrxiKJP+Kv1wq3DjNZZGfbrHm/bJ2nn0N/hdTe3GpQpj+rTOpxAPTEWZg3HZiTAjCdYoc3iHEZagUnKCRoP1HUw2qXIcEzBNK+7Mc20ve/P5iR7GFoE0dFWab0wwOPlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=itI61fQxjPqZxO9WUwsoyiV1WUyHanDO5ib1YTTKMpg=; b=c5Dd1o9AQNR3JKHVwKFbsPRM38alBu8r189E5fm0dbI7fRQv0uUdIYszTeEjtv0oNj9VUg2k6jZDvQLLxal0eKY+j8l2E0GVD2CK5F0o0BIwRis6RkCdTLcK0D3s5olfkIkS9n8NaW5zJ/n/IvttZhB+cQaUXXxVAG+Wg1C0ce6/np8x7KtlUQXVlTUfdbl5+v/yImJbgDlGm7pFOwksiC7ZH30Q8VNuoR31kqNfoJmfz5EAztUnCPWzci6nhMeqPqC/xqAIMu9RAJyfJShGHH/gNNWHTBkgzwQB2tc+arRLJa/C8BrxelEKpPkngVEVVRKkXdqaPXmbFiQngpKVKw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=itI61fQxjPqZxO9WUwsoyiV1WUyHanDO5ib1YTTKMpg=; b=OKd1AYYj4FWVbJRt+hjhZbmbJrTxm4biiTtbYq2hzkOfhTYCSjiFpFHg63cxSS7OwNdkB5bjVbSOs+JdwrZ8DdNVb8yIFnB2yS/tQatoM1rb7xKsIFvAwuAAAIcLW4en1QOe0k/7dM/kArJjoRqdB9hiuxcoGgVJOS+oIii903I= Received: from AM4PR05MB3265.eurprd05.prod.outlook.com (10.171.188.154) by AM4PR05MB3251.eurprd05.prod.outlook.com (10.171.187.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2347.21; Tue, 15 Oct 2019 15:06:07 +0000 Received: from AM4PR05MB3265.eurprd05.prod.outlook.com ([fe80::edab:529f:d14e:d3b]) by AM4PR05MB3265.eurprd05.prod.outlook.com ([fe80::edab:529f:d14e:d3b%7]) with mapi id 15.20.2347.021; Tue, 15 Oct 2019 15:06:07 +0000 From: Slava Ovsiienko To: Ali Alnubani , "dev@dpdk.org" CC: Jeremy Plsek Thread-Topic: [PATCH] net/mlx5: fix build with strict alignment enabled Thread-Index: AQHVg2irJiDDU/81702mnUQxTknetKdbyvXQ Date: Tue, 15 Oct 2019 15:06:06 +0000 Message-ID: References: <20191015145508.19625-1-alialnu@mellanox.com> In-Reply-To: <20191015145508.19625-1-alialnu@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=viacheslavo@mellanox.com; x-originating-ip: [95.67.35.250] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5f126ccd-abd7-4bc0-d9ff-08d7518134b9 x-ms-office365-filtering-ht: Tenant x-ms-traffictypediagnostic: AM4PR05MB3251:|AM4PR05MB3251: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 01917B1794 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(346002)(39860400002)(136003)(366004)(376002)(189003)(199004)(13464003)(66946007)(71200400001)(71190400001)(14454004)(305945005)(26005)(7736002)(66066001)(8936002)(99286004)(9686003)(25786009)(7696005)(110136005)(74316002)(76116006)(66556008)(66446008)(76176011)(64756008)(33656002)(4326008)(2501003)(66476007)(316002)(102836004)(186003)(6246003)(53546011)(55016002)(86362001)(478600001)(6436002)(486006)(446003)(229853002)(6506007)(256004)(2906002)(476003)(5660300002)(52536014)(3846002)(8676002)(81166006)(6116002)(11346002)(81156014); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR05MB3251; H:AM4PR05MB3265.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: eCn6oOSI9UlXBOGlFF8Xz6BKuoBYzhetLU5dWGYfE1Pr5IBRiLNKBlRYYt3OvR0VM/4cKRBmM4+7XXQqY/jwLUGsaTzOK0OG1n2Mis+GLjyxPRHNl3CwTEMKJIjk9oKVTRUQR6Q0CLmkD5U10SmDNvfc+3hgQ6UT4vr/gGWVgbGc/+iZNVXy9tAabn7q+zw4XSo0Xxj9QrZ4dAGXZuNjUHsfkSL7iaw27hWEzYal3OZecFCzuKdIn/zZInl03hPWwL5bauRYLiRLdr7Zf2TypVqCbdPvjJmXLItzqP1UgV4MOtHnbzXXe0h4UqfqZn1TjmcvTncdF/3EBdXiI/G7M9WIjHIjJog6LpeDkeoZeASi12FznlzZfcUYsqK2TAIwFYXNa06Qdijgy6ue+PENHTa7X/Bj6uM4IXjay7wJ07E= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5f126ccd-abd7-4bc0-d9ff-08d7518134b9 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Oct 2019 15:06:07.2431 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: SfNZ6zd/q/ngu75+sui5Y2uiZR96JdBuj/62nI1DGC36rHvXKlVwHnxI9bV1zRNSmkErOt6DVyfhsN5Rl2R/h9qk2cpVMLWnWWvZAebXH7I= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR05MB3251 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix build with strict alignment enabled 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" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBBbGkgQWxudWJhbmkgPGFsaWFs bnVAbWVsbGFub3guY29tPg0KPiBTZW50OiBUdWVzZGF5LCBPY3RvYmVyIDE1LCAyMDE5IDE3OjU2 DQo+IFRvOiBkZXZAZHBkay5vcmcNCj4gQ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