Skip to content
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

AVB with TC #878

Closed
jagmeethanspal opened this issue Aug 20, 2019 · 8 comments
Closed

AVB with TC #878

jagmeethanspal opened this issue Aug 20, 2019 · 8 comments

Comments

@jagmeethanspal
Copy link

With the OpenAvnu stack on the end-points what about the network-bridge (non end-points, non-talker, non-listener) do they require an Boundary clock or Transparent clock with H/w time-stamping will suffice? Given that the .AS standard talks about the gPTP and time-sync, I am wondering (assuming the availability of QoS shaping and SRP), what limited-functionality can be achieved (or remain unsupported) with only transparent clock type on the transit n/w node?

@jdkoftinoff
Copy link
Contributor

The bridges in an AVB/TSN networks are also required to support 802.1AS. Note that 802.1AS is a different profile of PTPv2 which requires each side of each ethernet cable to run the various state machines in order to achieve the tight timing requirements. End stations running 802.1AS through a bridge which does not actively participate in the 802.1AS protocol is guaranteed to not work.

@jagmeethanspal
Copy link
Author

jagmeethanspal commented Aug 22, 2019 via email

@pinealservo
Copy link
Contributor

If you read the specifications more closely, you'll find that you cannot create a compliant AVB implementation without implementing real 802.1AS in your network switches. Sure, you could maybe make something AVB-like, but it won't work with standard AVB endpoints, and I don't think anyone here is very interested in helping to bring more non-standard AVB-like things into the world. We do like helping people bring actual AVB-compliant things into the world though, especially when it involves people using and contributing back to this project, which is aiming at AVB and to some degree TSN compliance.

@jagmeethanspal
Copy link
Author

jagmeethanspal commented Aug 22, 2019 via email

@pinealservo
Copy link
Contributor

The problem is that gPTP is not only used for time sync, but also for admission control. The Wikipedia overview of AVB has a fairly good overview of the various protocol interactions and which standards define them: https://en.wikipedia.org/wiki/Audio_Video_Bridging

If you control the firmware for your switches, it may be possible to make them run the AVB protocols; if they have the hardware timestamping capability for PTPv2 operation then it's possible that they can do gPTP with the right software. They will also need to be able to do credit-based traffic shaping, which must be configured via SRP. Some of these requirements are different for automotive profile use of AVB, which can use static stream reservations in some cases, but they still generally have to do traffic shaping.

It's challenging enough to develop good AVB endpoints when you have well-tested AVB-compliant switches, as they play a central role in how all the AVB protocols work. I'd definitely recommend getting some experience with known-good equipment and software before making big decisions.

@jagmeethanspal
Copy link
Author

jagmeethanspal commented Aug 22, 2019 via email

@andrew-elder
Copy link

@jagmeethanspal
Copy link
Author

jagmeethanspal commented Sep 6, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants