On Thu, May 06, 2021 at 03:25:07PM +0200, Michael Walle wrote:[..]
Am 2021-05-04 23:33, schrieb Vladimir Oltean:
> [ trimmed the CC list, as this is most likely spam for most people ]
>
> On Tue, May 04, 2021 at 10:23:11PM +0200, Michael Walle wrote:
> With the ALWAYS_GUARD_BAND_SCH_Q bit, there will be hiccups in packet
> transmission for TC 7. For example, at the end of every time slot,
> the hardware will insert a guard band for TC 7 because there is a
> scheduled-queue-to-scheduled-queue transition, and it has been told to
> do that. But a packet with TC 7 should be transmitted at any time,
> because that's what we told the port to do!
>
> Alternatively, we could tell the switch that TC 7 is "scheduled", and
> the others are "not scheduled". Then it would implement the guard band
> at the end of TCs 0-6, but it wouldn't for packets sent in TC 7. But
> when you look at the overall schedule I described above, it kinds looks
> like TCs 0-6 are the ones that are "scheduled" and TC 7 looks like the
> one which isn't "scheduled" but can send at any time it pleases.
>
> Odd, just odd. It's clear that someone had something in mind, it's just
> not clear what. I would actually appreciate if somebody from Microchip
> could chime in and say "no, you're wrong", and then explain.
If I had to make a bet, the distinction between "scheduled" and
"non-scheduled" is there to have more control for some traffic classes
you trust and where you can engineer the traffic, so you don't really
need the guard band and between arbitrary traffic where you can't really
say anything about and thus need the guard band.
I still don't know if I understand properly. You mean that "scheduled"
traffic is traffic sent synchronized with the switch's schedule, and
which does not need guard banding at the end of its time slot because
the sender is playing nice?
Yes, but then, do you gain anything at all by disabling that guard band
and allowing the sender to overrun if they want to? I still don't see
why overruns are permitted by the switch in certain configurations.