Skip to content
Snippets Groups Projects
Commit bb915c84 authored by Stefan Chulski's avatar Stefan Chulski Committed by Stefan Roese
Browse files

net: mvpp2x: fix BM configuration overrun issue


Issue:
BM counters were overrun by probe that called per Network interface and
caused release of wrong number of buffers during remove procedure.

Fix:
Use probe_done and num_ports to call init and remove procedure
once per communication controller.

Signed-off-by: default avatarStefan Chulski <stefanc@marvell.com>
Tested-by: default avatariSoC Platform CI <ykjenk@marvell.com>
Reviewed-by: default avatarIgal Liberman <igall@marvell.com>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
Signed-off-by: default avatarStefan Roese <sr@denx.de>
parent 73f592fb
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment