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 98B5541CC1; Fri, 17 Feb 2023 17:30:10 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7671940F18; Fri, 17 Feb 2023 17:30:10 +0100 (CET) Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) by mails.dpdk.org (Postfix) with ESMTP id CABB940EE3 for ; Fri, 17 Feb 2023 17:30:08 +0100 (CET) Received: by mail-pl1-f176.google.com with SMTP id f4so2038047plg.12 for ; Fri, 17 Feb 2023 08:30:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; 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=sDqRNSWz/Bb1HykYgYPoES33Dirry9GW1OZFFsxTBJ4=; b=BCJogTGKCVeiWQI3F1OBByiX+0Dt602kIIS+WHin4bt3qfL12EQB1QFBvurXBnJVXY mia2CeJcheBRWA9AZej4UpyOuStEYhRd0oSi7GOmCZ7rAb3ClnLM+5tgt5p9w4fYJD4Z 2AhJe5SVtD80QOeNCOsj4lhc2IVVLwex1843JtvSVrCjaiTPnw+ryZQooVhMwbNJwoil zUDa84B9Bu3Ql+JPyrDUkt/GorO+TTAFqIxFJVobA8O87yt4YTv8SiPYqOQY5H2A5w17 a4x/yKLMQQKzv+gm1oVfXIuH7bmZ9dUWhunIntZaU5Kk4e7nFnRgEfKnYI7qmuOXXN1t IyUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=sDqRNSWz/Bb1HykYgYPoES33Dirry9GW1OZFFsxTBJ4=; b=XFwfD4jE5efY89Ftaam0L4JAQvOxFr9AYhwku8mIEsLq2vNT+2seUDm6XlNpnsqNyh k4w9mRHQRv89cAD2tsdzb31ZWPwxHzlQWscavzkJUW5Zjxrvtq1Pn8qF1hC/TNHrEidm j+Cz0hoQHACObic3AkVPFOYuWuIZqlqv3M5/FyVMIVibz8smKm7mGUdI+ukqx8L54OXQ H6DPdTk4GECEJprvo0VS5O3zOxnHzXOHscVtB84NqfiIUglu7/197+x9ISSMmdkzAuws dn8UnTTRkTCXW4TNDzZJ3woQlofJJZZoNOc/2RZ6WBueaQ4fSAtMEBi2IrGOWwzUVpqA NEBA== X-Gm-Message-State: AO0yUKUZ0pBSAocZKAhEagoZkipQESVaM54SXiSbrT7lb48boXibbwlH 9ZeSE8vDLJwOhffiYzWBxcSksZjQ0sEdWjkpL6Q= X-Google-Smtp-Source: AK7set+kkgq8UIpNEuNi5yNkCqGxvXun52A5qlGkY4sE7EmvcCyf9Q1mofpt2qGA3J2EbLWRN+e12w== X-Received: by 2002:a17:902:c401:b0:19a:9642:dee8 with SMTP id k1-20020a170902c40100b0019a9642dee8mr2368407plk.0.1676651407985; Fri, 17 Feb 2023 08:30:07 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id h12-20020a170902eecc00b0019a926e47a8sm3341596plb.176.2023.02.17.08.30.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 08:30:07 -0800 (PST) Date: Fri, 17 Feb 2023 08:30:06 -0800 From: Stephen Hemminger To: Ed Czeck Cc: dev@dpdk.org, ferruh.yigit@amd.com, John Miller , Shepard Siegel , Anatoly Burakov Subject: Re: [PATCH 1/3] net/ark: support secondary process Message-ID: <20230217083006.7e9c1a06@hermes.local> In-Reply-To: <20230217154759.2484937-1-ed.czeck@atomicrules.com> References: <20230217154759.2484937-1-ed.czeck@atomicrules.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 Fri, 17 Feb 2023 10:47:56 -0500 Ed Czeck wrote: > diff --git a/drivers/net/ark/ark_ethdev.c b/drivers/net/ark/ark_ethdev.c > index b2995427c8..f96722551e 100644 > --- a/drivers/net/ark/ark_ethdev.c > +++ b/drivers/net/ark/ark_ethdev.c > @@ -147,6 +147,9 @@ eth_ark_pci_probe(struct rte_pci_driver *pci_drv __rte_unused, > struct rte_eth_dev *eth_dev; > int ret; > > + if (rte_eal_process_type() == RTE_PROC_SECONDARY) > + fprintf(stderr, "ARK probed by secondary process\n"); Use standard logging for error messages please. ARK_PMD_LOG(DEBUG, "Secondary process probed\n");