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.

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.

Also schedule calls happened multiple times.

Note: Receiver thread is not in tight loop

Event Enqueue function: rte_event_enqueue_burst() - This return enqueue
failure

Schedule call function: rte_service_run_iter_on_app_lcore()

How can I fix it? Any help is appreciated.

DevId 0
Tx Port 2
RX port 0
Queue 0 Used in this case.

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 --

Reply via email to