vhost: add private context field
priv field could be used to store application specific context. Signed-off-by: Huawei Xie <huawei.xie@intel.com> Acked-by: Changchun Ouyang <changchun.ouyang@intel.com>
This commit is contained in:
parent
3d671af711
commit
a58f905514
@ -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;
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user