git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vhost: add private context field
[dpdk.git]
/
lib
/
librte_vhost
/
rte_virtio_net.h
diff --git
a/lib/librte_vhost/rte_virtio_net.h
b/lib/librte_vhost/rte_virtio_net.h
index
de2ced6
..
0606143
100644
(file)
--- a/
lib/librte_vhost/rte_virtio_net.h
+++ b/
lib/librte_vhost/rte_virtio_net.h
@@
-85,6
+85,7
@@
struct virtio_net
uint64_t features; /* Negotiated feature set. */
uint64_t device_fh; /* device identifier. */
uint32_t flags; /* Device flags. Only used to check if device is running on data core. */
+ void *priv; /**< private context */
} __rte_cache_aligned;
/*