tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: NET_MPSAFE support for ifmedia / mii
> On Feb 10, 2020, at 9:51 PM, Jason Thorpe <thorpej%me.com@localhost> wrote:
>
> Updated patch. I fixed some bugs, and have been using this under LOCKDEBUG with both NET_MPSAFE and without for a couple of days with no ill effects (using converted "wm" driver and unconverted "pcn" driver). I also had to convert the "usbnet" code, because it can't use the "non-converted driver compatibility" mechanism I provided (it sleeps, frequently). I did, however, make its locking protocol a lot simpler. I need help testing the usbnet changes -- if you have a USB Ethernet dongle, ping me off-list.
>
> <ifmedia-tweak-diff.txt>
I was informed that the patch was mangled, so I've posted it here:
http://www.netbsd.org/~thorpej/ifmedia-mpsafe-diff.txt
MD5 (ifmedia-mpsafe-diff.txt) = 3181222d1be190914b2746d29ad5adb8
-- thorpej
Home |
Main Index |
Thread Index |
Old Index