Re: [dpdk-dev] [PATCH v2 4/9] net/virtio: add Rx queue intr enable/disable functions

2016-12-29 Thread Yuanhan Liu
On Thu, Dec 29, 2016 at 07:30:38AM +, Jianfeng Tan wrote: > /* > * Two types of mbuf to be cleaned: > * 1) mbuf that has been consumed by backend but not used by virtio. > diff --git a/drivers/net/virtio/virtqueue.h b/drivers/net/virtio/virtqueue.h > index f0bb089..62be136 100644 > --- a/d

[dpdk-dev] [PATCH v2 4/9] net/virtio: add Rx queue intr enable/disable functions

2016-12-28 Thread Jianfeng Tan
This patch implements interrupt enable/disable functions for each Rx queue. And we rely on flags of avail queue as the hint for virtio device to interrupt virtio driver or not. Signed-off-by: Jianfeng Tan --- drivers/net/virtio/virtio_ethdev.c | 22 ++ drivers/net/virtio/virt