Re: DPDK seqlock

2022-03-24 Thread Mattias Rönnblom
On 2022-03-24 05:52, Honnappa Nagarahalli wrote: > > >> Hi Mattias, >> >>> Would it make sense to have a seqlock implementation in DPDK? > I do not have any issues with adding the seqlock to DPDK. > > However, I am interested in understanding the use case. As I understand, > seqlock is a type of

Re: DPDK seqlock

2022-03-23 Thread Stephen Hemminger
On Thu, 24 Mar 2022 04:52:07 + Honnappa Nagarahalli wrote: > > > > > > Hi Mattias, > > > > > > > > Would it make sense to have a seqlock implementation in DPDK? > I do not have any issues with adding the seqlock to DPDK. > > However, I am interested in understanding the use case. As

RE: DPDK seqlock

2022-03-23 Thread Honnappa Nagarahalli
> > Hi Mattias, > > > > > Would it make sense to have a seqlock implementation in DPDK? I do not have any issues with adding the seqlock to DPDK. However, I am interested in understanding the use case. As I understand, seqlock is a type of reader-writer lock. This means that it is possible th

RE: DPDK seqlock

2022-03-23 Thread Morten Brørup
> From: Mattias Rönnblom [mailto:mattias.ronnb...@ericsson.com] > Sent: Tuesday, 22 March 2022 17.10 > > Hi. > > Would it make sense to have a seqlock implementation in DPDK? Certainly! > > I think so, since it's a very useful synchronization primitive in data > plane applications. Yes, and h

RE: DPDK seqlock

2022-03-22 Thread Ananyev, Konstantin
Hi Mattias, > > Would it make sense to have a seqlock implementation in DPDK? > > I think so, since it's a very useful synchronization primitive in data > plane applications. > Agree, it might be useful. As I remember rte_hash '_lf' functions do use something similar to seqlock, but in hand-