[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <54B9A36B.1050204@gmail.com>
Date: Fri, 16 Jan 2015 16:48:59 -0700
From: David Ahern <dsahern@...il.com>
To: Scott Feldman <sfeldma@...il.com>
CC: Netdev <netdev@...r.kernel.org>, Jiri Pirko <jiri@...nulli.us>
Subject: Re: [PATCH] net: rocker: Add basic netdev counters - v2
On 1/16/15 4:41 PM, Scott Feldman wrote:
>
> Thanks David. I think this is good enough for first pass. Longer
> term, I'd like to see this replaced by stats read from device for each
> port.
Aren't there 2 sets of stats at play here?
1. packets punted to the control plane / CPU,
2. packets forwarded through the ports.
If you have the netdev counters resemble packets handled through the
port it could be confusing to someone looking at packets handled by the OS.
What about having detailed counters local to the driver (i.e., ethtool
-S) show the low level stats like packets handled through the port?
David
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists