mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
sfc: Remove dependency of PTP on having a dedicated channel
We need a dedicated channel on Siena to ensure we can match up the separate RX and timestamp events for each PTP packet. We won't do this for EF10 as timestamps are delivered inline. Pass a channel index of 0 to MC_CMD_PTP_OP_ENABLE when there is no dedicated channel. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
This commit is contained in:
parent
62a1c70356
commit
ac36baf817
3 changed files with 41 additions and 24 deletions
|
@ -259,7 +259,7 @@ static int siena_probe_nic(struct efx_nic *efx)
|
|||
goto fail5;
|
||||
|
||||
efx_sriov_probe(efx);
|
||||
efx_ptp_probe(efx);
|
||||
efx_ptp_defer_probe_with_channel(efx);
|
||||
|
||||
return 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue