Project

General

Profile

Actions

Bug #7764

closed

vioif norcvbuf kstat goes up for each receive interrupt

Added by Prakash Surya almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
networking
Start date:
2017-01-12
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

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.

Actions #1

Updated by Electric Monk almost 5 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit 325bfec6aff6eb2bbacaf3bebb1eb4578418b31a

commit  325bfec6aff6eb2bbacaf3bebb1eb4578418b31a
Author: Sebastien Roy <seb@delphix.com>
Date:   2017-01-24T22:55:13.000Z

    7764 vioif norcvbuf kstat goes up for each receive interrupt
    Reviewed by: Dan Kimmel <dan.kimmel@delphix.com>
    Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com>
    Reviewed by: Steve Gonczi <steve.gonczi@delphix.com>
    Approved by: Dan McDonald <danmcd@omniti.com>

Actions

Also available in: Atom PDF