| 6da8344f | 17-Sep-2025 |
Jakub Kicinski <kuba@kernel.org> |
eth: fbnic: report FW uptime in health diagnose
FW crashes are detected based on uptime going back, expose the uptime via devlink health diagnose.
$ devlink -j health diagnose pci/0000:01:00.0 rep
eth: fbnic: report FW uptime in health diagnose
FW crashes are detected based on uptime going back, expose the uptime via devlink health diagnose.
$ devlink -j health diagnose pci/0000:01:00.0 reporter fw {"last_heartbeat":{"fw_uptime":{"sec":201,"msec":76}}} $ devlink -j health diagnose pci/0000:01:00.0 reporter fw last_heartbeat: fw_uptime: sec: 201 msec: 76
Reviewed-by: Lee Trager <lee@trager.us> Signed-off-by: Jakub Kicinski <kuba@kernel.org> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20250916231420.1693955-9-kuba@kernel.org Signed-off-by: Paolo Abeni <pabeni@redhat.com>
show more ...
|
| 5f8bd2ce | 10-Apr-2025 |
Mohsin Bashir <mohsin.bashr@gmail.com> |
eth: fbnic: add support for TMI stats
This patch add coverage for TMI stats including PTP stats and drop stats.
PTP stats include illegal requests, bad timestamp and good timestamps. The bad timest
eth: fbnic: add support for TMI stats
This patch add coverage for TMI stats including PTP stats and drop stats.
PTP stats include illegal requests, bad timestamp and good timestamps. The bad timestamp and illegal request counters are reported under as `error` via `ethtool -T` Both these counters are individually being reported via `ethtool -S`
The good timestamp stats are being reported as `pkts` via `ethtool -T`
ethtool -S eth0 | grep "ptp" ptp_illegal_req: 0 ptp_good_ts: 0 ptp_bad_ts: 0
Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Mohsin Bashir <mohsin.bashr@gmail.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20250410070859.4160768-5-mohsin.bashr@gmail.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
show more ...
|
| 986c63a0 | 10-Apr-2025 |
Mohsin Bashir <mohsin.bashr@gmail.com> |
eth: fbnic: add coverage for RXB stats
This patch provides coverage to the RXB (RX Buffer) stats. RXB stats are divided into 3 sections: RXB enqueue, RXB FIFO, and RXB dequeue stats.
The RXB enqueu
eth: fbnic: add coverage for RXB stats
This patch provides coverage to the RXB (RX Buffer) stats. RXB stats are divided into 3 sections: RXB enqueue, RXB FIFO, and RXB dequeue stats.
The RXB enqueue/dequeue stats are indexed from 0-3 and cater for the input/output counters whereas, the RXB fifo stats are indexed from 0-7.
The RXB also supports pause frame stats counters which we are leaving for a later patch.
ethtool -S eth0 | grep rxb rxb_integrity_err0: 0 rxb_mac_err0: 0 rxb_parser_err0: 0 rxb_frm_err0: 0 rxb_drbo0_frames: 1433543 rxb_drbo0_bytes: 775949081 --- --- rxb_intf3_frames: 1195711 rxb_intf3_bytes: 739650210 rxb_pbuf3_frames: 1195711 rxb_pbuf3_bytes: 765948092
Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Mohsin Bashir <mohsin.bashr@gmail.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20250410070859.4160768-4-mohsin.bashr@gmail.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
show more ...
|
| 79da2aaa | 15-Nov-2024 |
Sanman Pradhan <sanman.p211993@gmail.com> |
eth: fbnic: add RPC hardware statistics
Report Rx parser statistics via ethtool -S.
The parser stats are 32b, so we need to add refresh to the service task to make sure we don't miss overflows.
Si
eth: fbnic: add RPC hardware statistics
Report Rx parser statistics via ethtool -S.
The parser stats are 32b, so we need to add refresh to the service task to make sure we don't miss overflows.
Signed-off-by: Sanman Pradhan <sanman.p211993@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://patch.msgid.link/20241115015344.757567-6-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
show more ...
|