-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(ethernet/ptp): added support for gPTP (IDFGH-14203) #15001
base: master
Are you sure you want to change the base?
Conversation
This includes handling peer delay messages and TLVs in announce and follow up messages. Also, handles simpler BMCA in gPTP case. Currently it seems the HW timestamp is not showing in the IREC in the case of received frames, so that made it difficult to test interop with other gPTP devices.
👋 Hello scrambletools, we appreciate your contribution to this project! 📘 Please review the project's Contributions Guide for key guidelines on code, documentation, testing, and more. 🖊️ Please also make sure you have read and signed the Contributor License Agreement for this project. Click to see more instructions ...
Review and merge process you can expect ...
|
Next commit will handle receiving peer delay response and response follow up messages for gPTP case. Currently only supports processing gPTP peer delay requests and sending correct response and response follow up. |
Hi @scrambletools, thanks for the update! The current PTP implementation really misses the P2P mode. So it's great you've had a look into it. However, our PTP is currently not fully stable so I cannot give you any time frame when your PR could be merged. I need to stabilize the API at first. Luckily it doesn't mean you to stop your effort! Please try to update |
I'll take a look, thanks!
…On Mon, Dec 9, 2024 at 12:34 AM Ondrej Kosta ***@***.***> wrote:
Hi @scrambletools <https://github.com/scrambletools>, thanks for the
update! The current PTP implementation really misses the P2P mode. So it's
great you've had a look into it. However, our PTP is currently not fully
stable so I cannot give you any time frame when your PR could be merged. I
need to stabilize the API at first.
Luckily it doesn't mean you to stop your effort! Please try to update
emac_hal_ptp_start function, add emac_ll_ts_ptp_snap_type_sel(hal->ptp_regs,
1); and you should be able to receive Pdelay messages via IREC. Please
let me know if it worked.
—
Reply to this email directly, view it on GitHub
<#15001 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BGW4UN5YFGROOWWLY2TE5C32EVIYZAVCNFSM6AAAAABTHZ7CPGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRXGI3DEMRUGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
It seems to have worked! Thanks. I'll keep testing... |
…lowup sending peer delay req, handle response/followup, and minor cleanup for consistency/readability; tested with Motu AVB switch and receiving syncs from switch which indicates that AVB is happy with peer delay
This includes handling peer delay messages and TLVs in announce and follow up messages. Also, handles simpler BMCA in gPTP case. Currently it seems the HW timestamp is not showing in the IREC in the case of received frames, so that made it difficult to test interop with other gPTP devices.
Tested with MOTU AVB Switch as well as Apple Mac desktop. Hoping to see a fix for the HW timestamp issue, assuming I'm not missing something.