From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D00DE4545B; Fri, 14 Jun 2024 15:50:08 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 62889402D3; Fri, 14 Jun 2024 15:50:08 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id C8F91402D0 for ; Fri, 14 Jun 2024 15:50:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1718373006; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Ev9pbPWHJ5Vi60iojQon8R3bnYAjjpVV9N+E/U9j6/I=; b=aBQx5PiE03xsPYyl78+8Av1p7TJL+G8YoEPObCFeZdq+Pibkify0qKR7V6o7DlXnad9FTF OCsqqDLLncyGTAp4m3EA9SFCejjWVT/2fNLf1+cZ4CwuFDXRYGX1W/kAV8p8hnT6kuraoY nhtMPc0pUrVTaBTrlY7JOZmQzYfmAjA= Received: from mail-lf1-f72.google.com (mail-lf1-f72.google.com [209.85.167.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-83-wb3g7pinP5mFM4P63qOJ4A-1; Fri, 14 Jun 2024 09:50:05 -0400 X-MC-Unique: wb3g7pinP5mFM4P63qOJ4A-1 Received: by mail-lf1-f72.google.com with SMTP id 2adb3069b0e04-52bb096e9d8so1440513e87.2 for ; Fri, 14 Jun 2024 06:50:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718373003; x=1718977803; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ev9pbPWHJ5Vi60iojQon8R3bnYAjjpVV9N+E/U9j6/I=; b=AKR8vYYYbNi58XOLtju0iTOgBOT94iFW97h1+1boyYmzsAE7EsF0FRwJdQt7fikF68 vbWY3BPXoyOn1N8HkLerZMekpiMhR88Qi9XQ81KBq72xQ+AAt5zA16ZwssIRw6OtpJtY 5Lp9C2recZw4bG+yf7higyhAeTuJfgfVreYFOADYH62IopmLfB3Zvb9Wf3enqqq2vmYd GmYATtUIeWJYWpaBMY9sbJprCdD+DECGCRfG+aBwT527b0p51IteBMBxVdhP4d1x2JIf VmTkD6F3i7vZ/qNezcoVWkjad+gTbtHxJmxKCWXpB7YRNKlL2o/v6nQvcwgt16U1yQCd ergw== X-Gm-Message-State: AOJu0YwqjvXVTgeMxYnB6lDtXDo2qVS4y2eSbbIxekuKpOZu9ofzSinS +mDHFLpb+CtebXbhwy4U76OP8MofQb3BdUzPTJsDAGRCzRAgnaws9/j6xhXRh4APyISWOTSDVSA Nts1m3e8uP4mYF9PLHf0fDA/4qPiwpKaCWXZgzj8r/sZvgo3i6h614sgi3iYlCSW2wjMriOtsYF R+npVA9Xcwed78NdU= X-Received: by 2002:a05:6512:3da5:b0:516:d692:5e0b with SMTP id 2adb3069b0e04-52ca6e90530mr2087871e87.54.1718373003552; Fri, 14 Jun 2024 06:50:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEBDkFbfsBSnCYEJtprdJ/F9JXm6XfUx4xggefhIiiNebpLB++hcZKclf5jKRMWp93npLTQWVEyFQrfKJ0oxAQ= X-Received: by 2002:a05:6512:3da5:b0:516:d692:5e0b with SMTP id 2adb3069b0e04-52ca6e90530mr2087851e87.54.1718373003261; Fri, 14 Jun 2024 06:50:03 -0700 (PDT) MIME-Version: 1.0 References: <1656335481-238112-1-git-send-email-ccm@ccm.ink> In-Reply-To: <1656335481-238112-1-git-send-email-ccm@ccm.ink> From: David Marchand Date: Fri, 14 Jun 2024 15:49:52 +0200 Message-ID: Subject: Re: [PATCH] lib/hash: fix the return value description of rte_hash To: Chenming C Cc: dev@dpdk.org, yipeng1.wang@intel.com, sameh.gobriel@intel.com, bruce.richardson@intel.com, vladimir.medvedkin@intel.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Hello, On Mon, Jun 27, 2022 at 3:13=E2=80=AFPM Chenming C wrote: > > The rte_hash lookup can return ZERO which is not a positive value. > Fixes: af75078fece3 ("first public release") Cc: stable@dpdk.org > Signed-off-by: Chenming C Acked-by: Stephen Hemminger Acked-by: Vladimir Medvedkin Sorry, I had forgotten about this patch. Applied, thanks. --=20 David Marchand