sfc: initialise max_[tx_]channels in efx_init_channels()
Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
20e1026cbe
commit
937aa3ae4d
@ -566,6 +566,9 @@ int efx_init_channels(struct efx_nic *efx)
|
||||
efx->interrupt_mode = min(efx->type->min_interrupt_mode,
|
||||
interrupt_mode);
|
||||
|
||||
efx->max_channels = EFX_MAX_CHANNELS;
|
||||
efx->max_tx_channels = EFX_MAX_CHANNELS;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user