Agreed! Thanks Bill!
From: Bill Fischofer [mailto:bill.fischo...@linaro.org] Sent: Thursday, September 01, 2016 4:57 PM To: Sorin Vultureanu <sorin.vulture...@enea.com> Cc: lng-odp@lists.linaro.org; lng-odp-d...@lists.linaro.org; Mike Holmes <mike.hol...@linaro.org>; Bogdan Pricope <bogdan.pric...@enea.com>; Dan Lilliehorn <dan.lillieh...@enea.com> Subject: Re: [lng-odp-dpdk] option to drop odp_queue_deq internal lock This is a reasonable feature request for Tiger Moth, but I think this is more than a bug-level change for Monarch. On Thu, Sep 1, 2016 at 8:41 AM, Sorin Vultureanu <sorin.vulture...@enea.com<mailto:sorin.vulture...@enea.com>> wrote: Hi, There is a lock on odp_queue_deq(..) I think there should be at least some option to disable the lock on odp_queue_deq(). For example, when I am polling on a queue with a single core it impacts the performance. Lockless design would be even better. " odp_buffer_hdr_t *queue_deq(queue_entry_t *queue) { odp_buffer_hdr_t *buf_hdr; uint32_t i; LOCK(&queue->s.lock); " From ODP-DPDK: commit 7068593f600e2b5a23ee1780d5c722c54e966df1 Kind Regards, Sorin _______________________________________________ lng-odp-dpdk mailing list lng-odp-d...@lists.linaro.org<mailto:lng-odp-d...@lists.linaro.org> https://lists.linaro.org/mailman/listinfo/lng-odp-dpdk