Re: [PATCH v4 7/7] bbdev: add a lock option for enqueue/dequeue operation

2022-07-07 Thread Tom Rix
On 7/6/22 1:21 PM, Chautru, Nicolas wrote: Hi Stephen, Tom., -Original Message- From: Stephen Hemminger On Wed, 6 Jul 2022 12:01:19 -0700 Tom Rix wrote: On 7/5/22 5:23 PM, Nicolas Chautru wrote: Locking is not explicitly required but can be valuable in case the application canno

RE: [PATCH v4 7/7] bbdev: add a lock option for enqueue/dequeue operation

2022-07-06 Thread Chautru, Nicolas
Hi Stephen, Tom., > -Original Message- > From: Stephen Hemminger > > On Wed, 6 Jul 2022 12:01:19 -0700 > Tom Rix wrote: > > > On 7/5/22 5:23 PM, Nicolas Chautru wrote: > > > Locking is not explicitly required but can be valuable in case the > > > application cannot guarantee to be thr

Re: [PATCH v4 7/7] bbdev: add a lock option for enqueue/dequeue operation

2022-07-06 Thread Stephen Hemminger
On Wed, 6 Jul 2022 12:01:19 -0700 Tom Rix wrote: > On 7/5/22 5:23 PM, Nicolas Chautru wrote: > > Locking is not explicitly required but can be valuable > > in case the application cannot guarantee to be thread-safe, > > or specifically is at risk of using the same queue from multiple threads. > >

Re: [PATCH v4 7/7] bbdev: add a lock option for enqueue/dequeue operation

2022-07-06 Thread Tom Rix
On 7/5/22 5:23 PM, Nicolas Chautru wrote: Locking is not explicitly required but can be valuable in case the application cannot guarantee to be thread-safe, or specifically is at risk of using the same queue from multiple threads. This is an option for PMD to use this. Signed-off-by: Nicolas C