[dpdk-dev] [PATCH] eventdev: Add rte_errno return values to the enqueue and dequeue functions

2017-02-10 Thread Gage Eads
This change allows user software to differentiate between an invalid argument (such as an invalid queue_id or sched_type in an enqueued event) and backpressure from the event device. The port and device ID checks are placed in RTE_LIBRTE_EVENTDEV_DEBUG header guards to avoid the performance hit in

Re: [dpdk-dev] [PATCH] eventdev: Add rte_errno return values to the enqueue and dequeue functions

2017-02-13 Thread Bruce Richardson
On Fri, Feb 10, 2017 at 03:02:21PM -0600, Gage Eads wrote: > This change allows user software to differentiate between an invalid argument > (such as an invalid queue_id or sched_type in an enqueued event) and > backpressure from the event device. > > The port and device ID checks are placed in RT

Re: [dpdk-dev] [PATCH] eventdev: Add rte_errno return values to the enqueue and dequeue functions

2017-02-13 Thread Jerin Jacob
On Mon, Feb 13, 2017 at 10:38:55AM +, Bruce Richardson wrote: > On Fri, Feb 10, 2017 at 03:02:21PM -0600, Gage Eads wrote: > > This change allows user software to differentiate between an invalid > > argument > > (such as an invalid queue_id or sched_type in an enqueued event) and > > backpres

Re: [dpdk-dev] [PATCH] eventdev: Add rte_errno return values to the enqueue and dequeue functions

2017-02-13 Thread Bruce Richardson
On Mon, Feb 13, 2017 at 05:18:11PM +0530, Jerin Jacob wrote: > On Mon, Feb 13, 2017 at 10:38:55AM +, Bruce Richardson wrote: > > On Fri, Feb 10, 2017 at 03:02:21PM -0600, Gage Eads wrote: > > > This change allows user software to differentiate between an invalid > > > argument > > > (such as a

Re: [dpdk-dev] [PATCH] eventdev: Add rte_errno return values to the enqueue and dequeue functions

2017-02-13 Thread Eads, Gage
> -Original Message- > From: Richardson, Bruce > Sent: Monday, February 13, 2017 6:08 AM > To: Jerin Jacob > Cc: Eads, Gage ; dev@dpdk.org; > hemant.agra...@nxp.com; Van Haaren, Harry ; > nipun.gu...@nxp.com > Subject: Re: [PATCH] eventdev: Add rte_errno return values to the enqu

Re: [dpdk-dev] [PATCH] eventdev: Add rte_errno return values to the enqueue and dequeue functions

2017-02-13 Thread Jerin Jacob
On Fri, Feb 10, 2017 at 03:02:21PM -0600, Gage Eads wrote: > This change allows user software to differentiate between an invalid argument > (such as an invalid queue_id or sched_type in an enqueued event) and > backpressure from the event device. > > The port and device ID checks are placed in RT

Re: [dpdk-dev] [PATCH] eventdev: Add rte_errno return values to the enqueue and dequeue functions

2017-02-14 Thread Eads, Gage
> -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Monday, February 13, 2017 10:10 PM > To: Eads, Gage > Cc: dev@dpdk.org; Richardson, Bruce ; > hemant.agra...@nxp.com; Van Haaren, Harry ; > nipun.gu...@nxp.com > Subject: Re: [PATCH] eventdev