[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ffb741d4f1204695951ee7fa4f4138df@mail.gmail.com>
Date: Wed, 27 Jul 2016 09:35:46 +0530
From: Sathya Perla <sathya.perla@...adcom.com>
To: "Guilherme G. Piccoli" <gpiccoli@...ux.vnet.ibm.com>,
Ajit Kumar Khaparde <ajit.khaparde@...adcom.com>,
Sriharsha Basavapatna <sriharsha.basavapatna@...adcom.com>,
Somnath Kotur <somnath.kotur@...adcom.com>
Cc: netdev@...r.kernel.org
Subject: RE: [PATCH net] be2net: perform temperature query in adapter
regardless of its interface state
> -----Original Message-----
> From: Guilherme G. Piccoli [mailto:gpiccoli@...ux.vnet.ibm.com]
>
> The be2net driver performs fw temperature queries on be_worker()
routine, which is executed each second for
> each be_adapter. There is a frequency threshold to avoid fw query to
happens at each call to be_worker();
> instead, currently a fw query occurs once in 64 runs of the procedure.
>
> Nevertheless, this fw temperature query is invoked only for adapters
which interface is up, so we can see I/O
> errors on read of hwmon counters from userspace (from tools like
lm-sensors) in case we have adapters'
> functions which interface is down.
>
> This patch moves the fw query code to be invoked even if interface is
down.
> No functional changes were introduced.
>
> Signed-off-by: Guilherme G. Piccoli <gpiccoli@...ux.vnet.ibm.com>
Acked-by: Sathya Perla <sathya.perla@...adcom.com>
Powered by blists - more mailing lists