tech-net archive

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

Re: struct ifnet locking [was Re: IFEF_MPSAFE]



On Thu, Dec 21, 2017 at 7:58 PM, Nick Hudson <skrll%netbsd.org@localhost> wrote:
> On 12/19/17 08:21, Ryota Ozaki wrote:
>>
>> On Tue, Dec 19, 2017 at 4:52 PM, Nick Hudson <nick.hudson%gmx.co.uk@localhost>
>> wrote:
>>>
>>> On 19/12/2017 03:43, Ryota Ozaki wrote:
>>>
>>>
>>>> BTW I committed a change that disables IFEF_MPSAFE by default on
>>>> all interfaces because it seems that IFEF_MPSAFE requires additional
>>>> changes to work safely with it. We should enable it by default if an
>>>> interface is guaranteed to be safe.
>>>
>>> What additional changes?
>>
>> For example, avoid updating if_flags (and reading it and depending on
>> the result) in Tx/Rx paths and using if_watchdog.
>
>
> Ah, I see.
>
> Do we have a model driver yet?

Not yet, but ixg and wm are close.

  ozaki-r


Home | Main Index | Thread Index | Old Index