sfc: get timer configuration from adapter
authorBert Kenward <bkenward@solarflare.com>
Thu, 11 Aug 2016 12:02:36 +0000 (13:02 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Aug 2016 03:42:20 +0000 (20:42 -0700)
commitd95e329a55baaea8c00d1b3e0ce22c974d447524
treef95631818601476a296eeee1fb6c0bf81e70505f
parent539de7c5240a257c9028b3063873170a6867b159
sfc: get timer configuration from adapter

On SFN8000 series adapters the MC provides a method to get the timer
quantum and the maximum timer setting. We revert to the old values if the
new call is unavailable.

Signed-off-by: Bert Kenward <bkenward@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef10.c
drivers/net/ethernet/sfc/efx.c
drivers/net/ethernet/sfc/falcon.c
drivers/net/ethernet/sfc/net_driver.h
drivers/net/ethernet/sfc/siena.c