Thread (7 messages) 7 messages, 4 authors, 2026-06-09

Re: [PATCH net-next v6 1/2] net: dsa: mv88e6xxx: use the hw tx queues

flat view

From: Luke Howard <hidden>
Date: 2026-06-04 22:35:35
Also in: lkml

On 4 Jun 2026, at 11:44 pm, Cedric Jehasse via B4 Relay [off-list ref] wrote:

From: Cedric Jehasse <redacted>

When transmitting fill in the PRI field in the dsa tag to select the
egress queue is sent to.
From the datasheets i've looked at these switches have 4 or 8 transmit
queues per port.
Note: skbs with skb->fw_offload_fwd_mark set use the DSA_CMD_FORWARD
tag. These are processed as normal ingress frames, meaning the queue
they end up in can still be altered by other switch config. eg. priority
overrides, tcam policies.
This isn't done for vlan tagged frames because this would overwrite the
PCP value in the vlan tag (The PRI field in the dsa
tag is used as the PCP value in the vlan tag).

Signed-off-by: Cedric Jehasse <redacted>
---
drivers/net/dsa/mv88e6xxx/chip.c | 35 +++++++++++++++++++++++++++++++++++
drivers/net/dsa/mv88e6xxx/chip.h |  1 +
net/dsa/tag_dsa.c                | 11 ++++++++++-
3 files changed, 46 insertions(+), 1 deletion(-)
Reviewed-by: Luke Howard <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help