From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10063.outbound.protection.outlook.com [40.107.1.63]) by dpdk.org (Postfix) with ESMTP id 78FE51BD12 for ; Thu, 12 Apr 2018 14:19:29 +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; bh=xkqMil3Wn4sgvmD+yhXi/rw+igU6ISth4lvxHVouHQE=; b=rHGjKw4aGOOiuUfUYBD1LQ9KWM4qWB8HmkcyBrAolwnz+/ZEEhqNEklOdfx8v8F0jmntn2YdTgOzVUlD8Zc525zjQrXhHeuVhcUxBxC51qnk5K/Gzazj0C2BEct5VPjCmjFc81a/FdBywv8vgsGnXE0SXgYk1w5gZs0VNP1DVzk= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; Received: from localhost.localdomain (14.142.187.166) by HE1PR0402MB2780.eurprd04.prod.outlook.com (2603:10a6:3:d4::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.675.11; Thu, 12 Apr 2018 12:19:25 +0000 From: Shreyansh Jain To: bruce.richardson@intel.com, pablo.de.lara.guarch@intel.com Cc: dev@dpdk.org, Shreyansh Jain Date: Thu, 12 Apr 2018 18:03:58 +0530 Message-Id: <20180412123358.30939-1-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.14.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: BM1PR0101CA0063.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:19::25) To HE1PR0402MB2780.eurprd04.prod.outlook.com (2603:10a6:3:d4::14) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(48565401081)(2017052603328)(7153060)(7193020); SRVR:HE1PR0402MB2780; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0402MB2780; 3:eFOk9jMEXfsJD9pircS242bOHN55+GuwsAtVtJ0P3cmWVW4SVYpEqbNSUDm9zjP1mcwzfaxcKLSS5cjIvhnXdgCoUCiELQkfQOZlJqg5roqYo8Vw/aplicFB/ajQ0pM5ZX7J21VsBJRd/YuOPLH9FkmXSsxaBq732cSzEQ7qPNUGkw5+XGBT+G3uoe3JzUW9atqm+5nzkKr+AkJQUPDlG1pT2rw/07CKmm3SrJlZnekfQKEQlFacgerDBWKCVWVu; 25:j+W9yb1LPhJk+wX+QO4sNDQ17Qb9Kc4ai4WoxOcFTlA/+jEhaCIZcd1cNcy5D14ZszJM992jp4/IA5OVbIOZO1miCT8/SVt5JQg50MPSWsw7r5y0x0573qXpUF0a4BVZymoN+si6DbRJGEo0sQtwhKFkJHE2SCw85jnQt5NpGY8DBQgpn+cfwD6m48may7VbU8Agizn8NgjEGhtoKw+pv6T1sSvBEvcQMyH3I0dFVsDrGl9QeGrOo307ffSakU1T/IWncHasi+CZmlqcZjh71cw9WmrNlT8S8e4wEN2NZlNspTKTwPRmyd8gq4jC/lvH201BER7zD9WW5HEb3a7Qew==; 31:9FC/3eRPQqxXc0tR6d9qk/oLaEV9TgE4MSlY+1crET5X09l4HxbN6yE/4CtqDKvgLl02FslRUbpV1jqO0yuUemuu02zv3obj8D6ZzV1A5eMHV11bB8i1tezIsE853oMKZ3LKEXCu0A50ydnNljbOyF9/24YsQIsyH4PLLxoJytYL/Nhemf2BibH/X5FbIXl3fUzy5AwpqCnbCsavzLr4PS06tIjihq0qD9YcXKkNNsY= X-MS-TrafficTypeDiagnostic: HE1PR0402MB2780: X-Microsoft-Exchange-Diagnostics: 1; HE1PR0402MB2780; 20:rn75xs/7uaekcg89VSeOUhOGg/ZpML5p6TeSYU02DGlNZ0OkiGc3w+dZ1+F3it84GilpHKr4uH+nx4nDWCqpzs3Kzo/B4HMvs4RM4KdX+hc0HpvcfOWlJQP2TR+Urxq0mSQTXsaCPiO7XAXlylkfnekhZ3Ur0JQRo5fDgCM6iraCKMkyCyXzrPOjh/WrINgFlq+hKizj4edx9LJx9XDVDisezO7g1OVyPm9jKTaslMeOKqZg9vyk0oDgqJoNPX6WiSijYb9jXodefjgecAOveTEbDHlZe+Gcu3GTnfsRARcaLjo8joLr/obaHWdLUvA7/zCExp08DayTNqjDPEn9rhXgyg12XKgivEUqzxU7yKe2s7d9zqoT2x7rvfSUpXiHoIUID9UYPaTo0gmDJaOWZfXMwRTsrXrIT4WPyZHgus410RJ0kyy5q3QSDvvJX+UXrpZWmNMrh0SahJi+SXFTOo/YfuKnw0H7tRGzk7IiXGy+ChawqzGvCM4fgycFthJQ; 4:rGKyjD2ASkUfJVKGBV9u7E/28RdUV1o0iYaH1lu1/l+//j9u5hUblV13Kbq2VpalNWee9+X2It17f92jer1HwAKvXKGkWUAsO1iGpVAbexyebMsZb7GKYgCUfl3H/MWl7winRe0/9E3/GgmZiktA7lHr7NLw8zo21eSg8EYY3GEy2+CvSm8jn3GiT7MOh3OY/lIe4ot7dLRrlu7fCLcy1k6bRECaJ1SUOUuM20TAo6ObAsoZKktTU+NTtjf3gyt5n7lhtO97qjaVRTC1EKys0r0f0Lqe5Cdv7nI+Cmpltsu5qsSWD6sR+Bt5/TcH745n X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(10201501046)(93006095)(93001095)(3231221)(944501327)(52105095)(6055026)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123564045)(20161123558120)(6072148)(201708071742011); SRVR:HE1PR0402MB2780; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0402MB2780; X-Forefront-PRVS: 06400060E1 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(396003)(346002)(376002)(39380400002)(39860400002)(366004)(189003)(199004)(5009440100003)(55236004)(68736007)(5660300001)(50226002)(6512007)(8936002)(6486002)(8676002)(81166006)(81156014)(105586002)(305945005)(66066001)(2906002)(6666003)(1076002)(53936002)(26005)(7736002)(47776003)(1857600001)(106356001)(956004)(25786009)(51416003)(97736004)(186003)(16586007)(52116002)(476003)(16526019)(2616005)(316002)(44832011)(3846002)(36756003)(6116002)(478600001)(48376002)(50466002)(386003)(6506007)(86362001)(59450400001)(4326008)(486006)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0402MB2780; H:localhost.localdomain; 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-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0402MB2780; 23:DPLQp5r3oDQKRHKlMovc1PnKyNdB8/W/El1DH6C?= =?us-ascii?Q?CyEPDoq4eLJdDvEeGoEJqhwbMjeO6GUNF40Uthj3qfJLfx/6uUXusek6ZvkL?= =?us-ascii?Q?Z88bZhFzdlaWBQEdLnClvONwugLFZyYZu6mcYrs9VqhuE0nrKnW/30VGbuD+?= =?us-ascii?Q?t4Q9TUphAKSTBFdCpqa/1aByvtcSt81kZ1zUg+kHKkd1nXO+dQiiYMezEx0Q?= =?us-ascii?Q?Br2sDbIxTnp10kW0khhB4nJDCNflkb21kRwzmVUmEjVAaPnxEOMsbnlkpgXX?= =?us-ascii?Q?lst4FDajV0DjP1c7N1pmghwjMTWKyGyhovs3WjYJ/RTb5ZKE3IKY7c1J9wIZ?= =?us-ascii?Q?qWAhA/VWW2Gewur31HhIolbQ0I1YbPrgA6Xk5cz3GjWhOZYIJyC33s9S+bDZ?= =?us-ascii?Q?EJ/pvCdCm/F6Jl2prLbMTPQl7mWjaIzGl9x1zFweBP1ofgusSKvK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Antispam-Message-Info: GhHpQTlJ5XjFKeikd8UyJ8VM24DX+gzsNMBBONXuJBTIZxYSIhLDlauJO5nEzA0uUylKTdcoyUViNlw3a+hQRtiyAVdtnaGvp8pbkTKINqHZom5tQIE6p1NZ0ah7nWBJoTwHlYe1ajq6E9C1VN2uNorWLwxOJpbb/hxO7xd2F2ymZwo7kx1Cjy3OWeDqbX+q X-Microsoft-Exchange-Diagnostics: 1; HE1PR0402MB2780; 6:ghR/fFnvUQ2r0lxSjoq35mv7h7vWaLvow75KUA8J1E91sKLxQruTCr72H1BFNR0g+w2/AWgfH5Q5n5ihpBBOs64M2GuvMeYUrvpqbDtbZASovSTk0c9uL2KvtrrJOjhK7OiPYbaf4t22FnNcVemkKz1HNF7aDWhpT/OdoQvh54iR/NjNsFI9G1JyRqEMpOnD4tpDwdOYxY59ScpB8KS3hcrPihkBvCHbF8jqZTxLVhblcgN41P77x1m1cL8fIgQ95nhIsXp7CfBo2qnEmZnhzEc4Ro8eXpITqkYCWDSsGS7cCp9S7JfsKsAyT16k4Sef0E0IKR2/qLutEkVOghBD0CLNXwFjWAZ/IHoPUu/laX/wcWRbDorzAivGuNU9xbs0tDFXW1QxgtAkiuAxIX4Hr6VHdoJU5921Q+5ezbt8WOWN2E/97EvxkzRhufLenH1jZxLriBFdk10/j7nlT6IgoA==; 5:3JEUsyfgERg9zZGPZwRlbIG2sn9kkdGuq/KXJjIWCqbY2/UVcgynC4NmWElmNMerKvfhS/rBZE8FbiHGdrF8otE14hViiX1gOJWbzbeDuSqeeMq1ob7Pnk1JwCAjiF2QWdpxMbiFmOD6DG8jgk3qsNIEg1jkrPxyaioyVwZSwdI=; 24:E/W06rrKPDat/NMXsOBwM0gP/A7z+Uy6kzpFISsWforEcwTWxwRVoABzObknbW0xnhiiACxoksB5+dEZN/w8+kfGykfdc8+D9fkE9s6XDh4= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR0402MB2780; 7:tVpvDibOxjJUrt0/KYBVN3qasLbUFXZknT4gM/Jr7ZOfiZBF+1/0BHayBdj4tyjMoV1alIBjsG4hGAIpB7TC56HkBkVwmVT4LGpZkjZf8fpxLnU6daybRgq09a4nuMeacNooaPN5JSW8dubXIiiNayhkK2ufxwohHYeFWmuWx+nYTlgT6gibEbX/PDgNKejhfwenIU1l5DM2xsb+8QMCD1gRIuspTHpaSG+/jc6t2Z2BCCbS8lntZW8OJkhZqFmX X-MS-Office365-Filtering-Correlation-Id: 540fa78e-1091-48cf-aed3-08d5a06fa20f X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Apr 2018 12:19:25.1512 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 540fa78e-1091-48cf-aed3-08d5a06fa20f X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0402MB2780 Subject: [dpdk-dev] [PATCH] lib/librte_hash: fix incorrect comment for lookup 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: Thu, 12 Apr 2018 12:19:29 -0000 rte_hash_lookup_with_hash() has wrong comment for its 'sig' param. Fixes: 1a9f648be291 ("hash: fix for multi-process apps") Signed-off-by: Shreyansh Jain --- lib/librte_hash/rte_hash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_hash/rte_hash.h b/lib/librte_hash/rte_hash.h index 3beaca71c..f71ca9fbf 100644 --- a/lib/librte_hash/rte_hash.h +++ b/lib/librte_hash/rte_hash.h @@ -328,7 +328,7 @@ rte_hash_lookup(const struct rte_hash *h, const void *key); * @param key * Key to find. * @param sig - * Hash value to remove from the hash table. + * Precomputed hash value for 'key'. * @return * - -EINVAL if the parameters are invalid. * - -ENOENT if the key is not found. -- 2.14.1