HomeFreeBSD

axge: Skip dummy packet headers

Description

axge: Skip dummy packet headers

Newer versions of the AX88179 interweave dummies alongside valid
packet headers in bulk IN transfer data. This was probably done for
backward compatibility with existing drivers.

However current driver records these dummy headers as dropped frames,
leading to stats misreporting one Ierr per Ipkt.

This skips those dummy headers silently, thereby not generating Ierrs
for them.

Reviewed by: emaste
Pull Request: https://github.com/freebsd/freebsd-src/pull/842

Details

Provenance
Damien Broka <git@damien.sh>Authored on Sep 13 2023, 8:23 AM
emasteCommitted on Sep 13 2023, 2:08 PM
Parents
rGbb56b36d7188: sctp: further improve shutting down the read side of a socket
Branches
Unknown
Tags
Unknown