On Thu, Mar 16, 2017 at 10:22:27AM +0100, Maxime Coquelin wrote:
>
>
> On 03/16/2017 08:35 AM, Yuanhan Liu wrote:
> >On Tue, Mar 14, 2017 at 12:02:59PM +0100, Maxime Coquelin wrote:
> >>>+uint64_t
> >>>+rte_vhost_get_negotiated_features(int vid)
> >>>+{
> >>>+ struct virtio_net *dev;
> >>>+
> >>
On 03/16/2017 08:35 AM, Yuanhan Liu wrote:
On Tue, Mar 14, 2017 at 12:02:59PM +0100, Maxime Coquelin wrote:
+uint64_t
+rte_vhost_get_negotiated_features(int vid)
+{
+ struct virtio_net *dev;
+
+ dev = get_device(vid);
+ if (!dev)
+ return -1;
+
+ return de
On Tue, Mar 14, 2017 at 12:02:59PM +0100, Maxime Coquelin wrote:
> >+uint64_t
> >+rte_vhost_get_negotiated_features(int vid)
> >+{
> >+struct virtio_net *dev;
> >+
> >+dev = get_device(vid);
> >+if (!dev)
> >+return -1;
> >+
> >+return dev->features;
> >+}
> Are we sure
On 03/03/2017 10:51 AM, Yuanhan Liu wrote:
Signed-off-by: Yuanhan Liu
---
lib/librte_vhost/rte_vhost_version.map | 1 +
lib/librte_vhost/rte_virtio_net.h | 1 +
lib/librte_vhost/vhost.c | 12
3 files changed, 14 insertions(+)
diff --git a/lib/librte_vhost/rt
Signed-off-by: Yuanhan Liu
---
lib/librte_vhost/rte_vhost_version.map | 1 +
lib/librte_vhost/rte_virtio_net.h | 1 +
lib/librte_vhost/vhost.c | 12
3 files changed, 14 insertions(+)
diff --git a/lib/librte_vhost/rte_vhost_version.map
b/lib/librte_vhost/rte_vho
5 matches
Mail list logo