sfc: Rework efx_set_multicast_hash()
commita816f75ac5caa79b08325e35317f964f03841d52
authorBen Hutchings <bhutchings@solarflare.com>
Mon, 1 Sep 2008 11:49:12 +0000 (1 12:49 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 3 Sep 2008 13:53:49 +0000 (3 09:53 -0400)
treeb54b0f02ac67fd7eb6ca2dee844401f28d93de55
parent3c78708fe83d0fff994683e396e28ef259b7497b
sfc: Rework efx_set_multicast_hash()

When !port_enabled, defer the write to reconfigure_mac_wrapper.

Whilst here, simplify the logic now that efx_start_port() always calls
efx_reconfigure_port().

From: Steve Hodgson <shodgson@solarflare.com>
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/sfc/efx.c