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 1D15F425DC; Mon, 18 Sep 2023 18:08:12 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0BC8E40283; Mon, 18 Sep 2023 18:08:12 +0200 (CEST) Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mails.dpdk.org (Postfix) with ESMTP id 0193C4025D for ; Mon, 18 Sep 2023 18:08:10 +0200 (CEST) Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-68fbd5cd0ceso4139482b3a.1 for ; Mon, 18 Sep 2023 09:08:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1695053289; x=1695658089; 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=FSwT4vTHfzrAdWeXmfb60GGmdvcVykH2+VsGMnf6Udo=; b=UUHHHTpviiSqCqy2L/IZCoAkcK2ZFADxZLq+sVeNDhBA9Q/CtaRdA55ZKpjSUHcvlK t0Gp39MKZUcXonZVe3MenXIwYjs5prnGkKc3yer2HzKUQEJoFprehiej9pHt5ANisa6i iWUjfQcM/rATkE3bfu7FyOvOmxPhEhcKauD2Scop6X4fuzPGbNYRHNPeYhx4SHJz6W5f U+nyu3JLRCPiwH07m9TP6DXx/IsbylX1KC4XtHdWw5NoIEe9YCRUneUiEwjjjObmN+BJ Wlw91YpFhHVTXkgd9QcgE2LPylvjSXOPj9OdRz5rnRKKSUif5gcY/83iNlSCts+ehR5v Nl2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695053289; x=1695658089; 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=FSwT4vTHfzrAdWeXmfb60GGmdvcVykH2+VsGMnf6Udo=; b=Az/1RPCQH2mPfYiEpARPtN1eI42k63PiWKxy0olPJi2etZ4tltnh8wjebeJ6n78j9W l5dJ8XrrOBa36XfgPLhoWO4AKpgVd4C0LCQWfVHFzR9xyHaOmf6cOCg1tXKj082bGxaN ecjrhyyQioamTvtboNA84aa5wTPLlCx4AydT73Msf1/BfbXba47g64d30cugBmeWouLq H+zoMkjj6v2wVFwlIohMixeGiyV7dL5Kjm3UMaXEzZo5J89oqm/AvwODhN1tMmnhV0cc Jy6UYB/I1OPSna5EuuRjGC4zElhMv/nnZlp/Ev1DT4eIbNGzNjm0fIJGbze9OC5Hqcg6 LIRA== X-Gm-Message-State: AOJu0Yz0d3oc+iufrE6fzzG2Xv+ejiIPpRnha1k84l8Q5RcmjBcNXfm3 5vbRlDcJW4EOP0SPvTFlpBSpkw== X-Google-Smtp-Source: AGHT+IEs3JDJ1AFfToBo3uYfKV0eE3kWohZhXlglkvBjjgQpUO/dvqwS/ZaXGpn3hKBB5ER1C7cn8Q== X-Received: by 2002:a05:6a00:2283:b0:68f:ea5d:1f70 with SMTP id f3-20020a056a00228300b0068fea5d1f70mr12875728pfe.14.1695053288813; Mon, 18 Sep 2023 09:08:08 -0700 (PDT) Received: from hermes.local (204-195-112-131.wavecable.com. [204.195.112.131]) by smtp.gmail.com with ESMTPSA id x24-20020aa793b8000000b0068fadc9226dsm7340707pff.33.2023.09.18.09.08.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 09:08:08 -0700 (PDT) Date: Mon, 18 Sep 2023 09:08:06 -0700 From: Stephen Hemminger To: Cc: , , Steven Song Subject: Re: [PATCH v5 03/32] net/sssnic: support probe and remove Message-ID: <20230918090806.00aa774e@hermes.local> In-Reply-To: <20230904045658.238185-4-wanry@3snic.com> References: <20230904045658.238185-1-wanry@3snic.com> <20230904045658.238185-4-wanry@3snic.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, 4 Sep 2023 12:56:29 +0800 wrote: > +static int > +sssnic_ethdev_init(struct rte_eth_dev *ethdev) > +{ > + RTE_SET_USED(ethdev); > + PMD_INIT_FUNC_TRACE(); > + > + return -EINVAL; > +} Since device does not support secondary process, should check and return error here.