HomeFreeBSD

e1000: prevent ULP flow if cable connected

Description

e1000: prevent ULP flow if cable connected

Enabling ulp on link down when cable is connect caused an infinite
loop of linkup/down indications in the NDIS driver.
After discussed, correct flow is to enable ULP only when cable is
disconnected.

Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>

Approved by: imp
Obtained from: DPDK (4bff263d54d299269966365f9697941eecaa241b)
MFC after: 1 week

Details

Provenance
Wenzhuo Lu <wenzhuo.lu@intel.com>Authored on Oct 16 2015, 2:51 AM
Kevin Bowling <kbowling@FreeBSD.org>Committed on Sep 17 2021, 9:25 PM
Parents
rG089cdb3990f4: e1000: clean LTO warnings
Branches
Unknown
Tags
Unknown