aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/sfc')
-rw-r--r--drivers/net/sfc/efx.c4
-rw-r--r--drivers/net/sfc/efx.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/sfc/efx.c b/drivers/net/sfc/efx.c
index 7673fd92eaf5..77aca5d67b57 100644
--- a/drivers/net/sfc/efx.c
+++ b/drivers/net/sfc/efx.c
@@ -225,11 +225,11 @@ static int efx_poll(struct napi_struct *napi, int budget)
225 225
226 if (rx_packets < budget) { 226 if (rx_packets < budget) {
227 /* There is no race here; although napi_disable() will 227 /* There is no race here; although napi_disable() will
228 * only wait for netif_rx_complete(), this isn't a problem 228 * only wait for napi_complete(), this isn't a problem
229 * since efx_channel_processed() will have no effect if 229 * since efx_channel_processed() will have no effect if
230 * interrupts have already been disabled. 230 * interrupts have already been disabled.
231 */ 231 */
232 netif_rx_complete(napi); 232 napi_complete(napi);
233 efx_channel_processed(channel); 233 efx_channel_processed(channel);
234 } 234 }
235 235
diff --git a/drivers/net/sfc/efx.h b/drivers/net/sfc/efx.h
index 0dd7a532c78a..fb1ac0e63c0b 100644
--- a/drivers/net/sfc/efx.h
+++ b/drivers/net/sfc/efx.h
@@ -77,7 +77,7 @@ static inline void efx_schedule_channel(struct efx_channel *channel)
77 channel->channel, raw_smp_processor_id()); 77 channel->channel, raw_smp_processor_id());
78 channel->work_pending = true; 78 channel->work_pending = true;
79 79
80 netif_rx_schedule(&channel->napi_str); 80 napi_schedule(&channel->napi_str);
81} 81}
82 82
83#endif /* EFX_EFX_H */ 83#endif /* EFX_EFX_H */