drivers: eth_mcux: remove interrupt clearing code
Remove code that clears spurious interrupt flags, as this step is not required. Performance change (as tested with iperf on RT1050) TCP RX: 50.8Mbps->50.6Mbps TCP TX: 46.2Mbps->49.5Mbps Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
parent
929db1ba65
commit
d29e34c7c9
|
@ -1338,12 +1338,6 @@ static void eth_mcux_common_isr(const struct device *dev)
|
|||
ENET_TimeStampIRQHandler(context->base, &context->enet_handle);
|
||||
}
|
||||
#endif
|
||||
if (EIR) {
|
||||
ENET_ClearInterruptStatus(context->base,
|
||||
~(kENET_TxBufferInterrupt | kENET_TxFrameInterrupt
|
||||
| kENET_RxBufferInterrupt | kENET_RxFrameInterrupt
|
||||
| ENET_EIR_MII_MASK | ENET_TS_INTERRUPT));
|
||||
}
|
||||
irq_unlock(irq_lock_key);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue