]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: warn if other functions have been reset by MCFW
authorDaniel Pieczko <dpieczko@solarflare.com>
Tue, 21 Jul 2015 14:10:02 +0000 (15:10 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Jul 2015 05:21:32 +0000 (22:21 -0700)
commit8f5eae648d484ecf75cd4ae97671fe470b520d55
tree07cdd6b6c235c8a05c2066ccf2fb7e2bbc1c6b1f
parent4189d6bc9849e6df17c17740dbd2aaa115eae82a
sfc: warn if other functions have been reset by MCFW

When enabling the workaround for cascaded multicast filters, the MC
 can reset other functions if they have already inserted filters.
 In that case, the workaround has been enabled, but print an info
 message in the log recording that other functions had to be reset.

As other functions were reset, the MC will have incremented its boot
 count, so also increment the warm_boot_count on the function which
 enabled the workaround, as that function won't have received an MC
 reboot event and does not need to reset.

Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef10.c