Hi Remy,
On 09/04/2017 03:57 PM, Remy Horton wrote:
On 31/08/2017 10:50, Maxime Coquelin wrote:
[..]
+reset_vring_queue(struct virtio_net *dev, uint32_t vring_idx)
{
+struct vhost_virtqueue *vq = dev->virtqueue[vring_idx];
int callfd;
Probably ought to have a bounds check on vring_
On 31/08/2017 10:50, Maxime Coquelin wrote:
[..]
+reset_vring_queue(struct virtio_net *dev, uint32_t vring_idx)
{
+ struct vhost_virtqueue *vq = dev->virtqueue[vring_idx];
int callfd;
Probably ought to have a bounds check on vring_idx..
The per-virtqueue IOTLB cache init is done at virtqueue
init time. init_vring_queue() now takes vring id as parameter,
so that the IOTLB cache mempool name can be generated.
Signed-off-by: Maxime Coquelin
---
lib/librte_vhost/vhost.c | 15 ++-
1 file changed, 10 insertions(+), 5 dele
3 matches
Mail list logo