vCGNAPT: correcting to use default rte_ring_dequeue 23/35723/4
authorAnand B Jyoti <anand.b.jyoti@intel.com>
Fri, 2 Jun 2017 05:07:48 +0000 (10:37 +0530)
committerAnand B Jyoti <anand.b.jyoti@intel.com>
Tue, 27 Jun 2017 03:29:14 +0000 (08:59 +0530)
commit56400cedab3a066b10401f676a8ee86c2463ff53
treef74746192d89478337bc94ce0fbfbe10a177dc53
parenta25ebbda95517a2eddb1c8291c258e8e4f167af7
vCGNAPT: correcting to use default rte_ring_dequeue

JIRA: SAMPLEVNF-19

The rte_ring_sc_dequeue returns ENOENT in DPDK16.04 while ENOBUFS in
DPDK17.05. This leads to error in return value checking and mis behaviour.

Using of rte_ring_sc_dequeue() to be avoided to use the default
configuration as set during the creation of the queue as per the
DPDK API documentation. Similarly corrected for mp_dequeue as well.

Change-Id: Iacee1349b26d6ab432be891fad12313a6d68ca4d
Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
VNFs/vCGNAPT/pipeline/pipeline_timer_be.c