summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorEric Joyner <eric.joyner@amd.com>2026-06-14 13:53:02 -0700
committerJakub Kicinski <kuba@kernel.org>2026-06-15 18:15:08 -0700
commit3277e605ac01fd11d0a7c6c68c617547ba66c87f (patch)
tree309d4805775f46c3767037ff07118c5aad8c5900 /include/linux/debugobjects.h
parentcb683ff6ee07ab92701cc45ae21373c2b0c8d481 (diff)
ionic: Get "link_down_count" ext link stat from firmware
The number of times that link has gone down at the port level is tracked by the firmware and sent to the driver via regular DMA writes to an instance of struct ionic_port_status in the driver's memory. This statistic was never reported in favor of a driver-derived stat, but doing it in the driver was never necessary since firmware had been reporting it the whole time. Since it would be more accurate and true to the description of the statistic to get this count at the PHY level, replace the driver-calculated statistic with one derived from the firmware one and remove the driver-calculated one entirely. The stat reported by the ethtool .get_link_ext_stats() handler is normalized to 0 on driver load and any device resets that require the driver to rebuild state while also handling overflows. Signed-off-by: Eric Joyner <eric.joyner@amd.com> Link: https://patch.msgid.link/20260614205303.48088-5-eric.joyner@amd.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions