]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: ena: Add debugfs support to the ENA driver
authorDavid Arinzon <darinzon@amazon.com>
Tue, 17 Jun 2025 11:05:43 +0000 (14:05 +0300)
committerJakub Kicinski <kuba@kernel.org>
Thu, 19 Jun 2025 01:57:29 +0000 (18:57 -0700)
commit60e28350b1ca127fe22dd99d5ff2a1922450e912
tree49607d3e148b5a628a703874e6d8a01a8eaa36c9
parent816b52624cf6a03ea541956b448025d844a8287d
net: ena: Add debugfs support to the ENA driver

Adding the base directory of debugfs to the driver.
In order for the folder to be unique per driver instantiation,
the chosen name is the device name.

This commit contains the initialization and the
base folder.

The creation of the base folder may fail, but is considered
non-fatal.

Signed-off-by: David Arinzon <darinzon@amazon.com>
Link: https://patch.msgid.link/20250617110545.5659-8-darinzon@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/networking/device_drivers/ethernet/amazon/ena.rst
drivers/net/ethernet/amazon/ena/Makefile
drivers/net/ethernet/amazon/ena/ena_debugfs.c [new file with mode: 0644]
drivers/net/ethernet/amazon/ena/ena_debugfs.h [new file with mode: 0644]
drivers/net/ethernet/amazon/ena/ena_netdev.c
drivers/net/ethernet/amazon/ena/ena_netdev.h