Ethernet Preemption - Showcase #676
Replies: 3 comments 14 replies
-
It might be true that this combination doesn't work in TsnDevice/TsnSwitch
out of the box. Please check the example under
showcases/tsn/framepreemption to see where the queue is in the preempting
MAC layer. The queue needs to be placed under the sub MAC layers in order
to operate correctly. Other than that, I think it should be fine.
Best regards,
levy
…On Fri, Sep 9, 2022 at 4:36 PM mchsiao602107 ***@***.***> wrote:
Hello everyone,
I am trying to enable gating mechanism and frame preemption for a TSN
network, but have trouble to configure TSNDevice and TsnSwitch when
setting hasFramePreemption = true and hasEgressTrafficShaping = true at
the same time. Frames are queued in *.*.eth[*].macLayer.queue, whose type
is Ieee8021qTimeAwareShaper, and are not forwarded to the
outboundClassifier to classify frames into either an express queue or a
preemptable queue.
Besides setting hasFramePreemption = true and hasEgressTrafficShaping =
true, is there any other configuration required to enable time-aware
shaper and frame preemption for TSN simultaneously?
Thank you in advance.
—
Reply to this email directly, view it on GitHub
<#676 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA3OTI3E6RWGU7OGZ2TS3TV5NDQJANCNFSM42ZJ2NPA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Once I had a working example which contained multiple preemptable MAC layers. A lower priority MAC layer could be preempted by a higher priority one, even in a nested way where A is preempted by B, then B is preempted by C, then C finishes, then B finishes, and finally A finishes. IIRC, the complication is at the reassembly at the receiver, because it should be prepared for this nested preemption. There could be multiple frames preempted at different priorities and the received fragments should not be mixed up. Anyway, it's not possible to simply configure such a scenario right now, but with a bit of programming it could work. |
Beta Was this translation helpful? Give feedback.
-
Discuss the "Ethernet Preemption" showcase here. Ideas and recommendations are welcome.
Beta Was this translation helpful? Give feedback.
All reactions