netdev
[Top] [All Lists]

Re: patch - SNMP Kernel Counters

To: mkprice@xxxxxxxxxx (Mark Price)
Subject: Re: patch - SNMP Kernel Counters
From: kuznet@xxxxxxxxxxxxx
Date: Fri, 5 Oct 2001 22:37:03 +0400 (MSK DST)
Cc: mkprice@xxxxxxxxxx, netdev@xxxxxxxxxxx, davem@xxxxxxxxxx
In-reply-to: <Pine.LNX.4.33.0110051057140.2037-100000@xxxxxxxxxxxxxxxxxxxxx> from "Mark Price" at Oct 5, 1 11:05:06 am
Sender: owner-netdev@xxxxxxxxxxx
Hello!

> The reason I did not increment this counter in the "drop:" label is that
> the counter should not be incremented on all drops. The description of
> IpInDiscards is:

I see. Indeed.


> So I only increment in two places, once when skb_cow() fails, and once
> when skb_share_check() fails.

Well, make another label sort of "drop_and_account", "drop_with_acct" :-)
Invent good name. :-)

Alexey

<Prev in Thread] Current Thread [Next in Thread>