HomeFreeBSD

e1000: fix link power down

Description

e1000: fix link power down

DPDK commit message

net/e1000/base: fix link power down
Current code is a result of work to reduce duplication between various
device models. However, the logic that was replaced did not exactly
match the new logic, and as a result the link power down was not
working correctly for some NICs, and the link remained up even when
the interface is down.

Fix it to correctly power down the link under all circumstances that
were supported by old logic.

Fixes: 44dddd1 ("net/e1000/base: remove duplicated codes")
Cc: stable@dpdk.org

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>

Obtained from: DPDK (a8218d0)

(cherry picked from commit 811912c46b5886f1aa3bb7a51a6ec1270bc947a8)

Details

Provenance
Anatoly Burakov <anatoly.burakov@intel.com>Authored on Sep 19 2024, 5:38 AM
Kevin Bowling <kbowling@FreeBSD.org>Committed on Sep 26 2024, 3:27 AM
Parents
rG8748daf670ee: ure(4): Add ID for LAN port in Thinkpad OneLink+ dock
Branches
Unknown
Tags
Unknown

Event Timeline

Kevin Bowling <kbowling@FreeBSD.org> committed rGee5cdcc50d36: e1000: fix link power down (authored by Anatoly Burakov <anatoly.burakov@intel.com>).Sep 26 2024, 3:27 AM