On Wed, Sep 29, 2021 at 11:45 PM Vladimir Oltean [off-list ref] wrote:
On Wed, Sep 29, 2021 at 11:03:48PM +0200, Linus Walleij wrote:
quoted
+ /* This will age out any learned L2 entries */
+ regmap_update_bits(smi->map, RTL8366RB_SECURITY_CTRL,
+ BIT(port), BIT(port));
Is there any delay that needs to be added between these two operations?
quoted
+ /* Restore the normal state of things */
+ regmap_update_bits(smi->map, RTL8366RB_SECURITY_CTRL,
+ BIT(port), 0);
Absolutely no idea. The API from the vendor essentially just set/clear
this bit with no comments on use.
Yours,
Linus Walleij