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 AFB4BA0C3F; Fri, 16 Apr 2021 13:31:43 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3ACD2141D59; Fri, 16 Apr 2021 13:31:43 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id CE9B0141D57 for ; Fri, 16 Apr 2021 13:31:41 +0200 (CEST) IronPort-SDR: w0fGIM1yoWMvHZy8hrYLQrZQ76dB2wdS4d6mAbM4r9TSHn7P3+vXWCilpMuB8VhTFIS+8IopqQ RM/2VdQUt62Q== X-IronPort-AV: E=McAfee;i="6200,9189,9955"; a="194585608" X-IronPort-AV: E=Sophos;i="5.82,226,1613462400"; d="scan'208";a="194585608" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2021 04:31:40 -0700 IronPort-SDR: 2jFKlKaQBhvxkM1eeCPE3qFMiApad/ph+iFd6NCG7bT5deJGyVQ+14xABpIU1On4rR1YGnTEuv X+EwB7FShfqg== X-IronPort-AV: E=Sophos;i="5.82,226,1613462400"; d="scan'208";a="453308863" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.213.207.150]) ([10.213.207.150]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2021 04:31:33 -0700 To: "Min Hu (Connor)" , dev@dpdk.org Cc: ktraynor@redhat.com, thomas@monjalon.net, andrew.rybchenko@oktetlabs.ru References: <1618046334-39857-1-git-send-email-humin29@huawei.com> <1618570839-3761-1-git-send-email-humin29@huawei.com> From: Ferruh Yigit X-User: ferruhy Message-ID: <7a38d8a5-f1c9-5e4a-6629-8110e2e57dc9@intel.com> Date: Fri, 16 Apr 2021 12:31:25 +0100 MIME-Version: 1.0 In-Reply-To: <1618570839-3761-1-git-send-email-humin29@huawei.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v7] ethdev: add sanity checks in control APIs 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 Sender: "dev" On 4/16/2021 12:00 PM, Min Hu (Connor) wrote: > This patch adds more sanity checks in control path APIs. > > Fixes: 214ed1acd125 ("ethdev: add iterator to match devargs input") > Fixes: 3d98f921fbe9 ("ethdev: unify prefix for static functions and variables") > Fixes: 0366137722a0 ("ethdev: check for invalid device name") > Fixes: d948f596fee2 ("ethdev: fix port data mismatched in multiple process model") > Fixes: 5b7ba31148a8 ("ethdev: add port ownership") > Fixes: f8244c6399d9 ("ethdev: increase port id range") > Cc: stable@dpdk.org > > Signed-off-by: Min Hu (Connor) > Reviewed-by: Andrew Rybchenko > Acked-by: Kevin Traynor Reviewed-by: Ferruh Yigit