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 71475A034C for ; Wed, 31 Aug 2022 23:00:10 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EEA4040395; Wed, 31 Aug 2022 23:00:09 +0200 (CEST) Received: from mail-vs1-f50.google.com (mail-vs1-f50.google.com [209.85.217.50]) by mails.dpdk.org (Postfix) with ESMTP id 11F1840143 for ; Wed, 31 Aug 2022 23:00:07 +0200 (CEST) Received: by mail-vs1-f50.google.com with SMTP id 190so15797645vsz.7 for ; Wed, 31 Aug 2022 14:00:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=argonnetech.net; s=google; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date; bh=tJe2FT8RHAKk+KojUZn+yk3gzeH4n5Ej3vuRwR2c0tI=; b=IS4MK8cx323Iqq6PKDyLA3Ki8Y0WJuYcSKY0n8OC6sIBXLg5TDEPfuf9Xc8jM1X2U+ dvXOzO0Huqo9Q9X4fLqAZzoKmVwbCTEfJEIdse+8CC3KjogBLNlTrLGr09uf8UxURXa0 dXDCcSPIiwMiqHmdzUQHgO/or5wlYLHolitE6h+F8DVSt1EhyHxgO8Bc83UxKIpnWBZw ygvGCzIlzr5OAs8JrU5LKnvGaH1BH1el38Q5hl9gDZjvqnf2AWAU5lizSaoLZmpsjHlH 8KH1D1olcii5fgDkaIKtT9weB/2xirSOS03hDqY19yLU6jhSL18GtJ5vZDxxuftUcSO+ GLlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date; bh=tJe2FT8RHAKk+KojUZn+yk3gzeH4n5Ej3vuRwR2c0tI=; b=2E9QqqO0v6cFnOroutGYpPTHbIpy9ECqD4LZYysY4GzTAa49L98SIW0sjg4D63Csjc pNUtEgRInzmZBpieb1DQhYvlZDdhRWvfNjZoPjD7V9iSlOSpTFugq8dKQhYHOlpcB+Jp Xeu7zur0DFfzfElIO+vJHjkBUXM7qOzqYYdasvW/flDoFdqong+GmNuOnrIwaq5oZBiU dun0l5J1Yd5fetO/cDWi60s1NKZ5yRu9g4OqjbGCyhmI/NtYyPivjkL1n7Ka9cjQkiVd MTq56vAYhijIs+Aj02qEa1Ek255NPRDkfvPIYFXdcsXTMst4ix/8Zfj+vX/Mjb813Udz n17g== X-Gm-Message-State: ACgBeo3YKIs83c1tZ7PiBYlgqeFZ6H131g0Gr94UYGSJkb2/eQTX0Dop 7s8jJ8C1U6hsGjieSl52XF2a57hdmIqukm+ynr+GpLRvvc2Nv859 X-Google-Smtp-Source: AA6agR5Pzc/jCUbCCnbjT527QdVmrnlukL9IaVDxNME9mltyWZ6EEjUqftikzXhPzbabjTHjhtSYmVV60wHhuW2cLrs= X-Received: by 2002:a67:ead1:0:b0:390:f875:817 with SMTP id s17-20020a67ead1000000b00390f8750817mr3762602vso.72.1661979607138; Wed, 31 Aug 2022 14:00:07 -0700 (PDT) MIME-Version: 1.0 From: Anna Tauzzi Date: Wed, 31 Aug 2022 22:59:56 +0200 Message-ID: Subject: Initializing and starting port on primary but transmitting on secondary I get port not ready To: users@dpdk.org Content-Type: multipart/alternative; boundary="0000000000001b939005e78fc8be" 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 --0000000000001b939005e78fc8be Content-Type: text/plain; charset="UTF-8" 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? --0000000000001b939005e78fc8be Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I initialize a port with the following methods on a primar= y 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, .... );
=C2= =A0
rte_eth_tx_queue_setup(port_id, ... );

rte_eth_dev_start(port= _id ... );



Then = I use the=C2=A0rte_eth_tx_burst(port_id) in the secondary process but I get= this message:

called tx_pkt_burst for not ready p= ort 0=C2=A0

Is this expected?
--0000000000001b939005e78fc8be--