search for: f2a0f5b

Displaying 8 results from an estimated 8 matches for "f2a0f5b".

2018 May 22
2
[RFC V4 PATCH 7/8] vhost: packed ring support
...rivers/vhost/net.c | 3 +- > drivers/vhost/vhost.c | 539 ++++++++++++++++++++++++++++++++++++++++++++++---- > drivers/vhost/vhost.h | 8 +- > 3 files changed, 513 insertions(+), 37 deletions(-) > > diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c > index 8304c30..f2a0f5b 100644 > --- a/drivers/vhost/vhost.c > +++ b/drivers/vhost/vhost.c > @@ -1358,6 +1382,8 @@ long vhost_vring_ioctl(struct vhost_dev *d, unsigned int ioctl, void __user *arg > break; > } > vq->last_avail_idx = s.num; > + if (vhost_has_feature(vq, VIRTIO_F_RING_PACKE...
2018 May 22
2
[RFC V4 PATCH 7/8] vhost: packed ring support
...rivers/vhost/net.c | 3 +- > drivers/vhost/vhost.c | 539 ++++++++++++++++++++++++++++++++++++++++++++++---- > drivers/vhost/vhost.h | 8 +- > 3 files changed, 513 insertions(+), 37 deletions(-) > > diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c > index 8304c30..f2a0f5b 100644 > --- a/drivers/vhost/vhost.c > +++ b/drivers/vhost/vhost.c > @@ -1358,6 +1382,8 @@ long vhost_vring_ioctl(struct vhost_dev *d, unsigned int ioctl, void __user *arg > break; > } > vq->last_avail_idx = s.num; > + if (vhost_has_feature(vq, VIRTIO_F_RING_PACKE...
2018 May 23
1
[RFC V4 PATCH 7/8] vhost: packed ring support
...s/vhost/vhost.c | 539 ++++++++++++++++++++++++++++++++++++++++++++++---- > >> drivers/vhost/vhost.h | 8 +- > >> 3 files changed, 513 insertions(+), 37 deletions(-) > >> > >>diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c > >>index 8304c30..f2a0f5b 100644 > >>--- a/drivers/vhost/vhost.c > >>+++ b/drivers/vhost/vhost.c > >>@@ -1358,6 +1382,8 @@ long vhost_vring_ioctl(struct vhost_dev *d, unsigned int ioctl, void __user *arg > >> break; > >> } > >> vq->last_avail_idx = s.num; &g...
2018 May 23
0
[RFC V4 PATCH 7/8] vhost: packed ring support
...+- >> drivers/vhost/vhost.c | 539 ++++++++++++++++++++++++++++++++++++++++++++++---- >> drivers/vhost/vhost.h | 8 +- >> 3 files changed, 513 insertions(+), 37 deletions(-) >> >> diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c >> index 8304c30..f2a0f5b 100644 >> --- a/drivers/vhost/vhost.c >> +++ b/drivers/vhost/vhost.c >> @@ -1358,6 +1382,8 @@ long vhost_vring_ioctl(struct vhost_dev *d, unsigned int ioctl, void __user *arg >> break; >> } >> vq->last_avail_idx = s.num; >> + if (vhost_has_...
2018 May 16
0
[RFC V4 PATCH 8/8] vhost: event suppression for packed ring
...om> --- drivers/vhost/vhost.c | 168 ++++++++++++++++++++++++++++++++++++--- drivers/vhost/vhost.h | 10 ++- include/uapi/linux/virtio_ring.h | 19 +++++ 3 files changed, 182 insertions(+), 15 deletions(-) diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c index f2a0f5b..afdf4c1 100644 --- a/drivers/vhost/vhost.c +++ b/drivers/vhost/vhost.c @@ -1108,10 +1108,15 @@ static int vq_access_ok_packed(struct vhost_virtqueue *vq, unsigned int num, struct vring_used __user *used) { struct vring_desc_packed *packed = (struct vring_desc_packed *)desc; + struct...
2018 May 16
0
[RFC V4 PATCH 7/8] vhost: packed ring support
...; VHOST_NET_F_VIRTIO_NET_HDR) | (1ULL << VIRTIO_NET_F_MRG_RXBUF) | - (1ULL << VIRTIO_F_IOMMU_PLATFORM) + (1ULL << VIRTIO_F_IOMMU_PLATFORM) | + (1ULL << VIRTIO_F_RING_PACKED) }; enum { diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c index 8304c30..f2a0f5b 100644 --- a/drivers/vhost/vhost.c +++ b/drivers/vhost/vhost.c @@ -323,6 +323,8 @@ static void vhost_vq_reset(struct vhost_dev *dev, vhost_reset_is_le(vq); vhost_disable_cross_endian(vq); vq->busyloop_timeout = 0; + vq->used_wrap_counter = true; + vq->avail_wrap_counter = true; vq-...
2018 May 16
12
[RFC V4 PATCH 0/8] Packed ring layout for vhost
Hi all: This RFC implement packed ring layout. The code were tested with Tiwei's RFC V3 ahttps://lkml.org/lkml/2018/4/25/34. Some fixups and tweaks were needed on top of Tiwei's code to make it run for event index. Pktgen reports about 20% improvement on PPS (event index is off). More testing is ongoing. Notes for tester: - Start from this version, vhost need qemu co-operation to work
2018 May 16
12
[RFC V4 PATCH 0/8] Packed ring layout for vhost
Hi all: This RFC implement packed ring layout. The code were tested with Tiwei's RFC V3 ahttps://lkml.org/lkml/2018/4/25/34. Some fixups and tweaks were needed on top of Tiwei's code to make it run for event index. Pktgen reports about 20% improvement on PPS (event index is off). More testing is ongoing. Notes for tester: - Start from this version, vhost need qemu co-operation to work