aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/rx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/sfc/rx.c')
-rw-r--r--drivers/net/sfc/rx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/sfc/rx.c b/drivers/net/sfc/rx.c
index 670622373ddf..a6413309c577 100644
--- a/drivers/net/sfc/rx.c
+++ b/drivers/net/sfc/rx.c
@@ -400,9 +400,10 @@ static int __efx_fast_push_rx_descriptors(struct efx_rx_queue *rx_queue,
400 return 0; 400 return 0;
401 401
402 /* Record minimum fill level */ 402 /* Record minimum fill level */
403 if (unlikely(fill_level < rx_queue->min_fill)) 403 if (unlikely(fill_level < rx_queue->min_fill)) {
404 if (fill_level) 404 if (fill_level)
405 rx_queue->min_fill = fill_level; 405 rx_queue->min_fill = fill_level;
406 }
406 407
407 /* Acquire RX add lock. If this lock is contended, then a fast 408 /* Acquire RX add lock. If this lock is contended, then a fast
408 * fill must already be in progress (e.g. in the refill 409 * fill must already be in progress (e.g. in the refill