opnsense-src/sys/modules/qat
Hareshx Sankar Raj 1973581b16 qat: move debugfs handling to separate file
Moved handling of debugfs entries to a separate file.
In addition, it will allow to consolidate the addition of
debugfs entries to a single location in the code.

This implementation adds infrastructure to create (and remove)
debugfs entries at two different stages.
- Done when a device is probed, allows to keep debugfs entries
persistent between a transition in device state (up to down or
vice versa).
- Done after the initialization phase, allows to have debugfs
entries that are accessible only when the device is up.

In addition, moved the creation of debugfs entries for configuration
of the newly created function adf_dbgfs_init() and replace symbolic
permissions with octal permissions when creating the debugfs files.

Added sysctl oids storage for proper cleanup on device down.

Reviewed by:	markj, ziaee
MFC after:	2 weeks
Sponsored by:   Intel Corporation
Differential Revision:  https://reviews.freebsd.org/D50379

(cherry picked from commit c38bafee7e)
2026-01-20 09:04:06 +01:00
..
qat qat: add disable safe dc mode for QAT SPR devices 2025-07-09 10:05:45 +02:00
qat_api qat: add disable safe dc mode for QAT SPR devices 2025-07-09 10:05:45 +02:00
qat_common qat: move debugfs handling to separate file 2026-01-20 09:04:06 +01:00
qat_hw qat: add disable safe dc mode for QAT SPR devices 2025-07-09 10:05:45 +02:00
Makefile sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00