Signed-off-by: Yuanhan Liu <yuanhan.liu at linux.intel.com> Acked-by: Changchun Ouyang <Changchun.ouyang at intel.com> Acked-by: Huawei Xie <huawei.xie at intel.com> --- lib/librte_vhost/vhost_rxtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_vhost/vhost_rxtx.c b/lib/librte_vhost/vhost_rxtx.c index 0d07338..d412293 100644 --- a/lib/librte_vhost/vhost_rxtx.c +++ b/lib/librte_vhost/vhost_rxtx.c @@ -185,7 +185,7 @@ virtio_dev_rx(struct virtio_net *dev, uint16_t queue_id, } } len_to_cpy = RTE_MIN(data_len - offset, desc->len - vb_offset); - }; + } /* Update used ring with desc information */ vq->used->ring[res_cur_idx & (vq->size - 1)].id = -- 1.9.0