From: Huawei Xie Date: Wed, 8 Oct 2014 18:54:56 +0000 (+0800) Subject: vhost: add private context field X-Git-Tag: spdx-start~10287 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=a58f905514a8cb1c953806a08725473494ebd315;p=dpdk.git vhost: add private context field priv field could be used to store application specific context. Signed-off-by: Huawei Xie Acked-by: Changchun Ouyang --- diff --git a/lib/librte_vhost/rte_virtio_net.h b/lib/librte_vhost/rte_virtio_net.h index de2ced6995..0606143f64 100644 --- 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; /*