Re: [dpdk-dev] [PATCH v4 2/2] event/sw: support device stop flush callback

2018-04-02 Thread Jerin Jacob
-Original Message- > Date: Mon, 2 Apr 2018 15:50:42 + > From: "Eads, Gage" > To: Jerin Jacob > CC: "Van Haaren, Harry" , "dev@dpdk.org" > , "hemant.agra...@nxp.com" , > "Richardson, Bruce" , > "santosh.shu...@caviumnetworks.com" , > "nipun.gu...@nxp.com" > Subject: RE: [PATCH v4

Re: [dpdk-dev] [PATCH v4 2/2] event/sw: support device stop flush callback

2018-04-02 Thread Eads, Gage
If it's ok with you, I'll resubmit these two patches separately. The sw implementation has some unresolved race conditions with the scheduler service that may take some time to fix, but this shouldn't block the first patch. That patch needs a fix too (v4 includes a now-incorrect comment about st

Re: [dpdk-dev] [PATCH v4 2/2] event/sw: support device stop flush callback

2018-04-02 Thread Jerin Jacob
> > [Update: Ah I see you do this below already. Still, better check twice I > > think, the > > data path isn't running here anyway in case future me decides to call > > sw_flush_iq() without performing the check] > > Agreed, will fix in v5. Gage, Could please send the v5 so that I can include i

Re: [dpdk-dev] [PATCH v4 2/2] event/sw: support device stop flush callback

2018-03-26 Thread Eads, Gage
> -Original Message- > From: Van Haaren, Harry > Sent: Friday, March 23, 2018 12:06 PM > To: Eads, Gage ; dev@dpdk.org > Cc: jerin.ja...@caviumnetworks.com; hemant.agra...@nxp.com; Richardson, > Bruce ; santosh.shu...@caviumnetworks.com; > nipun.gu...@nxp.com > Subject: RE: [PATCH v4 2/2]

Re: [dpdk-dev] [PATCH v4 2/2] event/sw: support device stop flush callback

2018-03-23 Thread Van Haaren, Harry
> From: Eads, Gage > Sent: Tuesday, March 20, 2018 2:13 PM > To: dev@dpdk.org > Cc: jerin.ja...@caviumnetworks.com; Van Haaren, Harry > ; hemant.agra...@nxp.com; Richardson, Bruce > ; santosh.shu...@caviumnetworks.com; > nipun.gu...@nxp.com > Subject: [PATCH v4 2/2] event/sw: support device stop fl

[dpdk-dev] [PATCH v4 2/2] event/sw: support device stop flush callback

2018-03-20 Thread Gage Eads
This commit also adds a flush callback test to the sw eventdev's selftest suite. Signed-off-by: Gage Eads --- drivers/event/sw/sw_evdev.c | 25 ++- drivers/event/sw/sw_evdev_selftest.c | 80 +++- 2 files changed, 102 insertions(+), 3 deletions(-)