On Mon, Mar 15, 2021 at 10:13:59PM +0100, Tobias Waldekranz wrote:
> + if (flags.mask & BR_LEARNING) {
> + u16 pav = (flags.val & BR_LEARNING) ? (1 << port) : 0;
> +
> + err = mv88e6xxx_port_set_assoc_vector(chip, port, pav);
> + if (err)
> + goto out;
> + }
> +If flags.val & BR_LEARNING is off, could you please call mv88e6xxx_port_fast_age too? This ensures that existing ATU entries that were automatically learned are purged.
