summaryrefslogtreecommitdiff
path: root/doc/develop
diff options
context:
space:
mode:
authorYe Li <[email protected]>2024-09-24 15:32:00 +0800
committerFabio Estevam <[email protected]>2024-09-24 16:55:14 -0300
commit99abeaa648052e8e99682f046b8dfd3739b4e181 (patch)
treecd9fc129986df27bc029e1c954211c8132afcb9a /doc/develop
parent94d02f13dbc582cf0644a53da33cc4ad9213661f (diff)
net: fec_mxc: Skip recv packet process when fec is halted
After FEC is halted by calling fec_halt callback, we should not continue receiving packet. Otherwise it will process previous pending interrupts on EIR register and uses wrong rbd index as this has been reset to 0. The GRA interrupt which is triggered by issuing graceful stop command to FEC transmitter in fec_halt is processed in this case. It causes wrong receive buffer descriptors be used by FEC in next time. Signed-off-by: Ye Li <[email protected]> Reviewed-by: Peng Fan <[email protected]> Signed-off-by: Peng Fan <[email protected]>
Diffstat (limited to 'doc/develop')
0 files changed, 0 insertions, 0 deletions