Thread (13 messages) 13 messages, 3 authors, 16d ago

Re: [PATCH net-next v2 5/5] net: dsa: motorcomm: Add TC prio support

flat view

From: Andrew Lunn <andrew@lunn.ch>
Date: 2026-10-04 14:13:22
Also in: lkml

On Fri, Oct 02, 2026 at 04:48:48AM +0800, David Yang wrote:
The HW supports fewer ACL priorities than TC does. Notice the default
priority for flower is 49152 and catchall filter has priority 65535, so
scale the priority accordingly and reject the ones that do not map onto
a hardware priority.
It would be good to document what the actual mapping is. I think you
divide by 512, and then invert?

The code itself looks O.K.

       Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help