commit | 2ea4dc28a5bcec408e01a8772763871638a5ec79 | [log] [tgz] |
---|---|---|
author | Alexandre Rames <arames@solarflare.com> | Fri Nov 08 10:20:31 2013 +0000 |
committer | Ben Hutchings <bhutchings@solarflare.com> | Fri Dec 06 22:27:41 2013 +0000 |
tree | bb96ff4fdc285aa0ae708b22d2d7d31da2b0b1a9 | |
parent | 35f9a7a380728a94d417e5824a866f969423ac83 [diff] |
sfc: Stop/re-start PTP when stopping/starting the datapath. 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>