projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
packet: rollover huge flows before small flows
[cascardo/linux.git]
/
net
/
packet
/
internal.h
diff --git
a/net/packet/internal.h
b/net/packet/internal.h
index
22d7d77
..
a9d30a1
100644
(file)
--- a/
net/packet/internal.h
+++ b/
net/packet/internal.h
@@
-89,6
+89,8
@@
struct packet_fanout {
struct packet_rollover {
int sock;
+#define ROLLOVER_HLEN (L1_CACHE_BYTES / sizeof(u32))
+ u32 history[ROLLOVER_HLEN] ____cacheline_aligned;
} ____cacheline_aligned_in_smp;
struct packet_sock {