sfc: remove max_interrupt_mode
All NICs supported by this driver are capable of MSI-X interrupts (only Falcon A1 wasn't, and that's now hived off into its own driver), so no need for a nic-type parameter. Besides, the code that checked it was buggy anyway (the following assignment that checked min_interrupt_mode overrode it). Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
af3c38d3fb
commit
bc32442176
@@ -4108,7 +4108,6 @@ const struct efx_nic_type efx_hunt_a0_vf_nic_type = {
|
||||
.can_rx_scatter = true,
|
||||
.always_rx_scatter = true,
|
||||
.min_interrupt_mode = EFX_INT_MODE_MSIX,
|
||||
.max_interrupt_mode = EFX_INT_MODE_MSIX,
|
||||
.timer_period_max = 1 << ERF_DD_EVQ_IND_TIMER_VAL_WIDTH,
|
||||
.offload_features = EF10_OFFLOAD_FEATURES,
|
||||
.mcdi_max_ver = 2,
|
||||
@@ -4245,7 +4244,6 @@ const struct efx_nic_type efx_hunt_a0_nic_type = {
|
||||
.always_rx_scatter = true,
|
||||
.option_descriptors = true,
|
||||
.min_interrupt_mode = EFX_INT_MODE_LEGACY,
|
||||
.max_interrupt_mode = EFX_INT_MODE_MSIX,
|
||||
.timer_period_max = 1 << ERF_DD_EVQ_IND_TIMER_VAL_WIDTH,
|
||||
.offload_features = EF10_OFFLOAD_FEATURES,
|
||||
.mcdi_max_ver = 2,
|
||||
|
Reference in New Issue
Block a user