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

(cherry picked from commit 40fa6e53f53cde84f6f5c7330f89e4ae373d7d93)

Details

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

Event Timeline

Kevin Bowling <kbowling@FreeBSD.org> committed rG9e44dd372efa: e1000: prevent ULP flow if cable connected (authored by Wenzhuo Lu <wenzhuo.lu@intel.com>).Sep 24 2021, 1:33 AM