DPDK usage discussions
 help / color / mirror / Atom feed
* DPDK Event Dev Queue Enqueue failure observed
@ 2023-04-28 12:36 Hari Haran
  0 siblings, 0 replies; only message in thread
From: Hari Haran @ 2023-04-28 12:36 UTC (permalink / raw)
  To: users

[-- Attachment #1: Type: text/plain, Size: 3163 bytes --]

In Data Application single Process used, not multi process case.

During posting packets from one thread to another thread(both threads are
in different cores), we have used DPDK Event Dev Queue.

Observed Event Dev Queue Enqueue failure. Cross checked the EvtDevQ stats,
it showed packets are in Inflight mode, not posted to Queue it seems and
enqueue failed and not recovered afterwards.
Also schedule calls happened multiple times.

Note: Receiver thread is not in tight loop

Event Enqueue function: rte_event_enqueue_burst()

Schedule call function: rte_service_run_iter_on_app_lcore()

How can I fix it? Any help is appreciated.

Port 0 and Queue 0 Used in this case.
Dev id: 0

Required Logs information below:

*EAL Arguments used:*

ArgCnt 0 Value Appuserplane
ArgCnt 1 Value -l 93,38,94,39
ArgCnt 2 Value -n 2
ArgCnt 3 Value --main-lcore=93

*EAL prints during Init:*

EAL: Detected 112 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: No available hugepages reported in hugepages-2048kB
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: No legacy callbacks, legacy socket not created


*Event Dev Stats:*

Dev=0 Port=1EventDev todo-fix-name: ports 4, qids 3
     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
   Port 3  (SingleCons)
     rx   0  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
   Queue 1 (Atomic)
     rx   0  drop 0  tx   0
     Per Port Stats:
       Port 0: Pkts: 0   Flows: 0
       Port 1: Pkts: 0   Flows: 0
       Port 2: Pkts: 0   Flows: 0
       Port 3: Pkts: 0   Flows: 0
     -- iqs empty --
   Queue 2 (Directed)
     rx   0  drop 0  tx   0
     Per Port Stats:
       Port 0: Pkts: 0   Flows: 0
       Port 1: Pkts: 0   Flows: 0
       Port 2: Pkts: 0   Flows: 0
       Port 3: Pkts: 0   Flows: 0
     -- iqs empty --

Regards,
Hariharan

[-- Attachment #2: Type: text/html, Size: 3906 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-04-28 12:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-28 12:36 DPDK Event Dev Queue Enqueue failure observed Hari Haran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).