vioif norcvbuf kstat goes up for each receive interrupt
The mac:norcvbuf kstat is meant to account for dropped received packets
due to memory allocation failures. For vioif, this kstat gets
erroneously bumped by 1 under normal conditions each time a receive
interrupt is received.
This problem is that the loop responsible for allocating new rx
resources terminates only when vq_alloc_entry() returns NULL (when all
entries in the queue have been allocated), which is a normal condition.
This condition shouldn't result in any kstat getting bumped.
Updated by Electric Monk about 4 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit 325bfec6aff6eb2bbacaf3bebb1eb4578418b31a Author: Sebastien Roy <firstname.lastname@example.org> Date: 2017-01-24T22:55:13.000Z 7764 vioif norcvbuf kstat goes up for each receive interrupt Reviewed by: Dan Kimmel <email@example.com> Reviewed by: Pavel Zakharov <firstname.lastname@example.org> Reviewed by: Steve Gonczi <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>