[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3e0f5494-3d5c-06e8-a5b2-12b735390629@gmail.com>
Date: Wed, 11 Apr 2018 19:59:56 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Saeed Mahameed <saeedm@...lanox.com>,
"eric.dumazet@...il.com" <eric.dumazet@...il.com>,
"davem@...emloft.net" <davem@...emloft.net>
Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [RFC net-next 1/2] net: net-porcfs: Reduce rcu lock critical
section
On 04/11/2018 04:47 PM, Saeed Mahameed wrote:
>
> Well if we allow devices to access HW counters via FW command
> interfaces in ndo_get_stats and by testing mlx5 where we query up to 5
> hw registers, it could take 100us, still this is way smaller than 10sec
> :) and it is really a nice rate to fetch HW stats on demand.
If hardware stats are slower than software ones, maybe it is time to use software stats,
instead of changing the whole stack ?
There are very few devices drivers having issues like that.
Powered by blists - more mailing lists