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
nexedi
linux
Commits
335a69eb
Commit
335a69eb
authored
Aug 18, 2003
by
Matthew Natalier
Committed by
Jeff Garzik
Aug 18, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[netdrvr 8139cp] fix h/w vlan offload
It wants big endian vlan tags. IEEE, or just weird?
parent
654f4201
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/net/8139cp.c
drivers/net/8139cp.c
+2
-2
No files found.
drivers/net/8139cp.c
View file @
335a69eb
...
...
@@ -468,7 +468,7 @@ static inline void cp_rx_skb (struct cp_private *cp, struct sk_buff *skb,
#if CP_VLAN_TAG_USED
if
(
cp
->
vlgrp
&&
(
desc
->
opts2
&
RxVlanTagged
))
{
vlan_hwaccel_rx
(
skb
,
cp
->
vlgrp
,
desc
->
opts2
&
0xffff
);
vlan_hwaccel_rx
(
skb
,
cp
->
vlgrp
,
be16_to_cpu
(
desc
->
opts2
&
0xffff
)
);
}
else
#endif
netif_rx
(
skb
);
...
...
@@ -776,7 +776,7 @@ static int cp_start_xmit (struct sk_buff *skb, struct net_device *dev)
#if CP_VLAN_TAG_USED
if
(
cp
->
vlgrp
&&
vlan_tx_tag_present
(
skb
))
vlan_tag
=
TxVlanTag
|
vlan_tx_tag_get
(
skb
);
vlan_tag
=
TxVlanTag
|
cpu_to_be16
(
vlan_tx_tag_get
(
skb
)
);
#endif
entry
=
cp
->
tx_head
;
...
...
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