[PATCH] kernel: DSA roaming fix for Marvell Link Street switch series

DENG Qingfang dqfext at gmail.com
Tue Feb 2 09:03:17 EST 2021


On Tue, Feb 2, 2021 at 9:22 PM Tobias Waldekranz <tobias at waldekranz.com> wrote:
>
> >
> > Tobias, what happens if the switch receives a frame that violates ATU
> > portvec member? Is the frame trapped to the CPU or dropped?
>
> The frame will be dropped. So the flow will be blocked until the DSA
> driver removes the static entry. Once the it has been removed, the
> switch is free to learn it in the normal way again.

Can the switch be configured to trap those frames to the CPU? So the
bridge subsystem can handle them.

>
> But I would strongly advise against removing the message as it often
> provides important clues when debugging connectivity issues.

Use dev_dbg_ratelimited instead?



More information about the openwrt-devel mailing list