IEEE 802.1Qci PSFP: per-stream filtering and policing at ingress
Every bound in this series assumes that each talker respects its arrival curve. Per-Stream Filtering and Policing (PSFP) is the TSN mechanism that makes that assumption hold. It checks each stream where it enters a bridge and stops a faulty or malicious talker before it can harm the streams that behave.
Abbreviations used in this post (16)
| Abbreviation | Stands for | Meaning |
|---|---|---|
| ATS | Asynchronous Traffic Shaping | IEEE 802.1Qcr: per-stream token-bucket shaping at every hop using local clocks only. |
| CBS | Credit-Based Shaper | The IEEE 802.1Qav shaper that limits a traffic class to its reserved rate (idleSlope) with a per-queue credit. In MEF bandwidth profiles, CBS instead means Committed Burst Size. |
| CIR | Committed Information Rate | The guaranteed long-term rate of a MEF bandwidth profile, used by PSFP flow meters. |
| DEI | Drop Eligible Indicator | The 1-bit field of the 802.1Q tag marking frames that may be dropped first under congestion. |
| EBS | Excess Burst Size | The burst allowance that goes with the excess information rate in a MEF bandwidth profile. |
| EIR | Excess Information Rate | The additional rate of a MEF bandwidth profile that is carried only when resources allow. |
| IEEE | Institute of Electrical and Electronics Engineers | The professional association whose Standards Association publishes the IEEE 802 LAN/MAN standards. |
| IP | Internet Protocol | The network-layer protocol of the Internet (IPv4, RFC 791; IPv6, RFC 8200). |
| IPV | Internal Priority Value | A priority assigned inside a bridge (for example by a PSFP stream gate) that selects the traffic class, independently of the frame’s PCP. |
| MAC | Medium Access Control | The lower sublayer of the data link layer, which frames data and controls access to the medium. A MAC address identifies a network interface. |
| MEF | Metro Ethernet Forum (now MEF Forum) | An industry forum that defines carrier Ethernet services and their bandwidth profiles, such as MEF 10.3. |
| PCP | Priority Code Point | The 3-bit priority field of the 802.1Q tag (priorities 0 to 7). |
| PSFP | Per-Stream Filtering and Policing | IEEE 802.1Qci: stream filters, stream gates and flow meters that enforce each stream’s contract at ingress. |
| TSN | Time-Sensitive Networking | The set of IEEE 802.1 standards that give Ethernet bounded latency, time synchronisation and high reliability. |
| VID | VLAN Identifier | The 12-bit field of the 802.1Q tag that names a frame’s VLAN. |
| VLAN | Virtual LAN | A logical LAN within a bridged network, identified by a 12-bit VLAN ID in the 802.1Q tag. |
1. Definition
Per-Stream Filtering and Policing, IEEE 802.1Qci (now part of IEEE 802.1Q), applies decisions per stream at the ingress. Its purpose is protection against bandwidth violation, malfunction and attack [3]. A frame passes three elements in order, after the stream it belongs to has been identified [3][4]:
- a stream filter;
- a stream gate;
- a flow meter.
2. Identifying the stream
Ethernet has no stream-ID field. A bridge recognises a stream by matching header fields that were agreed when the stream was set up. The stream identification functions defined with 802.1CB include [2]:
- destination MAC address and VLAN ID;
- source MAC address and VLAN ID;
- IP addresses, protocol and ports, for streams carried over IP.
The match yields a stream handle, an internal number that the following tables use. The reservation protocols identify a stream by a talker MAC address plus a 16-bit number. In the data plane, the frames are matched on destination MAC, VLAN ID and priority [5].
3. Filter, gate and meter

| Element | Selected by | Decides |
|---|---|---|
| Stream filter | Stream handle and priority (either may be a wildcard) | Which gate and meter apply. Also enforces a maximum frame size: an oversized frame is dropped and can block the stream. |
| Stream gate | The filter | Whether the frame may pass now. The gate opens and closes on a gate control list, like the transmission gates of 802.1Qbv, and can set the frame's internal priority value (IPV). |
| Flow meter | The filter | Whether the stream is within its bandwidth profile. The meter uses the two-rate, two-bucket profile of MEF 10.3: committed rate and burst (CIR, CBS) and excess rate and burst (EIR, EBS). Frames are marked green, yellow or red; red frames are dropped, and yellow frames can be dropped or demoted. |
4. What PSFP does for the analysis
It enforces the arrival curve. The committed rate and burst of the meter form a token bucket, so traffic leaving the meter conforms to the arrival curve of the arrival curves post. Without policing, that curve is a promise. With policing, it is a property of the network.
It contains faults. A "babbling idiot" talker that floods the network loses its excess frames at the first bridge. Streams that share later queues with it keep their bounds.
It is a building block. The stream gate's ability to set the internal priority on a timetable is exactly what Cyclic Queuing and Forwarding uses to alternate between two queues. The stream filter and gate are also reused in front of the ATS shaper, which delays frames instead of metering them.
5. Summary
| Property | Per-Stream Filtering and Policing |
|---|---|
| Standard | IEEE 802.1Qci, now in IEEE 802.1Q |
| Acts on | The ingress port, per stream |
| Elements | Stream filter, stream gate, flow meter |
| Needs time synchronisation | Only for time-based stream gates |
| Metering model | MEF 10.3 bandwidth profile (CIR, CBS, EIR, EBS) |
| Role in the analysis | Makes the declared arrival curve an enforced one |
References
- IEEE 802.1, Time-Sensitive Networking (TSN) Task Group. Web page
- Wikipedia, "Time-Sensitive Networking," sections on stream identification and per-stream filtering and policing; "IEEE 802.1Q." TSN, 802.1Q
- J. Farkas, "TSN Basic Concepts," DetNet–TSN workshop, 11 November 2018, slide 13. Slides
- J. Farkas, "Introduction to IEEE 802.1: Focus on the Time-Sensitive Networking Task Group," 15 May 2017. Slides
- A. Grigorjew, S. Geissler, J. Schmitt, T. Hossfeld, "Decentralized Latency Models and Information Flow for TSN Shapers – A Tutorial," arXiv:2610.11999, 2026, Sections V-B and VI-C. arXiv