RE: [EXT] Re: [PATCH net-next] net: dsa: tag_ocelot: use traffic class to map priority on injected header

From: Xiaoliang Yang
Date: Wed Dec 22 2021 - 23:29:09 EST



On Wed, 23 Dec 2021 06:24 Jakub Kicinski wrote:
> > For Ocelot switches, the CPU injected frames have an injection header
> > where it can specify the QoS class of the packet and the DSA tag, now
> > it uses the SKB priority to set that. If a traffic class to priority
> > mapping is configured on the netdevice (with mqprio for example ...),
> > it won't be considered for CPU injected headers. This patch make the
> > QoS class aligned to the priority to traffic class mapping if it exists.
> >
> > Signed-off-by: Xiaoliang Yang <xiaoliang.yang_1@xxxxxxx>
> > Signed-off-by: Marouen Ghodhbane <marouen.ghodhbane@xxxxxxx>
>
> Is this a fix? Looks like one.
Yes, It can be seen as a fix, I will add fix tag and resend to net, thanks.