net: Introduce peer to peer one step PTP time stamping.
The 1588 standard defines one step operation for both Sync and PDelay_Resp messages. Up until now, hardware with P2P one step has been rare, and kernel support was lacking. This patch adds support of the mode in anticipation of new hardware developments. Signed-off-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

کامیت شده توسط
David S. Miller

والد
1dca22b184
کامیت
b6fd7b9636
@@ -247,6 +247,7 @@ static int qede_ptp_cfg_filters(struct qede_dev *edev)
|
||||
break;
|
||||
|
||||
case HWTSTAMP_TX_ONESTEP_SYNC:
|
||||
case HWTSTAMP_TX_ONESTEP_P2P:
|
||||
DP_ERR(edev, "One-step timestamping is not supported\n");
|
||||
return -ERANGE;
|
||||
}
|
||||
|
مرجع در شماره جدید
Block a user