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
1b9b87ac
Commit
1b9b87ac
authored
Aug 05, 2002
by
Rusty Russell
Committed by
David S. Miller
Aug 05, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[TRIVIAL] Use __cachline_aligned in netdevice.h
parent
5f0a9571
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
include/linux/netdevice.h
include/linux/netdevice.h
+2
-2
No files found.
include/linux/netdevice.h
View file @
1b9b87ac
...
@@ -162,7 +162,7 @@ struct netif_rx_stats
...
@@ -162,7 +162,7 @@ struct netif_rx_stats
unsigned
fastroute_deferred_out
;
unsigned
fastroute_deferred_out
;
unsigned
fastroute_latency_reduction
;
unsigned
fastroute_latency_reduction
;
unsigned
cpu_collision
;
unsigned
cpu_collision
;
}
__
attribute__
((
__aligned__
(
SMP_CACHE_BYTES
)))
;
}
__
__cacheline_aligned
;
extern
struct
netif_rx_stats
netdev_rx_stat
[];
extern
struct
netif_rx_stats
netdev_rx_stat
[];
...
@@ -501,7 +501,7 @@ struct softnet_data
...
@@ -501,7 +501,7 @@ struct softnet_data
struct
sk_buff
*
completion_queue
;
struct
sk_buff
*
completion_queue
;
struct
net_device
backlog_dev
;
/* Sorry. 8) */
struct
net_device
backlog_dev
;
/* Sorry. 8) */
}
__
attribute__
((
__aligned__
(
SMP_CACHE_BYTES
)))
;
}
__
__cacheline_aligned
;
extern
struct
softnet_data
softnet_data
[
NR_CPUS
];
extern
struct
softnet_data
softnet_data
[
NR_CPUS
];
...
...
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