Re: IPv6 hop-by-hop check in parallel

2022-08-16 Thread Alexander Bluhm
On Tue, Aug 16, 2022 at 06:21:55AM -0300, Fernando Gont wrote: > > Of course mbuf tags kill performance, but who uses hop-by-hop options > > anyway? pf drops such packets per default. > > FWIW, HBH options are *themselves* known to kill performance. :-) (see: > RFC9098). Thanks for the link to

Re: IPv6 hop-by-hop check in parallel

2022-08-16 Thread Fernando Gont
Hi, Alexander, On 13/8/22 16:08, Alexander Bluhm wrote: [...] Of course mbuf tags kill performance, but who uses hop-by-hop options anyway? pf drops such packets per default. FWIW, HBH options are *themselves* known to kill performance. :-) (see: RFC9098). OTOH, MLD uses HBH. But for the

Re: IPv6 hop-by-hop check in parallel

2022-08-15 Thread Vitaliy Makkoveev
On Mon, Aug 15, 2022 at 11:47:03AM +0200, Alexander Bluhm wrote: > On Sun, Aug 14, 2022 at 02:04:09AM +0300, Vitaliy Makkoveev wrote: > > On Sat, Aug 13, 2022 at 09:08:36PM +0200, Alexander Bluhm wrote: > > > Hi, > > > > > > While running forwarding in parallel, I have introduced a hard > > > barr

Re: IPv6 hop-by-hop check in parallel

2022-08-15 Thread Alexander Bluhm
On Sun, Aug 14, 2022 at 02:04:09AM +0300, Vitaliy Makkoveev wrote: > On Sat, Aug 13, 2022 at 09:08:36PM +0200, Alexander Bluhm wrote: > > Hi, > > > > While running forwarding in parallel, I have introduced a hard > > barrier for parallel local protocol processing. The packets are > > requeued fro

Re: IPv6 hop-by-hop check in parallel

2022-08-14 Thread gwes
On 8/13/22 15:08, Alexander Bluhm wrote: Hi, While running forwarding in parallel, I have introduced a hard barrier for parallel local protocol processing. The packets are requeued from shared to exclusive netlock. Unless we unlock all protocol input routines at once, we need some mechanism

Re: IPv6 hop-by-hop check in parallel

2022-08-13 Thread Vitaliy Makkoveev
On Sat, Aug 13, 2022 at 09:08:36PM +0200, Alexander Bluhm wrote: > Hi, > > While running forwarding in parallel, I have introduced a hard > barrier for parallel local protocol processing. The packets are > requeued from shared to exclusive netlock. > > Unless we unlock all protocol input routine

IPv6 hop-by-hop check in parallel

2022-08-13 Thread Alexander Bluhm
Hi, While running forwarding in parallel, I have introduced a hard barrier for parallel local protocol processing. The packets are requeued from shared to exclusive netlock. Unless we unlock all protocol input routines at once, we need some mechanism from to move from one queue to the other. Th