Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
9d9a6973
Commit
9d9a6973
authored
Feb 10, 2012
by
Ben Hutchings
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sfc: Use proper function to test for RX channel in efx_poll()
Signed-off-by:
Ben Hutchings
<
bhutchings@solarflare.com
>
parent
9f2cb71c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drivers/net/ethernet/sfc/efx.c
drivers/net/ethernet/sfc/efx.c
+1
-1
No files found.
drivers/net/ethernet/sfc/efx.c
View file @
9d9a6973
...
@@ -279,7 +279,7 @@ static int efx_poll(struct napi_struct *napi, int budget)
...
@@ -279,7 +279,7 @@ static int efx_poll(struct napi_struct *napi, int budget)
spent
=
efx_process_channel
(
channel
,
budget
);
spent
=
efx_process_channel
(
channel
,
budget
);
if
(
spent
<
budget
)
{
if
(
spent
<
budget
)
{
if
(
channel
->
channel
<
efx
->
n_rx_channels
&&
if
(
efx_channel_has_rx_queue
(
channel
)
&&
efx
->
irq_rx_adaptive
&&
efx
->
irq_rx_adaptive
&&
unlikely
(
++
channel
->
irq_count
==
1000
))
{
unlikely
(
++
channel
->
irq_count
==
1000
))
{
if
(
unlikely
(
channel
->
irq_mod_score
<
if
(
unlikely
(
channel
->
irq_mod_score
<
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment