Page MenuHomeFreeBSD

LinuxKPI: LKPI_80211_HW_CRYPTO: add crypto debug flag in LinuxKPI
Needs ReviewPublic

Authored by cc on Mar 6 2024, 10:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 4, 1:21 PM
Unknown Object (File)
Thu, May 2, 11:06 PM
Unknown Object (File)
Fri, Apr 26, 3:59 AM
Unknown Object (File)
Tue, Apr 23, 12:08 AM
Unknown Object (File)
Sun, Apr 14, 5:46 PM
Unknown Object (File)
Mar 18 2024, 1:02 PM
Unknown Object (File)
Mar 16 2024, 7:40 PM
Unknown Object (File)
Mar 9 2024, 7:59 PM

Details

Reviewers
bz
Summary

Also move the LKPI_80211_TRACE_MO to the same location.

PR: 277416
MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 56594
Build 53482: arc lint + arc unit

Event Timeline

cc requested review of this revision.Mar 6 2024, 10:27 PM
bz requested changes to this revision.Mar 6 2024, 10:56 PM
bz added inline comments.
sys/compat/linuxkpi/common/src/linux_80211.c
559

That's an error message, not debug information

563

Error message, not debug information

589

Error message

592

Error message

sys/compat/linuxkpi/common/src/linux_80211.h
80

this part can probably just live in linux_80211.c and likely doesn't need all the per-cpu information but likely not much more than a TODO or IMPROVE or any other dumps?

sys/compat/linuxkpi/common/src/linux_80211_macops.c
38 ↗(On Diff #135475)

Why do you need to move these? Are you envisioning MO tracing outside of this file?

This revision now requires changes to proceed.Mar 6 2024, 10:56 PM
sys/compat/linuxkpi/common/src/linux_80211.c
559

Does not make much difference between unimplemented feature errors and debugging purposes.
With LKPI_80211_TRACE_CRYPTO, it is organized under the same scope.

sys/compat/linuxkpi/common/src/linux_80211_macops.c
38 ↗(On Diff #135475)

Put them in the same location is easier to read.

code update according to comments