diff options
Diffstat (limited to 'drivers/net/sfc/falcon.c')
-rw-r--r-- | drivers/net/sfc/falcon.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/net/sfc/falcon.c b/drivers/net/sfc/falcon.c index 03194d6034ef..bfae0826848a 100644 --- a/drivers/net/sfc/falcon.c +++ b/drivers/net/sfc/falcon.c | |||
@@ -2780,19 +2780,14 @@ int falcon_init_nic(struct efx_nic *efx) | |||
2780 | EFX_INVERT_OWORD(temp); | 2780 | EFX_INVERT_OWORD(temp); |
2781 | falcon_write(efx, &temp, FATAL_INTR_REG_KER); | 2781 | falcon_write(efx, &temp, FATAL_INTR_REG_KER); |
2782 | 2782 | ||
2783 | /* Set number of RSS queues for receive path. */ | ||
2784 | falcon_read(efx, &temp, RX_FILTER_CTL_REG); | ||
2785 | if (falcon_rev(efx) >= FALCON_REV_B0) | ||
2786 | EFX_SET_OWORD_FIELD(temp, NUM_KER, 0); | ||
2787 | else | ||
2788 | EFX_SET_OWORD_FIELD(temp, NUM_KER, efx->n_rx_queues - 1); | ||
2789 | if (EFX_WORKAROUND_7244(efx)) { | 2783 | if (EFX_WORKAROUND_7244(efx)) { |
2784 | falcon_read(efx, &temp, RX_FILTER_CTL_REG); | ||
2790 | EFX_SET_OWORD_FIELD(temp, UDP_FULL_SRCH_LIMIT, 8); | 2785 | EFX_SET_OWORD_FIELD(temp, UDP_FULL_SRCH_LIMIT, 8); |
2791 | EFX_SET_OWORD_FIELD(temp, UDP_WILD_SRCH_LIMIT, 8); | 2786 | EFX_SET_OWORD_FIELD(temp, UDP_WILD_SRCH_LIMIT, 8); |
2792 | EFX_SET_OWORD_FIELD(temp, TCP_FULL_SRCH_LIMIT, 8); | 2787 | EFX_SET_OWORD_FIELD(temp, TCP_FULL_SRCH_LIMIT, 8); |
2793 | EFX_SET_OWORD_FIELD(temp, TCP_WILD_SRCH_LIMIT, 8); | 2788 | EFX_SET_OWORD_FIELD(temp, TCP_WILD_SRCH_LIMIT, 8); |
2789 | falcon_write(efx, &temp, RX_FILTER_CTL_REG); | ||
2794 | } | 2790 | } |
2795 | falcon_write(efx, &temp, RX_FILTER_CTL_REG); | ||
2796 | 2791 | ||
2797 | falcon_setup_rss_indir_table(efx); | 2792 | falcon_setup_rss_indir_table(efx); |
2798 | 2793 | ||