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:
parent
4b0d29dcfc
commit
ef2b90ee4d
6 changed files with 105 additions and 63 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue