Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
linux-backend-4.9.5
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pacer
linux-backend-4.9.5
Commits
5d262548
Commit
5d262548
authored
6 years ago
by
Roberta De Viti
Browse files
Options
Downloads
Plain Diff
Merge branch 'xenpacer-cwnd' into xenpacer-exp
parents
4642bc3a
d051dadc
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
+12
-2
12 additions, 2 deletions
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
with
12 additions
and
2 deletions
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
+
12
−
2
View file @
5d262548
...
@@ -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);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment