diff options
author | Alexandre Rames <arames@solarflare.com> | 2013-11-08 10:20:31 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-01-15 15:31:39 -0800 |
commit | ff525bdf014c3dcc0656b297f4371c1f5a23739b (patch) | |
tree | 659bf514d5abb3f1467d8af387e128e6d72b1496 /drivers/scsi | |
parent | 128b47699811a959de54740c8264296c7138cc98 (diff) |
sfc: Stop/re-start PTP when stopping/starting the datapath.
[ Upstream commit 2ea4dc28a5bcec408e01a8772763871638a5ec79 ]
This disables PTP when we bring the interface down to avoid getting
unmatched RX timestamp events, and tries to re-enable it when bringing
the interface up.
[bwh: Make efx_ptp_stop() safe on Falcon. Introduce
efx_ptp_{start,stop}_datapath() functions; we'll expand them later.]
Fixes: 7c236c43b838 ('sfc: Add support for IEEE-1588 PTP')
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/scsi')
0 files changed, 0 insertions, 0 deletions