diff options
author | Nitya Sunkad <nitya.sunkad@amd.com> | 2023-06-08 22:50:16 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-06-12 09:29:26 +0100 |
commit | 132b4ebfa090492663f84144a1e7afaca54cd58a (patch) | |
tree | 3cdb2ea26c207071b62514143928df1415e2de8b /net/unix/af_unix.c | |
parent | 72d77bad12c6b2207be10824c0f05ba55123161f (diff) |
ionic: add support for ethtool extended stat link_down_count
Following the example of 'commit 9a0f830f8026 ("ethtool: linkstate:
add a statistic for PHY down events")', added support for link down
events.
Add callback ionic_get_link_ext_stats to ionic_ethtool.c to support
link_down_count, a property of netdev that gets reported exclusively
on physical link down events.
Run ethtool -I <devname> to display the device link down count.
Signed-off-by: Nitya Sunkad <nitya.sunkad@amd.com>
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions