ar8216: flush ARL table during reset after init_globals #838
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi
in commit ec1a695 ar8327_get_arl_entry() function is disabled due to lockups on some devices when swconfig dev get_arl_table (or show) is executed.
We had similar lockups when arl table was read shortly after a reboot where a device was reset by the hardware watchdog. Waiting some minutes after reboot before executing this command we couldn't trigger this lockup anymore.
I think I've found the cause for this issue (FS#384):
commit 33b72b8
"ar8216: adjust ATU flushing in case of link changes"
introduced portwise flushing on link down events. Now the ARL table could
be in a chaotic state after boot where ar8xxx_sw_get_arl_table looped
forever (depending on the entries collected while booting).
Signed-off-by: Günther Kelleter guenther.kelleter@devolo.de
If this fixes it commit ec1a695 should be reverted!