tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pserialize & hw interrupt



On Wed, Dec 24, 2014 at 6:03 PM, Ryota Ozaki <ozaki-r%netbsd.org@localhost> wrote:
> On Tue, Dec 16, 2014 at 7:14 PM, Ryota Ozaki <ozaki-r%netbsd.org@localhost> wrote:
>> Hi,
>>
>> I revised if_bridge to use pserialize, which also supports
>> executing bridge_input in both hw interrupt and softint
>> contexts.
>>
>> Once we migrate all network drivers to use softint-based
>> interrupt handling, we don't need such a solution.
>> However, the tasks will take long time to finish, so
>> I'm trying this approach to move forward.
>>
>> As usual, if_bridge without MPSAFE_NET should work as
>> it used to be.
>>
>> Here is a patch: http://www.netbsd.org/~ozaki-r/psz-bridge.diff
>
> Updated. STP works as it used to be :)

http://www.netbsd.org/~ozaki-r/psz-bridge-rt.diff

And this patch makes bridge MAC address tables use pserialize.

  ozaki-r


Home | Main Index | Thread Index | Old Index