]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ionic: Update ionic_if.h with new extra port stats
authorEric Joyner <eric.joyner@amd.com>
Sun, 14 Jun 2026 20:53:00 +0000 (13:53 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 16 Jun 2026 01:15:08 +0000 (18:15 -0700)
commit433bc500814916133db94e55f096ccc01e5faa30
tree9494b16865c35965514d79d6e68484f8c90ad824
parent7678e69079c10b2fb10977f28f44ddb22971ea5b
ionic: Update ionic_if.h with new extra port stats

Add a new structure to report additional statistics from the firmware to
struct ionic_port_info. This new struct currently only contains FEC
related statistics, but any new port-level statistics collected by the
firmware would go into it.

The new structure is located in the same area as the unused
ionic_port_pb_stats structure, so this patch also removes that and its
supporting enumerations since they was never used in this driver.

Finally, to indicate firmware support for the new structure, introduce a
new device capability that the driver can use to see if the attached
device supports reporting these extra stats.

Signed-off-by: Eric Joyner <eric.joyner@amd.com>
Link: https://patch.msgid.link/20260614205303.48088-3-eric.joyner@amd.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/pensando/ionic/ionic_if.h