diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2011-09-13 14:47:48 -0400 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2012-01-26 19:10:48 -0500 |
commit | 30b81cda9516878906b44fed16aac9df1dbb89c7 (patch) | |
tree | e3e7f48c69176373d6ffb9406f5ac6ec7b8ed7e4 /drivers/net/ethernet/sfc/net_driver.h | |
parent | 1daf417029ddc10b7854430c1e1118df791d0eaf (diff) |
sfc: Remove efx_nic_type::push_multicast_hash operation
Both implementations of efx_nic_type::reconfigure_mac operation
push the multicast hash filter to the hardware. It is therefore
redundant to call efx_nic_type::push_multicast_hash as well.
efx_mcdi_mac_reconfigure() also uses this operation, but the
implementation for Siena just uses MCDI anyway. Merge that into
efx_mcdi_mac_reconfigure().
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/ethernet/sfc/net_driver.h')
-rw-r--r-- | drivers/net/ethernet/sfc/net_driver.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/ethernet/sfc/net_driver.h b/drivers/net/ethernet/sfc/net_driver.h index aa5a321a1419..a88e95f58b0a 100644 --- a/drivers/net/ethernet/sfc/net_driver.h +++ b/drivers/net/ethernet/sfc/net_driver.h | |||
@@ -826,9 +826,9 @@ static inline unsigned int efx_port_num(struct efx_nic *efx) | |||
826 | * @stop_stats: Stop the regular fetching of statistics | 826 | * @stop_stats: Stop the regular fetching of statistics |
827 | * @set_id_led: Set state of identifying LED or revert to automatic function | 827 | * @set_id_led: Set state of identifying LED or revert to automatic function |
828 | * @push_irq_moderation: Apply interrupt moderation value | 828 | * @push_irq_moderation: Apply interrupt moderation value |
829 | * @push_multicast_hash: Apply multicast hash table | ||
830 | * @reconfigure_port: Push loopback/power/txdis changes to the MAC and PHY | 829 | * @reconfigure_port: Push loopback/power/txdis changes to the MAC and PHY |
831 | * @reconfigure_mac: Reconfigure MAC only. Serialised by the mac_lock | 830 | * @reconfigure_mac: Push MAC address, MTU, flow control and filter settings |
831 | * to the hardware. Serialised by the mac_lock. | ||
832 | * @check_mac_fault: Check MAC fault state. True if fault present. | 832 | * @check_mac_fault: Check MAC fault state. True if fault present. |
833 | * @get_wol: Get WoL configuration from driver state | 833 | * @get_wol: Get WoL configuration from driver state |
834 | * @set_wol: Push WoL configuration to the NIC | 834 | * @set_wol: Push WoL configuration to the NIC |
@@ -872,7 +872,6 @@ struct efx_nic_type { | |||
872 | void (*stop_stats)(struct efx_nic *efx); | 872 | void (*stop_stats)(struct efx_nic *efx); |
873 | void (*set_id_led)(struct efx_nic *efx, enum efx_led_mode mode); | 873 | void (*set_id_led)(struct efx_nic *efx, enum efx_led_mode mode); |
874 | void (*push_irq_moderation)(struct efx_channel *channel); | 874 | void (*push_irq_moderation)(struct efx_channel *channel); |
875 | void (*push_multicast_hash)(struct efx_nic *efx); | ||
876 | int (*reconfigure_port)(struct efx_nic *efx); | 875 | int (*reconfigure_port)(struct efx_nic *efx); |
877 | int (*reconfigure_mac)(struct efx_nic *efx); | 876 | int (*reconfigure_mac)(struct efx_nic *efx); |
878 | bool (*check_mac_fault)(struct efx_nic *efx); | 877 | bool (*check_mac_fault)(struct efx_nic *efx); |