From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70077.outbound.protection.outlook.com [40.107.7.77]) by dpdk.org (Postfix) with ESMTP id 2FA6E1B465 for ; Tue, 9 Oct 2018 12:26:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vAihs7opUJCWy3dD4sBUmEwBWPXMPNU5csLLh+o1dLU=; b=cgnPn4gE2/BkmEqlPyGTY17DMSgmxcH1G0VMfdUn+CvJBidNJOcePMk5kHgu/YafYIxypBv2n+K6OkLQwyGqc2yoMAkOazWvKeTUR+z1mwA0z149EXauq25XogwSY9XHqpBnogzLMU4dc9t2T+wyEBeg5Z9NZTomPi4j1xpLNlk= Received: from VI1PR05MB4431.eurprd05.prod.outlook.com (52.133.13.26) by VI1PR05MB4607.eurprd05.prod.outlook.com (20.176.3.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1207.28; Tue, 9 Oct 2018 10:26:01 +0000 Received: from VI1PR05MB4431.eurprd05.prod.outlook.com ([fe80::80:564f:9ae9:ed9]) by VI1PR05MB4431.eurprd05.prod.outlook.com ([fe80::80:564f:9ae9:ed9%2]) with mapi id 15.20.1207.024; Tue, 9 Oct 2018 10:26:01 +0000 From: Shahaf Shuler To: Yongseok Koh , Ori Kam CC: Dekel Peled , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] net/mlx5: fix calculation of struct size in bytes Thread-Index: AQHUXwvsIP6a+BxWpkOwNFmiVy7b5qUVX7OAgAB8F4CAANrbkA== Date: Tue, 9 Oct 2018 10:26:01 +0000 Message-ID: References: <1539005674-57499-1-git-send-email-dekelp@mellanox.com> <20181008212147.GB9031@mtidpdk.mti.labs.mlnx> In-Reply-To: <20181008212147.GB9031@mtidpdk.mti.labs.mlnx> 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=shahafs@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR05MB4607; 6:L+ncykqhJJ63LgRrF+lZ5kgJSxOiVLHKVNI6x06ubLxSsWrTA9Rv6scDKNLJ4gjFwUc0JbnvUHcBRNsaMpekE+zlAsQ5Fs/VOTMTZtuHSdnMxWemtsmdeWpPy2FKAdzvaQANuvPMB472EHKzmIB4mKOXG/ntAWmv1X09V8sKq1gip8q3aamvZfi+vlNUPIOtRfwus0IT6UTrXKaju9sIN1h3IG0tEbzA0uUcFuZYStdneV641QNWQSQdIWvIyz4DtoSSJI9Crw8X8j2YqSKfxLWWTwnChXyuS8IAPEaig+iniOgJ3dNSxQwF+OcETRow4Loxtqxfii+vfWMJTi9b+gniibVZQf23cXk3Fk4senHoQ9mV7eA292AiX+PWcUs+7kc0XkK0wrsmo1g4Cr263MPsoUctueeczjpVcl4G/jj/rpM4uox9nG75o5x8ozfWTBZwlbPMg7Oef1ZM+fpgGw==; 5:JFys0rxYAF9TAKQUR3Pr/WBC3BJoulTRXuWBQUEWlBccJpG+/qaNvw7sQXVn4LGoarJ7BF4gd0iNXlrKMXbMZdKkqbrV7apTel+VezUeEdRLVYbOYhbaLg4Wsbh8FA0Gm00/pLL2/GC7XFKDfxdJBnuzmdEWtSNotbad7xbtoxU=; 7:OmexAdvEMh8QF9xM+M93D/Xe8DiaZTdSmVxkyFyoHPadOkuxyS/dD3JX19ctSA2ND/9m0BZlHMAT2xj1ZKgxN29szQcep1qfXGsn6DUDuof7PB3yLo7CG+7P8Ug+XnHJFA94Qd3Yd2+b1kOakQcogDkNHACIBq3hrUbVBHZ9z7JnjGIfAMwLCMPxU2rrFn/eOcbAoMFGC+huXTzm6dMvdegGltVCrxgSwqhj2ezfOb8rRDTqQ9xd9v1BXn2Asqwd x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 1ff3d8b7-85cd-4859-2027-08d62dd19cac x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR05MB4607; x-ms-traffictypediagnostic: VI1PR05MB4607: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3231355)(944501410)(52105095)(3002001)(6055026)(149066)(150057)(6041310)(20161123562045)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(201708071742011)(7699051); SRVR:VI1PR05MB4607; BCL:0; PCL:0; RULEID:; SRVR:VI1PR05MB4607; x-forefront-prvs: 08200063E9 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(979002)(396003)(376002)(346002)(366004)(136003)(39860400002)(199004)(189003)(14444005)(256004)(9686003)(55016002)(68736007)(6436002)(11346002)(446003)(97736004)(7696005)(4326008)(6246003)(3846002)(25786009)(76176011)(2900100001)(229853002)(6116002)(8936002)(99286004)(86362001)(478600001)(53936002)(71190400001)(71200400001)(14454004)(33656002)(2906002)(305945005)(486006)(54906003)(6636002)(106356001)(105586002)(110136005)(5660300001)(316002)(5250100002)(7736002)(81166006)(81156014)(476003)(8676002)(74316002)(102836004)(66066001)(6506007)(186003)(26005)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR05MB4607; H:VI1PR05MB4431.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: DZ43gM0GtFl4u9+UNVGQt2iDba+vDZNoUqSfBjk+Ay6CfAlLZGQI2I4rzQOXND4J2zNZu3RHuOeRyng50eq8mzWEBh46FuCgLbo0Z0MQpH2gQZD/Ee+lSWVSS3dNFEi2qqyCKkAg07uKqZoSkZT3Yn2Qwy4rpj2ByvlSO76RsWRzoCDzu8ruHaDl/lL4X+DjzNnnjdWWY+kL7LuLg9USvkQ+J93B5FxpkJeIiCri3JOQlW/dhrru8gj/cfY55WNWlQVy2qiGxItS1AuvG+0EQBmxC2ypHh6wuFKIp6NBxzMGPsMfKLWS62P/Ml6KL0fZ6dMiVm6K6aBgezFxaITHo7i63+WQravmhoEM42pfXwg= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1ff3d8b7-85cd-4859-2027-08d62dd19cac X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Oct 2018 10:26:01.8507 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB4607 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix calculation of struct size in bytes 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: Tue, 09 Oct 2018 10:26:03 -0000 Tuesday, October 9, 2018 12:22 AM, Yongseok Koh: > Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix calculation of struct size = in > bytes >=20 > On Mon, Oct 08, 2018 at 06:57:49AM -0700, Ori Kam wrote: > > > Subject: [dpdk-dev] [PATCH] net/mlx5: fix calculation of struct size > > > in bytes > > > > > > Update definition of MLX5_ST_SZ_DB to calculate struct size correctly= . > > > > > > Fixes: 86a8d2b59f54 ("net/mlx5: add Direct Verbs prepare function") > > > Cc: orika@mellanox.com > > > > > > Signed-off-by: Dekel Peled > > > --- [...] > > > > Acked-by: Ori Kam >=20 > Acked-by: Yongseok Koh Applied to next-net-mlx, thanks.=20 >=20 > Thanks