Re: [PATCH net-next v4 1/4] net: dsa: add support for DSA rx offloading via metadata dst

From: Florian Fainelli
Date: Mon Nov 14 2022 - 13:00:17 EST


On 11/14/22 04:42, Felix Fietkau wrote:
If a metadata dst is present with the type METADATA_HW_PORT_MUX on a dsa cpu
port netdev, assume that it carries the port number and that there is no DSA
tag present in the skb data.

Signed-off-by: Felix Fietkau <nbd@xxxxxxxx>

Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx>

Is the plan to use the lwoer bits of the 32-bit port_id as the port number for now, and we can use the remaining 24 or so bits for passing classification (reason why we forward the packet, QoS etc. ) information in the future?

Might be time for me to revive the systemport patches supporting Broadcom tags in the the DMA descriptor.

Thanks!
--
Florian