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 C71BBA034C for ; Thu, 1 Sep 2022 03:25:51 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5A8D240684; Thu, 1 Sep 2022 03:25:51 +0200 (CEST) Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by mails.dpdk.org (Postfix) with ESMTP id A0DBD40395 for ; Thu, 1 Sep 2022 03:25:49 +0200 (CEST) Received: by mail-pf1-f171.google.com with SMTP id q15so10737149pfn.11 for ; Wed, 31 Aug 2022 18:25:49 -0700 (PDT) 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; bh=9wUawpJdXgOBu8MybVcaJSRcY//fCC8GT7lv0soQm6c=; b=DsyE6qK10ueOrKdOsLPqleUS4x8okr2XSyZ1x92PFkROCgNwjLPkdthyp9ZpzIN6m6 fuxRXap+I65mInqpio9ttjbXqvf47w0/C0Zzjucinc4Mu10rFCwLIOHR9SJ9CAXZG64z ukkjxSW1/EcZjMy7xN5jWsfpy+6IUfuRmvwETf3hFbhRLYK7Nf/jghL26BdswcD7VZUG vseHMj16FfKx0d2HJWvc0z9R2o4EvJU4rRwL6Y4z8O8fgS3GBA32J+78X3cwG+IDd0YF rpEwaRYReMK0THJC5S0yf6EvG2Dv31OiO0fgQsI91Rkief/qJgPQcRqssN/FeqfwNYBH H+0A== 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; bh=9wUawpJdXgOBu8MybVcaJSRcY//fCC8GT7lv0soQm6c=; b=ExUZ4o3bdYoQ/xOuiL32cZ781JybZK/vlDR/meWjfV0M66b7kBs1SIS2BiZBpFkp4H pwlacQXPvhdDpP8jcyfC1GdE6uo2Czkjh2k0wM6nQ7aOQ6vlic/0kYbn5howv7+6Nwyn XKyV+IgAzmjckM1uXJtwPza2Vn5+gxgHZhKCY+2jIKTbEHCedOegpgqE3y8hA1a1FLs8 koHIahxNH8gp8VGUWpn8ZrUzpqXZo4/QuxO5lsc4U886rwTt/cXA6W3mU5S9WPjicJIv 0R+f0YrEbXm49OnIfpAo+xbLL3ZtVWLmMd9mueYAC/Y+321mFJW8CGpAVryh4P0F3KPy jOvQ== X-Gm-Message-State: ACgBeo3IIjppi7iQhISlyKTni2bhdQBqM0H8gCxS+m/nM7J9wAqbG5Du PPQkQaoAiPj95eokPGvcXtviy//eWl0LkA== X-Google-Smtp-Source: AA6agR6Zs696j3KzsvBN21RKRDW6QplevkQtP5ok3bPmO5eYsrJE+g4udv2wG4rvghi6LMfVmdb86A== X-Received: by 2002:a62:5ac6:0:b0:537:f0fa:4ae1 with SMTP id o189-20020a625ac6000000b00537f0fa4ae1mr23080424pfb.70.1661995548720; Wed, 31 Aug 2022 18:25:48 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id f15-20020a631f0f000000b004161e62a3a5sm3962073pgf.78.2022.08.31.18.25.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Aug 2022 18:25:48 -0700 (PDT) Date: Wed, 31 Aug 2022 18:25:46 -0700 From: Stephen Hemminger To: Anna Tauzzi Cc: users@dpdk.org Subject: Re: Initializing and starting port on primary but transmitting on secondary I get port not ready Message-ID: <20220831182546.228d64a3@hermes.local> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org On Wed, 31 Aug 2022 22:59:56 +0200 Anna Tauzzi wrote: > I initialize a port with the following methods on a primary process: > > rte_dev_probe(vf) > > rte_eth_dev_configure(port_id, ... ); > > rte_eth_dev_adjust_nb_rx_tx_desc(port_id, ... ); > > rte_eth_rx_queue_setup(port_id, .... ); > > rte_eth_tx_queue_setup(port_id, ... ); > > rte_eth_dev_start(port_id ... ); > > > > Then I use the rte_eth_tx_burst(port_id) in the secondary process but I get > this message: > > called tx_pkt_burst for not ready port 0 > > Is this expected? No looks like a device driver bug. Which PMD?