opnsense-src/sys/dev/mana
Wei Hu 33cd621105 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)
2024-01-24 12:36:13 +00:00
..
gdma.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
gdma_main.c mana: batch ringing RX queue doorbell on receiving packets 2023-09-09 12:51:57 +00:00
gdma_util.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
gdma_util.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
hw_channel.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
hw_channel.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mana.h mana: Fix TX CQE error handling 2024-01-24 12:36:13 +00:00
mana_en.c mana: Fix TX CQE error handling 2024-01-24 12:36:13 +00:00
mana_sysctl.c mana: Fix TX CQE error handling 2024-01-24 12:36:13 +00:00
mana_sysctl.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
shm_channel.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
shm_channel.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00