aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/net_driver.h
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2009-11-25 11:12:16 -0500
committerDavid S. Miller <davem@davemloft.net>2009-11-26 18:59:49 -0500
commit8be4f3e6f7b670529bd67aa1f0319bec1e29ebcf (patch)
tree1d92fa5b1b1046f052c20d8bdaa17ffce6881446 /drivers/net/sfc/net_driver.h
parent9007b9fa368b172e6b9a985899080fbebb7d3204 (diff)
sfc: Change MAC promiscuity and multicast hash at the same time
From: Steve Hodgson <shodgson@solarflare.com> Currently we can set multicast hash immediately (in atomic context) but must delay setting MAC promiscuity. There is not that much point in deferring one but not the other, and setting the multicast hash on Siena will involve a firmware request. So process them both in efx_mac_work(). Also, set the broadcast bit in the multicast hash in efx_set_multicast_list(), since this is required for both Falcon and Siena. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/net_driver.h')
-rw-r--r--drivers/net/sfc/net_driver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sfc/net_driver.h b/drivers/net/sfc/net_driver.h
index cc1a97b0a0d3..ead1c982365b 100644
--- a/drivers/net/sfc/net_driver.h
+++ b/drivers/net/sfc/net_driver.h
@@ -730,7 +730,7 @@ union efx_multicast_hash {
730 * @multicast_hash: Multicast hash table 730 * @multicast_hash: Multicast hash table
731 * @wanted_fc: Wanted flow control flags 731 * @wanted_fc: Wanted flow control flags
732 * @phy_work: work item for dealing with PHY events 732 * @phy_work: work item for dealing with PHY events
733 * @mac_work: work item for dealing with MAC events 733 * @mac_work: Work item for changing MAC promiscuity and multicast hash
734 * @loopback_mode: Loopback status 734 * @loopback_mode: Loopback status
735 * @loopback_modes: Supported loopback mode bitmask 735 * @loopback_modes: Supported loopback mode bitmask
736 * @loopback_selftest: Offline self-test private state 736 * @loopback_selftest: Offline self-test private state