Re: [PATCH net-next v2 2/2] net: dsa: yt921x: Add DCB/priority support

From: Vladimir Oltean

Date: Sat Jan 24 2026 - 03:37:22 EST


On Sat, Jan 24, 2026 at 10:05:58AM +0800, Yangfl wrote:
> On Sat, Jan 24, 2026 at 7:48 AM Vladimir Oltean <olteanv@xxxxxxxxx> wrote:
> >
> > Are you sure the "port" selector represents the Ethernet port default
> > priority? It seems odd for it to have any other trust order in hardware
> > than last. What would be the use case for that? Sure it's not an L4 port,
> > which could be mapped over IEEE_8021QAZ_APP_SEL_ANY?
> >
>
> No (with the "port" selector) but I'm wondering, do we have
> corresponding port prio methods
> port_add_stream_prio()/port_add_dgram_prio() or something like?

No, but it doesn't mean dsa_user_dcbnl_ieee_setapp() can't be extended
with the IEEE_8021QAZ_APP_SEL_ANY selector if necessary. I wouldn't
bother to do that just for testing, though, just hack something up to
determine what it's about.