aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorHarini Katakam <[email protected]>2022-05-18 22:37:56 +0530
committerJakub Kicinski <[email protected]>2022-05-19 16:58:16 -0700
commit5cebb40bc9554aafcc492431181f43c6231b0459 (patch)
treecd8f827ed7daeed8360d517c1b52efd4de7fd0c5 /include/linux/fpga/fpga-mgr.h
parentd904c8cc0302393640bc29ee62193f88ddc53126 (diff)
net: macb: Fix PTP one step sync support
PTP one step sync packets cannot have CSUM padding and insertion in SW since time stamp is inserted on the fly by HW. In addition, ptp4l version 3.0 and above report an error when skb timestamps are reported for packets that not processed for TX TS after transmission. Add a helper to identify PTP one step sync and fix the above two errors. Add a common mask for PTP header flag field "twoStepflag". Also reset ptp OSS bit when one step is not selected. Fixes: ab91f0a9b5f4 ("net: macb: Add hardware PTP support") Fixes: 653e92a9175e ("net: macb: add support for padding and fcs computation") Signed-off-by: Harini Katakam <[email protected]> Reviewed-by: Radhey Shyam Pandey <[email protected]> Reviewed-by: Claudiu Beznea <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions