Hello Florian, Vladimir, Hauke,
first of all: thank you very much for this very informative discussion!
On Thu, Mar 25, 2021 at 4:08 AM Florian Fainelli [off-list ref] wrote:
[...]
quoted
Just to clarify, this port to queue mapping is completely optional, right?
You can send packets to a certain switch port through any TX queue of
the systemport?
Absolutely, the Broadcom tags allow you to steer traffic towards any TX
queue of any switch port. If ring inspection is disabled then there is
no flow control applied whatsoever.
I think with the Lantiq PMAC and GSWIP the situation is very similar
skb_set_queue_mapping from tag_brcm.c seems very interesting.
a per-CPU queue is also very interesting since these Lantiq SoCs have
two MIPS cores
Many thanks to all of you again!
Best regards,
Martin