Skip to content
Snippets Groups Projects
Commit 5d262548 authored by Roberta De Viti's avatar Roberta De Viti
Browse files

Merge branch 'xenpacer-cwnd' into xenpacer-exp

parents 4642bc3a d051dadc
No related branches found
No related tags found
No related merge requests found
...@@ -2335,7 +2335,12 @@ rx_intercept: ...@@ -2335,7 +2335,12 @@ rx_intercept:
goto rx_intercept; goto rx_intercept;
} }
napi_schedule_irqoff(&bnx2x_fp(bp, fp->index, napi)); /*
* in modified driver, interrupts are still on,
* so need to schedule with irqsave.
*/
napi_schedule(&bnx2x_fp(bp, fp->index, napi));
// napi_schedule_irqoff(&bnx2x_fp(bp, fp->index, napi));
return IRQ_HANDLED; return IRQ_HANDLED;
} }
...@@ -4688,7 +4693,12 @@ static int bnx2x_poll(struct napi_struct *napi, int budget) ...@@ -4688,7 +4693,12 @@ static int bnx2x_poll(struct napi_struct *napi, int budget)
napi_complete(napi); napi_complete(napi);
if (bnx2x_has_rx_work(fp)) { if (bnx2x_has_rx_work(fp)) {
napi_schedule_irqoff(napi); /*
* in modified driver, interrupts are still on,
* so need to reschedule with irqsave.
*/
napi_reschedule(napi);
// napi_schedule_irqoff(napi);
#if 0 #if 0
/* enable this if irq enabled from here */ /* enable this if irq enabled from here */
tmp_bd_prod = NEXT_RX_IDX(fp->rx_bd_prod); tmp_bd_prod = NEXT_RX_IDX(fp->rx_bd_prod);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment