net/sfc: poll MAC stats if periodic DMA is not supported
authorIvan Malov <ivan.malov@oktetlabs.ru>
Thu, 9 Mar 2017 17:23:00 +0000 (17:23 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 16:59:40 +0000 (18:59 +0200)
commit178fc0d3275f1401ffa2df1d3b8ae2ab18d12bf6
treeca3a36ebda263db25c9da82b48ca4be2c361ce30
parente56fa9c23e7a669a2e61253e1a66b50337575ba6
net/sfc: poll MAC stats if periodic DMA is not supported

If periodic DMA statistics feature is absent (particularly,
while running over VF), the PMD must provide an ability to
cope with it using explicit update requests which are kept
restrained according to 'stats_update_period_ms' parameter

Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Andy Moreton <amoreton@solarflare.com>
drivers/net/sfc/sfc.h
drivers/net/sfc/sfc_port.c