HomeFreeBSD

mana: Fix TX CQE error handling

Description

mana: Fix TX CQE error handling

For an unknown TX CQE error type (probably from a newer hardware),
still free the mbuf, update the queue tail, etc., otherwise the
accounting will be wrong.

Also, TX errors can be triggered by injecting corrupted packets, so
replace the mana_err to mana_dbg logging.

Reported by: NetApp
MFC after: 1 week
Sponsored by: Microsoft

(cherry picked from commit 516b5059705b6b8bbba28821dbe05964c128f9a9)

Details

Provenance
whuAuthored on Jan 17 2024, 9:19 AM
Parents
rGdd5dabe28483: periodic: Fix periodic reports when log files are not compressed.
Branches
Unknown
Tags
Unknown