sfc: improve PTP error reporting
Log a message if PTP probing fails; if we then, unexpectedly, get PTP events, only log a message for the first one on each device. Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
aae5a31663
commit
acaef3c156
@@ -813,6 +813,7 @@ struct vfdi_status;
|
||||
* @vf_init_count: Number of VFs that have been fully initialised.
|
||||
* @vi_scale: log2 number of vnics per VF.
|
||||
* @ptp_data: PTP state data
|
||||
* @ptp_warned: has this NIC seen and warned about unexpected PTP events?
|
||||
* @vpd_sn: Serial number read from VPD
|
||||
* @monitor_work: Hardware monitor workitem
|
||||
* @biu_lock: BIU (bus interface unit) lock
|
||||
@@ -968,6 +969,7 @@ struct efx_nic {
|
||||
#endif
|
||||
|
||||
struct efx_ptp_data *ptp_data;
|
||||
bool ptp_warned;
|
||||
|
||||
char *vpd_sn;
|
||||
|
||||
|
Reference in New Issue
Block a user