net/qede: allow firmware to query LAN stats
authorHarish Patil <harish.patil@qlogic.com>
Sat, 7 May 2016 04:21:31 +0000 (21:21 -0700)
committerBruce Richardson <bruce.richardson@intel.com>
Wed, 15 Jun 2016 15:13:55 +0000 (17:13 +0200)
commit8a9c69ae4a481256c16812269ecfd1e813323991
tree769b97ffeb4fc07281582ae7947b7d368e90b75c
parent3bae17d714947315c420191e1b75eb4e9d94c05d
net/qede: allow firmware to query LAN stats

Under certain scenarios, management firmware (MFW) periodically polls
the driver for LAN statistics. This patch implements the osal hook to
fill in the stats.

Fixes: ec94dbc57362 ("qede: add base driver")

Signed-off-by: Harish Patil <harish.patil@qlogic.com>
drivers/net/qede/base/bcm_osal.c
drivers/net/qede/base/bcm_osal.h