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 8E8B043E65 for ; Tue, 16 Apr 2024 09:46:59 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 29C974029E; Tue, 16 Apr 2024 09:46:58 +0200 (CEST) Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) by mails.dpdk.org (Postfix) with ESMTP id 317B540293 for ; Tue, 16 Apr 2024 09:46:57 +0200 (CEST) Received: by mail-lj1-f170.google.com with SMTP id 38308e7fff4ca-2da0f8f7b24so31130261fa.1 for ; Tue, 16 Apr 2024 00:46:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713253616; x=1713858416; darn=dpdk.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=oDoyieXK7NE1bGRJoBYVDX+Sm4mTHIs3NIadCR0wmYI=; b=LgbP4r/Mt8DTDEg9JDfLjDbtdji3GOZ+kQjknI1Qfj+JHrdlnnhYnNDQxFqSRBZKHU 5XMeVCSJPKuTfJBsO75O6L/3CjMON7a9LMPsl1o5YpwKi6z/iAc1tJyI70zKQVN7ik2y dclILsn1udM79F54/4Alo0ocH2IxACbd/ZRSzicIpIaeoxUvz8Hc3mwzavqZwbBOlfSP SnWIWbBdMBBk6oDBe3aoXjCRlZKXGQhaEUHK1HU/yes0CSHRfQsXhY93dGINAF34slGf +4HqRerWsaas5WBp13ggQ/BRV8oNJN5atfiVzWIrBrmXU+AJGixM4CaIWdFPfLfqT9Il gAFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713253616; x=1713858416; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=oDoyieXK7NE1bGRJoBYVDX+Sm4mTHIs3NIadCR0wmYI=; b=ANHMFk7LpLBgK9VpasBCLjWk4bGrz4Iw8WK9UwjYbEOmegiDB6e6KUNCT8P+ho7/SX WBJcskBfiMViRA6uUzVxfxcn8guQ/0YsTVoP4AKOQHvytMDAhHfxsHxVgeKw6UdSoWD8 /7mINimWDzix0soExysoj/rW9wA9pNQPJ4t8OLTNAsqip15r8Hqo5ftJSx9JiwZZbQn1 VbIYamayjvaYkDuIczRmwFR9bGeq8O7axHrGFUEcUxEqFTMuI9g6SShr2isAufuYD8Cx N3b/Zpe1MLRQgzMnHhG7iwnxpy5seAGbzlrbufVIhb0jjYhnY0Wn8/8C7ZHs55Og2yyz Mdmg== X-Gm-Message-State: AOJu0YztgTe7oiP93GBVrDO74YnL4jPZYqNpZNzUjM6vcliing5G3LKs XAixRcR6NQZINH/ISm67ajHrk8ysLsNdXXLrGvu9jHMtjSkAlbVqCZjzqTVYVg9KrBLN58O/cxY ESOji/563YlPwgejpbX3LXY5uAkjKtQ== X-Google-Smtp-Source: AGHT+IGIvzTCmnaGRHHzh38XI1IvdB1LB0nr/IkJ8Rv2rMaXvZWVfvP80OM7mKRYcVnRCBUElSX8E86aqSslAzLzGKQ= X-Received: by 2002:a2e:730c:0:b0:2da:be98:83e3 with SMTP id o12-20020a2e730c000000b002dabe9883e3mr360560ljc.21.1713253616018; Tue, 16 Apr 2024 00:46:56 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: hao wang Date: Tue, 16 Apr 2024 15:46:44 +0800 Message-ID: Subject: Re: cannot trx when use testpmd To: users@dpdk.org, Ferruh Yigit , david.marchand@redhat.com Content-Type: multipart/alternative; boundary="000000000000316bd3061631f1cd" 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 --000000000000316bd3061631f1cd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi everyone=EF=BC=8C I have found the root cause. In DPDK 23.11, the code below is removed. if (stream_init !=3D NULL) { -- if (rte_eal_process_type() =3D=3D RTE_PROC_SECONDARY) update_queue_state(); for (i =3D 0; i < cur_fwd_config.nb_fwd_streams; i++) stream_init(fwd_streams[i]); } Thank you very much. hao wang =E4=BA=8E2024=E5=B9=B44=E6=9C=8812=E6=97= =A5=E5=91=A8=E4=BA=94 15:51=E5=86=99=E9=81=93=EF=BC=9A > I have a pmd that I am upstreaming to DPDK and currently testing. When I > use testpmd to test my pmd, I found that my pmd could trx in DPDK 23.07, > but it cannot in DPDK 23.11. After comparing the atlantic pmd between DPD= K > 23.07 and 23.11, I see nearly no changes. I see the testpmd difference > between DPDK 23.07 and DPDK 23.11 and think these changes may not cause t= he > problem. > > But when I use pktgen to test the pmd, it's ok. > > Any suggestions? > > Thank you very much! > --000000000000316bd3061631f1cd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi everyone=EF=BC=8C

I= have found the root cause. In DPDK 23.11, the code below is removed.
=
=C2=A0
if (stream_init !=3D NULL) {
--=C2=A0 =C2=A0 =C2= =A0=C2=A0if (rte_eal_process_type() =3D=3D RTE_PROC= _SECONDARY)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 update_queu= e_state();
=C2=A0 =C2=A0 =C2=A0 =C2=A0 for (i =3D 0; i < cur_fwd_conf= ig.nb_fwd_streams; i++)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 stream= _init(fwd_streams[i]);
}

Thank you very mu= ch.

hao wang <imhowardwan= g@gmail.com> =E4=BA=8E2024=E5=B9=B44=E6=9C=8812=E6=97=A5=E5=91=A8=E4= =BA=94 15:51=E5=86=99=E9=81=93=EF=BC=9A
I have a pmd that I am upstreaming= to DPDK and currently testing. When I use testpmd to test my pmd, I found = that my pmd could trx in DPDK 23.07, but it cannot in DPDK 23.11. After com= paring the atlantic pmd between DPDK 23.07 and 23.11, I see nearly no chang= es. I see the testpmd difference between DPDK 23.07 and DPDK 23.11 and thin= k these changes may not cause the problem.

But when I use pktg= en to test the pmd, it's ok.

Any=C2=A0suggesti= ons?

Thank you very much!
--000000000000316bd3061631f1cd--