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
ebedb22d
Commit
ebedb22d
authored
Jun 09, 2010
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'num_rx_queues' of
git://kernel.ubuntu.com/rtg/net-2.6
parents
619baba1
08c801f8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
net/core/dev.c
net/core/dev.c
+3
-5
No files found.
net/core/dev.c
View file @
ebedb22d
...
...
@@ -2253,11 +2253,9 @@ static int get_rps_cpu(struct net_device *dev, struct sk_buff *skb,
if
(
skb_rx_queue_recorded
(
skb
))
{
u16
index
=
skb_get_rx_queue
(
skb
);
if
(
unlikely
(
index
>=
dev
->
num_rx_queues
))
{
if
(
net_ratelimit
())
{
pr_warning
(
"%s received packet on queue "
"%u, but number of RX queues is %u
\n
"
,
WARN_ONCE
(
dev
->
num_rx_queues
>
1
,
"%s received packet "
"on queue %u, but number of RX queues is %u
\n
"
,
dev
->
name
,
index
,
dev
->
num_rx_queues
);
}
goto
done
;
}
rxqueue
=
dev
->
_rx
+
index
;
...
...
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