Thread (5 messages) 5 messages, 2 authors, 2026-03-13

Re: [PATCH v4 net 1/2] net: enetc: reset PIR and CIR if they are not equal when initializing TX ring

From: Frank Li <Frank.Li@nxp.com>
Date: 2026-03-12 19:21:13
Also in: imx, lkml

From: Frank Li (AI-BOT) <frank.li@nxp.com>
Currently the driver does not reset the producer index register (PIR) and
consumer index register (CIR) when initializing a TX BD ring. The driver
only reads the PIR and CIR and initializes the software indexes. If the
TX BD ring is reinitialized when it still contains unsent frames, its PIR
and CIR will not be equal after the reinitialization. However, the BDs
between CIR and PIR have been freed and become invalid and this can lead
to a hardware malfunction, causing the TX BD ring will not work perperly.
AI: Typo: "perperly" should be "properly"

Frank
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help