This articlerelies excessively onreferences toprimary sources. Please improve this article by addingsecondary or tertiary sources. Find sources: "Stream Reservation Protocol" – news ·newspapers ·books ·scholar ·JSTOR(September 2021) (Learn how and when to remove this message) |
Stream Reservation Protocol (SRP) is an enhancement toEthernet that implementsadmission control. In September 2010 SRP was standardized asIEEE 802.1Qat which has subsequently been incorporated intoIEEE 802.1Q-2011. SRP defines the concept ofstreams atlayer 2 of theOSI model. Also provided is a mechanism for end-to-end management of the streams' resources, to guaranteequality of service (QoS).[1]
SRP is part of the IEEEAudio Video Bridging (AVB) andTime-Sensitive Networking (TSN) standards. The SRP technical group started work in September 2006 and finished meetings in 2009.[1]
SRP registers a stream and reserves the resources required through the entire path taken by the stream, based on the bandwidth requirement and the latency which are defined by a stream reservation traffic class.
Listener (stream destination) andTalker (stream source) primitives are utilized. Listeners indicate what streams are to be received, and Talkers announce the streams that can be supplied by a bridged entity. Network resources are allocated and configured in both the end nodes of the data stream and the transit nodes along the data streams' path. An end-to-end signaling mechanism to detect the success/failure of the effort is also provided.
SRP "talker advertise" message includes QoS requirements (e.g., VLAN ID and Priority Code Point (PCP) to define traffic class, rank (emergency or nonemergency), traffic specification (maximum frame size and maximum number of frames in a traffic class), measurement interval, and accumulated worst case latency).
Required bandwidth is calculated as MaxFrameSize × MaxIntervalFrames.If a bridge is able to reserve the required resources, it propagates the advertisement to the next bridge; otherwise a 'talker failed' message is raised.When the advertise message reaches the listener, it replies with 'listener ready' message that propagates back to the talker.
Talker advertise and listener ready messages can be de-registered, which terminates the stream. Periodic polling of advertise and ready messages is used to detect unresponsive devices.
Worst case latency is recalculated at every bridge, so higher protocol layers can use it for media synchronization.
For credit-based shaper defined in IEEE 802.1Qav, Stream Reservation Class A is the highest, with worst-case latency requirement of 2 ms, and a measurement interval (maximum transmission period) of 125 μs; Class B has the second highest with worst-case latency of 50 ms, and a measurement interval of 250 μs. The maximum number ofhops is 7. The per-port peer delay provided by gPTP and the network bridge residence delay are added to calculate the accumulated delays and ensure the latency requirement is met. Control traffic has the third highest priority and includes gPTP and SRP traffic.
The SRP works using theMultiple MAC Registration Protocol (MMRP), theMultiple VLAN Registration Protocol (MVRP), and theMultiple Stream Registration Protocol (MSRP). MMRP controls propagation of group registration, and MVRP controls VLAN membership (MAC address information).
MSRP works in a distributed network of bridges and end stations; it registers and advertises data streams and reserves bridge resources to provide the QoS guarantees.
SRP essentially operates in the following sequence:
A station (talker) sends a reservation request with the general MRP application. All participants in the stream have an MSRP application and the MRP Attribute Declaration (MAD) specification for describing the stream characteristics. Then each bridge within the same SRP domain can map, allocate, and forward the stream with the necessary resources by using the MRP attribute propagation.