sfc: Move Falcon NIC operations to efx_nic_type
This is preparation for adding differing implementations for new NICs. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
4b0d29dcfc
commit
ef2b90ee4d
@@ -649,7 +649,7 @@ static int efx_ethtool_set_coalesce(struct net_device *net_dev,
|
||||
|
||||
efx_init_irq_moderation(efx, tx_usecs, rx_usecs, adaptive);
|
||||
efx_for_each_channel(channel, efx)
|
||||
falcon_set_int_moderation(channel);
|
||||
efx->type->push_irq_moderation(channel);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user