From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50077.outbound.protection.outlook.com [40.107.5.77]) by dpdk.org (Postfix) with ESMTP id 1C0BA2951 for ; Fri, 13 Jul 2018 22:21:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TA6LMIuWlEYzafrDpLd281ZzUC4B1tJN2dFZlOtB+2U=; b=MgiBBhYc3Vp2p19rPoDOtJ/QnxNCQCMby+XeDwgn+V3ob7SKaH9FaiQFrQbbNvqkMGJcij1PIjOy/ytjawusrgl7brhTbQ4/hi/H28DwCMp3kFdHTPCfOqRrWBqRBOjNhpCAW2++x4ioABDtmjW9bYYlgd8HlU6KGqKzLhsOAHg= Received: from VI1PR0801MB1936.eurprd08.prod.outlook.com (10.173.73.150) by VI1PR0801MB1327.eurprd08.prod.outlook.com (10.167.197.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.952.19; Fri, 13 Jul 2018 20:21:00 +0000 Received: from VI1PR0801MB1936.eurprd08.prod.outlook.com ([fe80::916b:98f1:fa80:bdff]) by VI1PR0801MB1936.eurprd08.prod.outlook.com ([fe80::916b:98f1:fa80:bdff%7]) with mapi id 15.20.0952.017; Fri, 13 Jul 2018 20:21:00 +0000 From: Honnappa Nagarahalli To: "De Lara Guarch, Pablo" , Thomas Monjalon , "Richardson, Bruce" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] hash: validate hash bucket entries while compiling Thread-Index: AQHUGbPg42z7Ir0sDUSt9B2AB3IFlqSLOqcAgAJfPGA= Date: Fri, 13 Jul 2018 20:20:59 +0000 Message-ID: References: <20180531153049.41306-1-honnappa.nagarahalli@arm.com> <3132435.sNHpliEu6c@xps> In-Reply-To: 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=Honnappa.Nagarahalli@arm.com; x-originating-ip: [217.140.111.135] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR0801MB1327; 7:BS6U8naJsHp5YRrRd3EDJ0A6iUcWswQSoF7SpYdg2yL0p6t2jZNcwbYhivYyxWzvWqfH7aSY832IfeQ9vJ4nGsERWZWtHCJXle/jwGBzGxcn3VF9AcgnIxPcf6e5uUMEEANQGBqyLcZdKFluYUUAfR8roIzUnMh8jmVPZv+lI4RLD+mleX2fp7WXsB4b31EsmUj5uibwxdiUFdbs4aU5OFf4eUKVI/v74DqvqTiqS6G31U7dtRtwwGGzKBq/wA5D x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: fb4c4227-b0ed-40c5-aca2-08d5e8fe2605 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600053)(711020)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(48565401081)(2017052603328)(7153060)(7193020); SRVR:VI1PR0801MB1327; x-ms-traffictypediagnostic: VI1PR0801MB1327: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(180628864354917)(223705240517415)(228905959029699); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(93006095)(93001095)(10201501046)(3231311)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(20161123560045)(20161123562045)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016); SRVR:VI1PR0801MB1327; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0801MB1327; x-forefront-prvs: 07326CFBC4 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(376002)(396003)(366004)(346002)(136003)(189003)(199004)(40434004)(13464003)(478600001)(81156014)(81166006)(33656002)(8936002)(8676002)(345774005)(486006)(26005)(476003)(446003)(11346002)(186003)(72206003)(305945005)(66066001)(106356001)(74316002)(6506007)(102836004)(7736002)(105586002)(53546011)(2900100001)(97736004)(76176011)(15650500001)(7696005)(5660300001)(14454004)(6436002)(9686003)(6116002)(99286004)(3846002)(2906002)(229853002)(4326008)(25786009)(6246003)(53936002)(316002)(86362001)(14444005)(5024004)(256004)(5250100002)(55016002)(68736007)(110136005); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0801MB1327; H:VI1PR0801MB1936.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: x7ccFHFBSU1sLpfWhHOoFvJCRDGewluVFerjELEtqU8Vus1WjpNjcL6FYRAQaPw/hAHEG4Z3ltlusY5fJoZW95kDMgkGFU2mn3NiZ9fO9mEr7jC7IyhbKksUlnnYRGUkuDM9GBjDaePWkiCy/mXjDQWcH/7pqs3MLBkZrggLZCBr+hEvqX5qQ7SYwnZQ917wItVkhaoMb5epYhjLIPexWMTiFlsR2z0RJuT22qn4R7vmkdtJPmjQsT+HehNP0Og+PD6yLPN9sLocSEJoDK0hcOZcMM7bskGg6aRHr/eF+u3ukPocQjrFPuYy39oNGKP4MOlo4u7Cq5s0kWp/WQNhVN5WoimQy1B6lRSe34Dfhbs= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: fb4c4227-b0ed-40c5-aca2-08d5e8fe2605 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jul 2018 20:20:59.8575 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0801MB1327 Subject: Re: [dpdk-dev] [PATCH] hash: validate hash bucket entries while compiling 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, 13 Jul 2018 20:22:51 -0000 Hi Pablo, Thank you for your response. I recently noticed this macro 'RTE_BUILD_BUG_O= N'. Does it make sense to use this macro instead (though the error message = will be more cryptic)? Thank you, Honnappa -----Original Message----- From: De Lara Guarch, Pablo Sent: Thursday, July 12, 2018 3:05 AM To: Thomas Monjalon ; Richardson, Bruce Cc: dev@dpdk.org; Honnappa Nagarahalli Subject: RE: [dpdk-dev] [PATCH] hash: validate hash bucket entries while co= mpiling > -----Original Message----- > From: Thomas Monjalon [mailto:thomas@monjalon.net] > Sent: Thursday, July 12, 2018 8:42 AM > To: Richardson, Bruce ; De Lara Guarch, > Pablo > Cc: dev@dpdk.org; Honnappa Nagarahalli > Subject: Re: [dpdk-dev] [PATCH] hash: validate hash bucket entries > while compiling > > Review please? > > 31/05/2018 17:30, Honnappa Nagarahalli: > > Validate RTE_HASH_BUCKET_ENTRIES during compilation instead of run > > time. > > > > Signed-off-by: Honnappa Nagarahalli > > Reviewed-by: Gavin Hu > > --- Acked-by: Pablo de Lara IMPORTANT NOTICE: The contents of this email and any attachments are confid= ential and may also be privileged. If you are not the intended recipient, p= lease notify the sender immediately and do not disclose the contents to any= other person, use it for any purpose, or store or copy the information in = any medium. Thank you.