Thread (18 messages) flat view 18 messages, 3 authors, 2021-10-05

Re: [PATCH net-next 3/4 v4] net: dsa: rtl8366rb: Support fast aging

From: Linus Walleij <hidden>
Date: 2021-10-04 22:41:47

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help