linux/drivers/net/ethernet/emulex/benet
Guilherme G. Piccoli d3480615cf be2net: perform temperature query in adapter regardless of its interface state
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@linux.vnet.ibm.com>
Acked-by: Sathya Perla <sathya.perla@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-07-26 23:17:42 -07:00
..
be_cmds.c be2net: Change copyright markings in source files 2016-06-27 04:06:24 -04:00
be_cmds.h be2net: Change copyright markings in source files 2016-06-27 04:06:24 -04:00
be_ethtool.c be2net: Change copyright markings in source files 2016-06-27 04:06:24 -04:00
be_hw.h be2net: update copyright year to 2015 2015-05-09 16:27:04 -04:00
be_main.c be2net: perform temperature query in adapter regardless of its interface state 2016-07-26 23:17:42 -07:00
be_roce.c be2net: Change copyright markings in source files 2016-06-27 04:06:24 -04:00
be_roce.h be2net: Change copyright markings in source files 2016-06-27 04:06:24 -04:00
be.h be2net: Change copyright markings in source files 2016-06-27 04:06:24 -04:00
Kconfig benet: Replace ndo_add/del_vxlan_port with ndo_add/del_udp_enc_port 2016-06-17 20:23:30 -07:00
Makefile