Re: Event device early back-pressure indication

2023-04-27 Thread Mattias Rönnblom
On 2023-04-19 13:06, Jerin Jacob wrote: > On Mon, Apr 17, 2023 at 9:06 PM Mattias Rönnblom > wrote: >> >> On 2023-04-17 14:52, Jerin Jacob wrote: >>> On Thu, Apr 13, 2023 at 12:24 PM Mattias Rönnblom >>> wrote: void rte_event_return_new_credits(...); Thoughts? >>> >>

Re: Event device early back-pressure indication

2023-04-19 Thread Jerin Jacob
On Mon, Apr 17, 2023 at 9:06 PM Mattias Rönnblom wrote: > > On 2023-04-17 14:52, Jerin Jacob wrote: > > On Thu, Apr 13, 2023 at 12:24 PM Mattias Rönnblom > > wrote: > >> > >> > >> void > >> rte_event_return_new_credits(...); > >> > >> Thoughts? > > > > I see the following cons on this approach. >

Re: Event device early back-pressure indication

2023-04-17 Thread Mattias Rönnblom
On 2023-04-17 14:52, Jerin Jacob wrote: > On Thu, Apr 13, 2023 at 12:24 PM Mattias Rönnblom > wrote: >> >> >> void >> rte_event_return_new_credits(...); >> >> Thoughts? > > I see the following cons on this approach. > Does the use case in my original e-mail seem like a reasonable one to you? I

Re: Event device early back-pressure indication

2023-04-17 Thread Jerin Jacob
On Thu, Apr 13, 2023 at 12:24 PM Mattias Rönnblom wrote: > > > void > rte_event_return_new_credits(...); > > Thoughts? I see the following cons on this approach. # Adding multiple APIs in fast path to driver layer may not performance effective solution. # At least for cnxk HW, credits are for de

RE: Event device early back-pressure indication

2023-04-17 Thread Heng Wang
n Cc: timothy.mcdan...@intel.com; Hemant Agrawal ; Harry van Haaren ; dev@dpdk.org; Svante Järvstråt ; Heng Wang ; Stefan Sundkvist ; Peter Nilsson ; Maria Lingemark Subject: Event device early back-pressure indication Hi. Consider this situation: An application EAL thread receives an eve

Event device early back-pressure indication

2023-04-12 Thread Mattias Rönnblom
Hi. Consider this situation: An application EAL thread receives an eventdev event (or some other stimuli), which in turn triggers some action. This action results in a number of new events being prepared, and a number of associated state changes in the application. On attempting to enqueue th