Page MenuHomeFreeBSD

LinuxKPI: netdevice: add alloc_netdev_dummy()
ClosedPublic

Authored by bz on Sep 26 2024, 11:52 PM.
Tags
None
Referenced Files
F108430105: D46802.id.diff
Fri, Jan 24, 5:23 PM
Unknown Object (File)
Wed, Jan 15, 2:46 AM
Unknown Object (File)
Tue, Jan 14, 2:20 PM
Unknown Object (File)
Fri, Jan 10, 6:39 PM
Unknown Object (File)
Fri, Jan 10, 6:33 PM
Unknown Object (File)
Fri, Jan 10, 3:37 PM
Unknown Object (File)
Sat, Jan 4, 9:01 AM
Unknown Object (File)
Dec 22 2024, 11:35 AM
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 Passed
Unit
No Test Coverage
Build Status
Buildable 59899
Build 56784: arc lint + arc unit

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.