Re: pipex(4): introduce mutexes to protect 'pipex_session' context

2021-07-27 Thread Vitaliy Makkoveev
On Tue, Jul 27, 2021 at 02:44:51AM +0200, Alexander Bluhm wrote: > On Tue, Jul 27, 2021 at 12:30:06AM +0300, Vitaliy Makkoveev wrote: > > > The diff below makes pipex(4) a little bit more parallelization > > > reliable. > > > > @@ -2238,10 +2240,6 @@ pipex_mppe_input(struct mbuf *m0, struct > > >

Re: pipex(4): introduce mutexes to protect 'pipex_session' context

2021-07-26 Thread Alexander Bluhm
On Tue, Jul 27, 2021 at 12:30:06AM +0300, Vitaliy Makkoveev wrote: > > The diff below makes pipex(4) a little bit more parallelization > > reliable. > > @@ -2238,10 +2240,6 @@ pipex_mppe_input(struct mbuf *m0, struct > > coher_cnt &= PIPEX_COHERENCY_CNT_MASK; > > pktloss = 0; > > > > -

Re: pipex(4): introduce mutexes to protect 'pipex_session' context

2021-07-26 Thread Vitaliy Makkoveev
ping > On 22 Jul 2021, at 01:56, Vitaliy Makkoveev wrote: > > With bluhm@'s diff for parallel forwarding pipex(4) could be accessed in > parallel through (*ifp->if_input)() -> ether_input() -> > pipex_pppoe_input(). PPPOE pipex(4) sessions are mostly immutable except > MPPE crypt. > > The