Re: [PATCH] ethdev: recommend against using locks in event callbacks

2024-02-09 Thread Ferruh Yigit
> Rybchenko >> Subject: [PATCH] ethdev: recommend against using locks in event callbacks >> >> As described in a recent bugzilla opened against the net/iavf driver, a >> driver >> may call a event callback from other calls of the ethdev API. >> >> No

RE: [PATCH] ethdev: recommend against using locks in event callbacks

2024-02-09 Thread Dariusz Sosnowski
> -Original Message- > From: David Marchand > Sent: Thursday, February 1, 2024 09:43 > To: dev@dpdk.org > Cc: ktray...@redhat.com; NBU-Contact-Thomas Monjalon (EXTERNAL) > ; Ferruh Yigit ; Andrew > Rybchenko > Subject: [PATCH] ethdev: recommend against using

Re: [PATCH] ethdev: recommend against using locks in event callbacks

2024-02-07 Thread Kevin Traynor
On 01/02/2024 08:43, David Marchand wrote: > As described in a recent bugzilla opened against the net/iavf driver, > a driver may call a event callback from other calls of the ethdev API. > > Nothing guarantees in the ethdev API against such behavior. > > Add a notice against using locks in those

Re: [PATCH] ethdev: recommend against using locks in event callbacks

2024-02-07 Thread Kevin Traynor
On 06/02/2024 20:33, Ferruh Yigit wrote: > On 2/1/2024 10:08 AM, Kevin Traynor wrote: >> On 01/02/2024 08:43, David Marchand wrote: >>> As described in a recent bugzilla opened against the net/iavf driver, >>> a driver may call a event callback from other calls of the ethdev API. >>> >>> Nothing gu

Re: [PATCH] ethdev: recommend against using locks in event callbacks

2024-02-06 Thread Ferruh Yigit
On 2/1/2024 10:08 AM, Kevin Traynor wrote: > On 01/02/2024 08:43, David Marchand wrote: >> As described in a recent bugzilla opened against the net/iavf driver, >> a driver may call a event callback from other calls of the ethdev API. >> >> Nothing guarantees in the ethdev API against such behavior

Re: [PATCH] ethdev: recommend against using locks in event callbacks

2024-02-06 Thread Ferruh Yigit
On 2/1/2024 8:43 AM, David Marchand wrote: > As described in a recent bugzilla opened against the net/iavf driver, > a driver may call a event callback from other calls of the ethdev API. > > Nothing guarantees in the ethdev API against such behavior. > > Add a notice against using locks in those

Re: [PATCH] ethdev: recommend against using locks in event callbacks

2024-02-01 Thread Kevin Traynor
On 01/02/2024 08:43, David Marchand wrote: > As described in a recent bugzilla opened against the net/iavf driver, > a driver may call a event callback from other calls of the ethdev API. > > Nothing guarantees in the ethdev API against such behavior. > > Add a notice against using locks in those

[PATCH] ethdev: recommend against using locks in event callbacks

2024-02-01 Thread David Marchand
As described in a recent bugzilla opened against the net/iavf driver, a driver may call a event callback from other calls of the ethdev API. Nothing guarantees in the ethdev API against such behavior. Add a notice against using locks in those callbacks. Bugzilla ID: 1337 Signed-off-by: David Ma