From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50088.outbound.protection.outlook.com [40.107.5.88]) by dpdk.org (Postfix) with ESMTP id 4E3A498 for ; Wed, 22 Aug 2018 01:42:58 +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=6pdPWpS0h/QDf8wuJXrbbKibq/BETUlpJ9cnfMGxxCM=; b=gJEEsSvZzOfSW8BFekGQJzASaKuUMPXqhFOvPIZYTgKb769INIROFW35d9ssA9Gd3a8C6EbXPr4X08rWUqstPKMCENJLsijSw5SflzWM6ngFwL0jOa/WhrZZUjU1e+Tjoesm3VM3BVC40vBvVtEHY079bW/vR1EYXtG920fX60g= Received: from AM6PR08MB3672.eurprd08.prod.outlook.com (20.177.115.29) by AM6PR08MB3480.eurprd08.prod.outlook.com (20.177.113.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1059.19; Tue, 21 Aug 2018 23:42:55 +0000 Received: from AM6PR08MB3672.eurprd08.prod.outlook.com ([fe80::649b:b10d:ef69:7fd2]) by AM6PR08MB3672.eurprd08.prod.outlook.com ([fe80::649b:b10d:ef69:7fd2%3]) with mapi id 15.20.1038.028; Tue, 21 Aug 2018 23:42:55 +0000 From: Honnappa Nagarahalli To: Michel Machado , "Fu, Qiaobin" , "Richardson, Bruce" , "De Lara Guarch, Pablo" CC: "dev@dpdk.org" , "Doucette, Cody, Joseph" , "Wang, Yipeng1" , "Wiles, Keith" , "Gobriel, Sameh" , "Tai, Charlie" , Stephen Hemminger , nd Thread-Topic: [dpdk-dev] [PATCH v2] hash table: add an iterator over conflicting entries Thread-Index: AQHUNmJDFH1jrCiF2ka3KXoxxpnvSqTGI+UAgAOG3nCAAIEkAIAAtu0g Date: Tue, 21 Aug 2018 23:42:55 +0000 Message-ID: References: <5e809298-ee0e-f03f-e83a-59b764e3a9b8@digirati.com.br> <12e971e0-41bd-2cd6-d80c-a7a486fd1046@digirati.com.br> 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; AM6PR08MB3480; 6:EkilrTBh5jHR1hqq4fa3RUUE7Bcv/5nPE5N8McghQl5yx22la+Zos08J00aUGkAxx99LE7wDXU15lE+SJlDLeuDIEUh+rQmsy3BmWut5a/PjqiVINDibBXuEKNIkIYeqr4w4AXEQjMoT3MGwRI6CVQ3JXTfE4SSwWHiw2str4eCqHeIQmB2KeBV0LIiPL8OV4aiyMQLPAoHGJ/BQHBX0bpXEw+/i4Dc35seYe6v5Mrts8H3e333T/iHQcN8BeqBOYNfPeV6nCDyL4AARs3c6A697Qvw2nDGC/eBMk5T6emVJFS60ZzfRE9vW0RKmDYF/nqNcFYPXJFNTpwXi4DXC5UHSG2Ie7SFrTGHetRJ5K6SOEqYXdhQFSHeIp7kz/BYx4aAkxn3wvc+gNCTUq8iT8hhOx+Uo2PYJrG02/IkU/5KCSoxM2N7PeCeAhd6YuBkrQvcAq0cBMlCrYS2Bd0lN6g==; 5:7pIbm00GT0sFhesUlre0d23tz842XqBTZEvzpg9mOHxv/yGL/lpI/o7GGRt0UduyjuMWBUO+vh/wugYB/cgdQZriMTyMZTlyTg0Vy4hXO9lXeO3urioihFdhcsbiamGegIVzrTzEiTgsXQZb4zhZazby7OCrGmOqAYOFCf/kKEY=; 7:/UPtNbK/wuL8R4MiCbjsbt7HVRJmm4UKyGj/JLP40YcMe9+lW3YsxDNiKApGie3KemufxDzZ9PasWdx720C4mXGRloo/B0hrN0/xFMtZOhBNKncs+ZqvnyNMLWW3gxraXelNL+0VMeBEeFc2WrsS1vu0jGG98G/BI8xM+k0zLhLarwzEQT9LVA7S3feAg7o628YX1lhKksjq0iEaKDxcXgJZehdee1E/WUInC2ofm44zYvZvzlfAK4cmDZN19HOJ x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 5686161b-099d-474c-99ea-08d607bfd1c6 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM6PR08MB3480; x-ms-traffictypediagnostic: AM6PR08MB3480: nodisclaimer: True x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(180628864354917)(238701278423138)(166494164430575)(228905959029699); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(823301075)(3231311)(944501410)(52105095)(10201501046)(3002001)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(20161123562045)(20161123564045)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699016); SRVR:AM6PR08MB3480; BCL:0; PCL:0; RULEID:; SRVR:AM6PR08MB3480; x-forefront-prvs: 0771670921 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(39860400002)(136003)(396003)(366004)(346002)(199004)(189003)(13464003)(229853002)(478600001)(6116002)(256004)(3846002)(66066001)(2900100001)(33656002)(25786009)(6506007)(97736004)(110136005)(68736007)(8936002)(106356001)(53546011)(102836004)(105586002)(446003)(81166006)(476003)(14454004)(6436002)(7416002)(2171002)(74316002)(5250100002)(486006)(81156014)(53936002)(7696005)(76176011)(316002)(5660300001)(72206003)(26005)(99286004)(54906003)(2906002)(7736002)(55016002)(86362001)(93886005)(305945005)(6246003)(186003)(9686003)(11346002)(8676002)(4326008); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR08MB3480; H:AM6PR08MB3672.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: FkIQepPAUh2zUaLnjmKluLNOy3luaDe7qI100GVICVKMrVEPtkKyb3Ox7uxd37S0PuHQ7rGIWr6USFaeR22n2mYHhJ/MHHpnKAmoggRIS1DAk2ScFSqhwBYFH18BKxI2J/eR7toC75tcL486Nhb/4r9BjOhsDs7jG1N2l1RlmrSNlZucA7Catmr5IlNoiesPZtL3W30ofsz7/G+oZ2ma2+Xji9qh+r8tSt+ZXdXRcV9w/xkSfkadg9+gEqyuJz/B7C20bsqKAFLWI+x15AscgRE9ce0xFB+L+QOY5PEMRkZrdlR+2JoSrtIddycwYiJDqMkdFTn1ytxWKH51A0wtIo+7U3tS7wqvkhTcwX5dP+8= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5686161b-099d-474c-99ea-08d607bfd1c6 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Aug 2018 23:42:55.8480 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3480 Subject: Re: [dpdk-dev] [PATCH v2] hash table: add an iterator over conflicting entries 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, 21 Aug 2018 23:42:58 -0000 DQoNCi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBNaWNoZWw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