HomeFreeBSD

e1000: fix em_mac_min and 82547 packet buffer

Description

e1000: fix em_mac_min and 82547 packet buffer

The boundary differentiating "lem" vs "em" class devices was wrong
after the iflib conversion of lem(4).

The Packet Buffer size for 82547 class chips was not set correctly
after the iflib conversion of lem(4).

These changes restore functionality on an 82547 for the submitter.

PR: 236119
Reported by: Jeff Gibbons <jgibbons@protogate.com>
Reviewed by: markj
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D29766

(cherry picked from commit bb1b375fa7487ee5c3843121a0621ac8379c18e6)

Details

Provenance
Kevin Bowling <kbowling@FreeBSD.org>Authored on Apr 15 2021, 4:58 PM
Reviewer
markj
Differential Revision
D29766: e1000: fix em_mac_min and 82547 packet buffer
Parents
rG135a6b5652f2: e1000: disable hw.em.sbp debug setting
Branches
Unknown
Tags
Unknown