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 926A945B38; Mon, 14 Oct 2024 17:28:35 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 81A104027F; Mon, 14 Oct 2024 17:28:35 +0200 (CEST) Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) by mails.dpdk.org (Postfix) with ESMTP id C438340151 for ; Mon, 14 Oct 2024 17:28:34 +0200 (CEST) Received: by mail-pg1-f169.google.com with SMTP id 41be03b00d2f7-7db238d07b3so3809217a12.2 for ; Mon, 14 Oct 2024 08:28:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1728919714; x=1729524514; darn=dpdk.org; 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=mRvpMu/J0Tpevm8hBeZcgyv/rVxbnM8JC8KsMHqsoiI=; b=rhboR/MLcLSSpnLEScLJxYo3W/g7fT69PJcmg1yM28rg3YFR/6kcz/gySPMOXlowm7 ivT958P1JPktJJKiB1SLkkAeQ3NjUidBGduUDPpwt2+6HFHaAHLwF4b0QkIMoWH3amj3 7YoiUYE/gF3z1jkSEpY+wsD9MqcDWzCwEvNqFFKU+XkbvOZqH6IVhiH8JIDPrDgO9CYa naZbZTJrfIOeq6PNIDVNnEZxLS43QBwpV7Kv/XQJkiger7nd4LiTDEDK1JKARlz5VAdm bgt7vWvhB77oj2t5KC1fQ6upCwpEjkK+Rn2zadaKhquZCAIZ5dzL83ySVTsftCUh+XDH CwNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728919714; x=1729524514; 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=mRvpMu/J0Tpevm8hBeZcgyv/rVxbnM8JC8KsMHqsoiI=; b=OoZyQs+R9Aok4AXVm8kY3FVglVVh7E1XxzXQbc752HHEH1C4ay2do4mFucPWfTMqjF +Fb4JpOFZJxv8YSU3XKO8QzZWtvercCC+a+/7Sxr8tB/TQ3TB7zbsxJtAeuvSSgqFQz3 ZE2NLk8uaGoop2rGCHuli0VRULW8UzLuQKoTlKYYCafO5mufIvMD/XeHQFoT7rCXPoaC 2IBILUBbBh7Geny2FMz/j6POZZRIVhEF7Vi9aEDWLBRe37nkAdrvuDtETqOMayZgT47Q TUazTGXS2q/9VJZNah7s8xWw9V3yN9l+YRecRGumT0idW8zJyOmQZGX3VwUcDIxmrwUE 0xQg== X-Forwarded-Encrypted: i=1; AJvYcCXGZaB3FF27fF4bk7VGLwSBmNjJYHzr622LHmlRR0WMgcNIt2h5CVDmmvrEVJNoZ0kCcws=@dpdk.org X-Gm-Message-State: AOJu0YzSxMCDD0y7EPDutyb+xkvTFuHrf1/oUQdov4EPRgGKbmflP8lI t/hcvfJ8k+7fWP2x8Hco+R2ERLQ19atwonhbfswUsQdd0LFOkCjdj7xwwEq1IGs= X-Google-Smtp-Source: AGHT+IEugXuj/IAPMH8bsJQbLe4Rtv1mFIbVraAPwyyixi0mWk93eiwiwBDGh+AF6hUsGpa9wGfb5g== X-Received: by 2002:a05:6a20:c997:b0:1d4:e68c:2eb9 with SMTP id adf61e73a8af0-1d8bcf24084mr18705781637.20.1728919713914; Mon, 14 Oct 2024 08:28:33 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71e6fcc3968sm875289b3a.145.2024.10.14.08.28.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Oct 2024 08:28:33 -0700 (PDT) Date: Mon, 14 Oct 2024 08:28:32 -0700 From: Stephen Hemminger To: Niall Meade Cc: Thomas Monjalon , Yipeng Wang , Sameh Gobriel , Bruce Richardson , Vladimir Medvedkin , dev@dpdk.org Subject: Re: [PATCH v3] hash: separate param checks in hash create func Message-ID: <20241014082832.1b8ce8a0@hermes.local> In-Reply-To: <20241014101916.2043948-1-niall.meade@intel.com> References: <20241010164602.1794534-1-niall.meade@intel.com> <20241014101916.2043948-1-niall.meade@intel.com> 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, 14 Oct 2024 10:19:16 +0000 Niall Meade wrote: > Separated name, entries and key_len parameter checks in > rte_hash_create(). Also made the error messages more > informative/verbose to help with debugging. Also added myself to the > mailing list. > > Signed-off-by: Niall Meade Acked-by: Stephen Hemminger