Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/farady: Keep MAC always active for NCSI packets
The status of MAC and NCSI interface are sychronized. When NCSI interface is down, the MAC is brought down. It means the NCSI packets (especially AEN packets) cannot be received by the MAC's driver even they're transmitted by far end. It causes one issue: the ethernet cable is unplugged initially and system boots up with down NCSI interface. The MAC stops receiving any ingress traffic including NCSI packets. At later point, one NCSI (AEN) packet is sent from far end when the ethernet cable is plugged. We're going to miss the AEN on local end and the interface has to be down for ever. This keeps the receive/transmit buffer, IRQ and NAPI are always enabled so that we won't miss any NCSI packets even the interrupt is currently in link down state. Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Signed-off-by: Joel Stanley <joel@jms.id.au>
- Loading branch information