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 2B94A42EB8 for ; Wed, 19 Jul 2023 14:39:29 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8CC4540DFD; Wed, 19 Jul 2023 14:39:28 +0200 (CEST) Received: from mail-yb1-f172.google.com (mail-yb1-f172.google.com [209.85.219.172]) by mails.dpdk.org (Postfix) with ESMTP id 52C1640A80 for ; Wed, 19 Jul 2023 14:39:27 +0200 (CEST) Received: by mail-yb1-f172.google.com with SMTP id 3f1490d57ef6-c2cf29195f8so6858366276.1 for ; Wed, 19 Jul 2023 05:39:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689770366; x=1692362366; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=fjIuhm7gyycC9M3kTlXfxZeyQNT+OHAgfUhwB1z7eL8=; b=f/97hQEco2g3Y31SZE16f4H078y1a/KU7JIzfhC7SI4Ra4RhoPm5E4eyM1Rx2tV0x+ 5VFsw1+UJTzX7ZVKDF+uEuIK4UYVt/R5uY23gtFCdDOuPZj/4mqqOg6L6f/fw0YGkCwC TXdWAK55ZLqiqB6u3rDt0y40VYoTEOrJrEFcpNVPPuI1N0rkuik7xD7jGvrVoW0fRUTe 7t4ppL/9LzslxUkYobOI5CxLqlEDDYmnMGGG+vNO5bQAUudWKG4f/a+vzQIZJuDtoGGf 406G3mcuIraEMbGh34XHVxCSz5qao3jAgYNHaqN4XdhA7imkHze7wNSiTmtkYGEEMwJe mwBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689770366; x=1692362366; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=fjIuhm7gyycC9M3kTlXfxZeyQNT+OHAgfUhwB1z7eL8=; b=eLpH/6CdWs7PmswF2FN5WRi2Fk4RZWOErSj/NZGfM04aF54Cv7M2s74R1hNREvmhxy 6AdnLmkNmTrpIEsrsoSHgQq5hedQ3m0qlrpfS2JV8rvURDNyyzvFXyjE87ufoII5otAp GLwMTtKomzQ/q3yp8M9vCh2fp6mt3VoNLE1zRqrLexWv4ajIdl9znKsBhXldz8AU+uI1 IjraG2KLwSpOEsZU+bjH6jV3EIBR3Agz8vclWITLudoSCYG795BMtkcnqInp5EopjjbV HbXjIkjKFaHqfWgnD7lRe35rsPaSdvLFUr46J0ZwqYOX+390j8+3EsuwlAamn7c85CZm +T5Q== X-Gm-Message-State: ABy/qLaY41QKyLqmaGgT2Jfh3hz2ztCHllAMrAx7Vkx4zZpy/pxXuiFQ mHm7/ewKa0MeghLNrO+qkYK57RXZrqb1n4Mg0I3UiUsA+Xg= X-Google-Smtp-Source: APBJJlHJ7tqzO9engsrWe9mBMTxqFAmX8dE/rhvE18vgS1sMGnH+Dm7sNQszzX1jDrV6DS2HbwpFztZMoF3ifBiuMck= X-Received: by 2002:a25:3c86:0:b0:cd1:444f:e9c with SMTP id j128-20020a253c86000000b00cd1444f0e9cmr1877578yba.46.1689770366292; Wed, 19 Jul 2023 05:39:26 -0700 (PDT) MIME-Version: 1.0 From: Hari Haran Date: Wed, 19 Jul 2023 18:09:15 +0530 Message-ID: Subject: Inflight value shown invalid in Event Dev Queue To: users@dpdk.org Content-Type: multipart/alternative; boundary="0000000000006f579c0600d6522b" 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 --0000000000006f579c0600d6522b Content-Type: text/plain; charset="UTF-8" Hi All, Once packets dequeued from port 0, still inflight stats shown same as dequeued count. After that, enqueue failure happens for port 2 from another core due to it reaches Max Enqueue depth . *Port 0 Stats:* Below case, port 0 dequeued 4096 packets and still inflight showed the same value. Port 0 rx 0 drop 0 tx 4096 *inflight 4096 * *Full Stats:* Dev=0 Port=1EventDev todo-fix-name: ports 3, qids 1 rx 32768 drop 0 tx 4096 sched calls: 628945658 sched cq/qid call: 628964843 sched no IQ enq: 628926401 sched no CQ enq: 628942982 inflight 32768, credits: 0 *Port 0* rx 0 drop 0 tx 4096 inflight 4096 Max New: 32768 Avg cycles PP: 0 Credits: 0 Receive burst distribution: 0:100% 1-4:0.00% 5-8:0.00% 9-12:0.00% rx ring used: 0 free: 4096 cq ring used: 0 free: 128 Port 1 rx 0 drop 0 tx 0 inflight 0 Max New: 32768 Avg cycles PP: 0 Credits: 0 Receive burst distribution: 0:100% rx ring used: 0 free: 4096 cq ring used: 0 free: 128 Port 2 rx 32768 drop 0 tx 0 inflight 0 Max New: 32768 Avg cycles PP: 0 Credits: 0 Receive burst distribution: 0:-nan% rx ring used: 0 free: 4096 cq ring used: 0 free: 128 *Queue 0 (Atomic) rx 32768 drop 0 tx 4096* Per Port Stats: * Port 0: Pkts: 4096 Flows: 1* Port 1: Pkts: 0 Flows: 0 Port 2: Pkts: 0 Flows: 0 Port 3: Pkts: 0 Flows: 0 iq 0: Used 28672 This issue will be resolved once system level restart is done. Kindly give insight on this issue, if you found any clues. TIA. Regards Hariharan --0000000000006f579c0600d6522b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hi All,

Once packets dequeued from = port 0, still inflight stats shown same as dequeued count.
After that, = enqueue failure happens for port 2 from another core due to it reaches=C2= =A0Max Enqueue depth .

Port 0 Stats:

Below case, port = 0 dequeued 4096 packets and still inflight showed the same value.
Port= 0
=C2=A0 rx=C2=A0=C2=A0 0=C2=A0 drop 0=C2=A0 tx=C2=A0=C2=A0 4096= =C2=A0=C2=A0 inflight 4096=C2=A0=C2=A0

Full Stats:

Dev=3D0 Port=3D1EventDev todo-fix-name: ports 3, qids 1
rx=C2= =A0=C2=A0 32768
drop 0
tx=C2=A0=C2=A0 4096
sched calls: 628945658<= br>sched cq/qid call: 628964843
sched no IQ enq: 628926401
sched no C= Q enq: 628942982
inflight 32768, credits: 0

Port 0
=C2= =A0 rx=C2=A0=C2=A0 0=C2=A0 drop 0=C2=A0 tx=C2=A0=C2=A0 4096=C2=A0=C2=A0 inf= light 4096
=C2=A0 Max New: 32768=C2=A0 Avg cycles PP: 0=C2=A0=C2=A0=C2= =A0 Credits: 0
=C2=A0 Receive burst distribution:
=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 0:100% 1-4:0.00% 5-8:0.00% 9-12:0.00%
=C2=A0 rx ring used:= =C2=A0=C2=A0=C2=A0 0 free: 4096
=C2=A0 cq ring used:=C2=A0=C2=A0=C2=A0 0= free:=C2=A0 128
Port 1
=C2=A0 rx=C2=A0=C2=A0 0=C2=A0 drop 0=C2=A0 tx= =C2=A0=C2=A0 0=C2=A0 inflight 0
=C2=A0 Max New: 32768=C2=A0 Avg cycles P= P: 0=C2=A0=C2=A0=C2=A0 Credits: 0
=C2=A0 Receive burst distribution:
= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0:100%
=C2=A0 rx ring used:=C2=A0=C2=A0= =C2=A0 0 free: 4096
=C2=A0 cq ring used:=C2=A0=C2=A0=C2=A0 0 free:=C2=A0= 128
Port 2
=C2=A0 rx=C2=A0=C2=A0 32768=C2=A0 drop 0=C2=A0 tx=C2=A0= =C2=A0 0=C2=A0 inflight 0
=C2=A0 Max New: 32768=C2=A0 Avg cycles PP: 0= =C2=A0=C2=A0=C2=A0 Credits: 0
=C2=A0 Receive burst distribution:
=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 0:-nan%
=C2=A0 rx ring used:=C2=A0=C2=A0=C2= =A0 0 free: 4096
=C2=A0 cq ring used:=C2=A0=C2=A0=C2=A0 0 free:=C2=A0 12= 8

Queue 0 (Atomic)
=C2=A0 rx=C2=A0=C2=A0 32768=C2=A0 drop 0=C2= =A0 tx=C2=A0=C2=A0 4096

=C2=A0 Per Port Stats:
=C2=A0=C2=A0=C2= =A0 Port 0: Pkts: 4096=C2=A0=C2=A0=C2=A0 Flows: 1
=C2=A0=C2=A0=C2=A0= Port 1: Pkts: 0=C2=A0=C2=A0 Flows: 0
=C2=A0=C2=A0=C2=A0 Port 2: Pkts: 0= =C2=A0=C2=A0 Flows: 0
=C2=A0=C2=A0=C2=A0 Port 3: Pkts: 0=C2=A0=C2=A0 Flo= ws: 0
=C2=A0 iq 0: Used 28672

This issue will be resol= ved once system level restart is done.
Kindly give insight on thi= s issue, if you found any clues.=C2=A0
TIA.

<= div>Regards
Hariharan
--0000000000006f579c0600d6522b--