Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
1383bdb9
Commit
1383bdb9
authored
Mar 29, 2009
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tg3: Add GRO support.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
4099e012
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/net/tg3.c
drivers/net/tg3.c
+2
-2
No files found.
drivers/net/tg3.c
View file @
1383bdb9
...
@@ -4392,7 +4392,7 @@ static void tg3_recycle_rx(struct tg3 *tp, u32 opaque_key,
...
@@ -4392,7 +4392,7 @@ static void tg3_recycle_rx(struct tg3 *tp, u32 opaque_key,
#if TG3_VLAN_TAG_USED
#if TG3_VLAN_TAG_USED
static
int
tg3_vlan_rx
(
struct
tg3
*
tp
,
struct
sk_buff
*
skb
,
u16
vlan_tag
)
static
int
tg3_vlan_rx
(
struct
tg3
*
tp
,
struct
sk_buff
*
skb
,
u16
vlan_tag
)
{
{
return
vlan_
hwaccel_receive_skb
(
skb
,
tp
->
vlgrp
,
vlan_tag
);
return
vlan_
gro_receive
(
&
tp
->
napi
,
tp
->
vlgrp
,
vlan_tag
,
skb
);
}
}
#endif
#endif
...
@@ -4539,7 +4539,7 @@ static int tg3_rx(struct tg3 *tp, int budget)
...
@@ -4539,7 +4539,7 @@ static int tg3_rx(struct tg3 *tp, int budget)
desc
->
err_vlan
&
RXD_VLAN_MASK
);
desc
->
err_vlan
&
RXD_VLAN_MASK
);
}
else
}
else
#endif
#endif
n
etif_receive_skb
(
skb
);
n
api_gro_receive
(
&
tp
->
napi
,
skb
);
received
++
;
received
++
;
budget
--
;
budget
--
;
...
...
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