<div dir="ltr">In Data Application single Process used, not multi process case.<br><br>During posting packets from one thread to another thread(both threads are in different cores), we have used DPDK Event Dev Queue.<br><br>After process restart, observed Event Dev Queue Enqueue failure while enqueue the packets
rte_event_enqueue_burst() . 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.<div><br>Also schedule calls happened multiple times.<br><br>Note: Receiver thread is not in tight loop<br><br>Event Enqueue function: rte_event_enqueue_burst() - This return enqueue failure<br> <br>Schedule call function: rte_service_run_iter_on_app_lcore()<br><br>How can I fix it? Any help is appreciated.<br><br>DevId 0<div>Tx Port 2</div><div>RX port 0 </div><div>Queue 0 Used in this case.<div><br>Required Logs information below:</div></div><div><br></div><div><div><b>EAL Arguments used:</b><br><br>ArgCnt 0 Value Appuserplane<br>ArgCnt 1 Value -l 93,38,94,39<br>ArgCnt 2 Value -n 2<br>ArgCnt 3 Value --main-lcore=93<br><br><b>EAL prints during Init:</b><br><br>EAL: Detected 112 lcore(s)<br>EAL: Detected 2 NUMA nodes<br>EAL: Detected static linkage of DPDK<br>EAL: Multi-process socket /var/run/dpdk/rte/mp_socket<br>EAL: Selected IOVA mode 'VA'<br>EAL: No available hugepages reported in hugepages-2048kB<br>EAL: Probing VFIO support...<br>EAL: VFIO support initialized<br>EAL: No legacy callbacks, legacy socket not created<br><br></div><div><br></div><div><b>Event Dev Stats:</b><br><br>Dev=0 Port=1EventDev todo-fix-name: ports 4, qids 3<br> rx 32768<br> drop 0<br> tx 4096<br> sched calls: 628945658<br> sched cq/qid call: 628964843<br> sched no IQ enq: 628926401<br> sched no CQ enq: 628942982<br> inflight 32768, credits: 0<br> Port 0<br> rx 0 drop 0 tx 4096 inflight 4096<br> Max New: 32768 Avg cycles PP: 0 Credits: 0<br> Receive burst distribution:<br> 0:100% 1-4:0.00% 5-8:0.00% 9-12:0.00%<br> rx ring used: 0 free: 4096<br> cq ring used: 0 free: 128<br> Port 1<br> rx 0 drop 0 tx 0 inflight 0<br> Max New: 32768 Avg cycles PP: 0 Credits: 0<br> Receive burst distribution:<br> 0:100%<br> rx ring used: 0 free: 4096<br> cq ring used: 0 free: 128<br> Port 2<br> rx 32768 drop 0 tx 0 inflight 0<br> Max New: 32768 Avg cycles PP: 0 Credits: 0<br> Receive burst distribution:<br> 0:-nan%<br> rx ring used: 0 free: 4096<br> cq ring used: 0 free: 128<br> Port 3 (SingleCons)<br> rx 0 drop 0 tx 0 inflight 0<br> Max New: 32768 Avg cycles PP: 0 Credits: 0<br> Receive burst distribution:<br> 0:-nan%<br> rx ring used: 0 free: 4096<br> cq ring used: 0 free: 128<br> Queue 0 (Atomic)<br> rx 32768 drop 0 tx 4096<br> Per Port Stats:<br> Port 0: Pkts: 4096 Flows: 1<br> Port 1: Pkts: 0 Flows: 0<br> Port 2: Pkts: 0 Flows: 0<br> Port 3: Pkts: 0 Flows: 0<br> iq 0: Used 28672<br> Queue 1 (Atomic)<br> rx 0 drop 0 tx 0<br> Per Port Stats:<br> Port 0: Pkts: 0 Flows: 0<br> Port 1: Pkts: 0 Flows: 0<br> Port 2: Pkts: 0 Flows: 0<br> Port 3: Pkts: 0 Flows: 0<br> -- iqs empty --<br> Queue 2 (Directed)<br> rx 0 drop 0 tx 0<br> Per Port Stats:<br> Port 0: Pkts: 0 Flows: 0<br> Port 1: Pkts: 0 Flows: 0<br> Port 2: Pkts: 0 Flows: 0<br> Port 3: Pkts: 0 Flows: 0<br> -- iqs empty --</div></div></div></div>