sfc: DMA the VF stats only when requested
authorDaniel Pieczko <dpieczko@solarflare.com>
Tue, 2 Jun 2015 10:39:20 +0000 (11:39 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jun 2015 19:57:28 +0000 (12:57 -0700)
commitd778819609a27efd5358da8151a0ad3507243e19
treeda3859f59606c86beae6739d69fa99815208994f
parent3c36a2aded8c9ef06bd09183bd6905f6b55f9886
sfc: DMA the VF stats only when requested

Firmware does not support a periodic DMA of vadaptor-stats
on VFs, so only update the stats buffer when stats are
requested (when running "ethtool -S" or an ip/ifconfig
command that reports stats).

Signed-off-by: Shradha Shah <sshah@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef10.c
drivers/net/ethernet/sfc/mcdi_pcol.h
This page took 0.029163 seconds and 5 git commands to generate.