Re: [PATCH net-next v6 1/2] net: dsa: mv88e6xxx: use the hw tx queues
From: Luke Howard
Date: Thu Jun 04 2026 - 18:39:03 EST
> On 4 Jun 2026, at 11:44 pm, Cedric Jehasse via B4 Relay <devnull+cedric.jehasse.luminex.be@xxxxxxxxxx> wrote:
>
> From: Cedric Jehasse <cedric.jehasse@xxxxxxxxxx>
>
> 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 <cedric.jehasse@xxxxxxxxxx>
> ---
> 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 <lukeh@xxxxxxxx>