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 43F2742DEC; Fri, 7 Jul 2023 00:58:17 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B9FC2406B5; Fri, 7 Jul 2023 00:58:16 +0200 (CEST) Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) by mails.dpdk.org (Postfix) with ESMTP id 71AEA40685 for ; Fri, 7 Jul 2023 00:58:15 +0200 (CEST) Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-6686c74183cso996337b3a.1 for ; Thu, 06 Jul 2023 15:58:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1688684294; x=1691276294; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=ITtFwIMPJ9luJIt8gjfnZCpITp73qa/XSvqB9NwcJD4=; b=fnh4EU6W3Rhf9ti3S9k3OEdIvoapG1QhNE9g66zGs/pep3sKMhtWOKPrCjLCC9LseN eVPB2U770W/LdPf4JJ5VVyQRY8JzK9iyvWoqaisGsPCk8jdx3Vyn0RJ5vvP7B4Wey5wT eesMigMe52sU66M9GI0w50q97x2CYTX7a5+tOBFm1iiFP/cUNpv4TH/DtYXWRBw6xB5N MNetoJ9eXnBtcjImH+CRXFsBMumQ4lLVwtp7gTExzG+n8qrhs23JPkgu3XgBaVVaECE0 19i8+weRONRzeG+X/ONx2mMEYKFvRs1QX+f655d7p2Mo5WMpS27rZThUZPRy0YWiZFXP 7bQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688684294; x=1691276294; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ITtFwIMPJ9luJIt8gjfnZCpITp73qa/XSvqB9NwcJD4=; b=WZEeuC3xY/Tt3jgB8zhquEqXiZQsAOfYDP7lkJrxgnIAJSek//obT46HtPUMWHbCYG wNiCOeBtUOjEjuUEO/DJnr9LIGdzwNYsXfgii+mS/GUqb/Yz8VvLx5ClKeHlxlLY72a2 IHX3JDzZEo0MnN22+SIES9cFSB617mOrrpAdtQ6ed/oiVQD9TwTCj783HawWFd5ed3uY U4seTtqcPuaP+lI8A6arPD94yZr8905vhNXB81ijw+4xTD3LVamXM9vDej8+4CTOgI9d j4ojh8Hs2rGvBPzK2rVMNaNyXqPyht+Ol0lfir35QUeOHAJERO3GmoW6gu82oJbLaNf5 Nakg== X-Gm-Message-State: ABy/qLaYxc2wTpCx5SyxGa6IENRkbjx/aW3MUux8DXzKN0tM0aQiK2t3 kKppQieIUlwzKUBCkgCvG+p9yg== X-Google-Smtp-Source: APBJJlH+0IpgdkjbUqahwNi6441XsYCPzaf04mhec6WiifxNkSRBI2tlIbduTtS6Iro9bUlZtfnW1g== X-Received: by 2002:aa7:88c6:0:b0:662:5146:c761 with SMTP id k6-20020aa788c6000000b006625146c761mr3838697pff.17.1688684294377; Thu, 06 Jul 2023 15:58:14 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id u12-20020aa7848c000000b0065da94fe921sm1721395pfn.50.2023.07.06.15.58.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jul 2023 15:58:14 -0700 (PDT) Date: Thu, 6 Jul 2023 15:58:12 -0700 From: Stephen Hemminger To: Chenming C Cc: dev@dpdk.org, yipeng1.wang@intel.com, sameh.gobriel@intel.com, bruce.richardson@intel.com, vladimir.medvedkin@intel.com Subject: Re: [PATCH] lib/hash: fix the return value description of rte_hash Message-ID: <20230706155812.489f80e4@hermes.local> In-Reply-To: <1656335481-238112-1-git-send-email-ccm@ccm.ink> References: <1656335481-238112-1-git-send-email-ccm@ccm.ink> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Mon, 27 Jun 2022 21:11:21 +0800 Chenming C wrote: > The rte_hash lookup can return ZERO which is not a positive value. > > Signed-off-by: Chenming C Right, zero is neither positive or negative. Acked-by: Stephen Hemminger