aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorDaniel Pieczko <dpieczko@solarflare.com>2015-12-04 08:48:39 +0000
committerDavid S. Miller <davem@davemloft.net>2015-12-05 17:59:10 -0500
commitabd86a55f4079d00ba2a0bcca6fe33be45f3e2ff (patch)
treeda3e344c9d80e1e4287b4d6c0212989e6709fbb7 /net
parentatm: solos-pci: Replace simple_strtol by kstrtoint (diff)
downloadlinux-dev-abd86a55f4079d00ba2a0bcca6fe33be45f3e2ff.tar.xz
linux-dev-abd86a55f4079d00ba2a0bcca6fe33be45f3e2ff.zip
sfc: check warm_boot_count after other functions have been reset
A change in MCFW behaviour means that the net driver must update its record of the warm_boot_count by reading it from the ER_DZ_BIU_MC_SFT_STATUS register. On v4.6.x MCFW the global boot count was incremented when some functions needed to be reset to enable multicast chaining, so all functions saw the same value. In that case, the driver needed to increment its warm_boot_count when other functions were reset, to avoid noticing it later and then trying to reset itself to recover unnecessarily. With v4.7+ MCFW, the boot count in firmware doesn't change as that is unnecessary since the PFs that have been reset will each receive an MC reboot notification. In that case, the driver re-reads the unchanged value. Signed-off-by: Bert Kenward <bkenward@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions