Page MenuHomeFreeBSD

LinuxKPI: netdevice: add alloc_netdev_dummy()
ClosedPublic

Authored by bz on Sep 26 2024, 11:52 PM.
Tags
None
Referenced Files
F151191660: D46802.id144617.diff
Mon, Apr 6, 5:42 PM
Unknown Object (File)
Sun, Apr 5, 11:50 AM
Unknown Object (File)
Sat, Apr 4, 6:35 PM
Unknown Object (File)
Sat, Apr 4, 9:52 AM
Unknown Object (File)
Thu, Apr 2, 3:21 PM
Unknown Object (File)
Thu, Mar 19, 4:53 PM
Unknown Object (File)
Thu, Mar 19, 3:25 AM
Unknown Object (File)
Wed, Mar 11, 10:48 PM
Subscribers

Details

Summary

Add alloc_netdev_dummy() which is needed by an updated rtw88 driver.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bz requested review of this revision.Sep 26 2024, 11:52 PM
bz planned changes to this revision.Oct 10 2024, 3:28 PM

Make sure for alloc_netdev_dummy() the "setup" function is not run
twice given it is just the initializer and we zero structs at the
beginning but would setup the lock and taskqueue/thread twice
leading to issues.

This revision was not accepted when it landed; it landed in state Needs Review.Oct 17 2024, 1:28 PM
This revision was automatically updated to reflect the committed changes.