projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[linux-2.6-block.git]
/
include
/
net
/
xdp_sock.h
diff --git
a/include/net/xdp_sock.h
b/include/net/xdp_sock.h
index de4e3a353df344ffd42f88560b2dd4a8722b16ce..69796d264f0638457526345f5cc423bf2c27bf17 100644
(file)
--- a/
include/net/xdp_sock.h
+++ b/
include/net/xdp_sock.h
@@
-59,6
+59,11
@@
struct xdp_sock {
struct list_head flush_node;
u16 queue_id;
bool zc;
+ enum {
+ XSK_READY = 0,
+ XSK_BOUND,
+ XSK_UNBOUND,
+ } state;
/* Protects multiple processes in the control path */
struct mutex mutex;
struct xsk_queue *tx ____cacheline_aligned_in_smp;