search for: e36aaf9ba7bd

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

2020 Apr 30
2
[PATCH] vhost: vsock: don't send pkt when vq is not started
...m> > > > Signed-off-by: Jia He <justin.he at arm.com> > > > --- > > > drivers/vhost/vsock.c | 8 ++++++++ > > > 1 file changed, 8 insertions(+) > > > > > > diff --git a/drivers/vhost/vsock.c b/drivers/vhost/vsock.c > > > index e36aaf9ba7bd..67474334dd88 100644 > > > --- a/drivers/vhost/vsock.c > > > +++ b/drivers/vhost/vsock.c > > > @@ -241,6 +241,7 @@ vhost_transport_send_pkt(struct virtio_vsock_pkt > > *pkt) > > > { > > > struct vhost_vsock *vsock; > > > int len = pkt-&...
2020 Apr 30
2
[PATCH] vhost: vsock: don't send pkt when vq is not started
...m> > > > Signed-off-by: Jia He <justin.he at arm.com> > > > --- > > > drivers/vhost/vsock.c | 8 ++++++++ > > > 1 file changed, 8 insertions(+) > > > > > > diff --git a/drivers/vhost/vsock.c b/drivers/vhost/vsock.c > > > index e36aaf9ba7bd..67474334dd88 100644 > > > --- a/drivers/vhost/vsock.c > > > +++ b/drivers/vhost/vsock.c > > > @@ -241,6 +241,7 @@ vhost_transport_send_pkt(struct virtio_vsock_pkt > > *pkt) > > > { > > > struct vhost_vsock *vsock; > > > int len = pkt-&...
2020 Apr 30
0
[PATCH] vhost: vsock: don't send pkt when vq is not started
...untime/issues/1917 > > Reported-by: Ning Bo <n.b at live.com> > Signed-off-by: Jia He <justin.he at arm.com> > --- > drivers/vhost/vsock.c | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/drivers/vhost/vsock.c b/drivers/vhost/vsock.c > index e36aaf9ba7bd..67474334dd88 100644 > --- a/drivers/vhost/vsock.c > +++ b/drivers/vhost/vsock.c > @@ -241,6 +241,7 @@ vhost_transport_send_pkt(struct virtio_vsock_pkt *pkt) > { > struct vhost_vsock *vsock; > int len = pkt->len; > + struct vhost_virtqueue *vq; > > rcu_read_lo...
2020 Apr 30
0
[PATCH] vhost: vsock: don't send pkt when vq is not started
...f-by: Jia He <justin.he at arm.com> > > > > --- > > > > drivers/vhost/vsock.c | 8 ++++++++ > > > > 1 file changed, 8 insertions(+) > > > > > > > > diff --git a/drivers/vhost/vsock.c b/drivers/vhost/vsock.c > > > > index e36aaf9ba7bd..67474334dd88 100644 > > > > --- a/drivers/vhost/vsock.c > > > > +++ b/drivers/vhost/vsock.c > > > > @@ -241,6 +241,7 @@ vhost_transport_send_pkt(struct virtio_vsock_pkt > > > *pkt) > > > > { > > > > struct vhost_vsock *vsock; &...
2020 May 01
0
[PATCH v2] vhost: vsock: kick send_pkt worker once device is started
...> v2: new solution suggested by Stefano Garzarella > > drivers/vhost/vsock.c | 5 +++++ > 1 file changed, 5 insertions(+) Reviewed-by: Stefano Garzarella <sgarzare at redhat.com> Thanks, Stefano > > diff --git a/drivers/vhost/vsock.c b/drivers/vhost/vsock.c > index e36aaf9ba7bd..0716a9cdffee 100644 > --- a/drivers/vhost/vsock.c > +++ b/drivers/vhost/vsock.c > @@ -543,6 +543,11 @@ static int vhost_vsock_start(struct vhost_vsock *vsock) > mutex_unlock(&vq->mutex); > } > > + /* Some packets may have been queued before the device was started...
2020 May 29
0
[PATCH 1/6] vhost: allow device that does not depend on vhost worker
...**vqs, int nvqs, int iov_limit, int weight, int byte_weight, + bool use_worker, int (*msg_handler)(struct vhost_dev *dev, struct vhost_iotlb_msg *msg)); long vhost_dev_set_owner(struct vhost_dev *dev); diff --git a/drivers/vhost/vsock.c b/drivers/vhost/vsock.c index e36aaf9ba7bd..2eb85c42bac4 100644 --- a/drivers/vhost/vsock.c +++ b/drivers/vhost/vsock.c @@ -621,7 +621,7 @@ static int vhost_vsock_dev_open(struct inode *inode, struct file *file) vhost_dev_init(&vsock->dev, vqs, ARRAY_SIZE(vsock->vqs), UIO_MAXIOV, VHOST_VSOCK_PKT_WEIGHT, - VHO...
2020 May 29
12
[PATCH 0/6] vDPA: doorbell mapping
Hi all: This series introduce basic functionality of doorbell mapping support for vhost-vDPA. Userspace program may use mmap() to map a the doorbell of a specific virtqueue into its address space. This is help to reudce the syscall or vmexit overhead. A new vdpa_config_ops was introduced to report the location of the doorbell, vhost_vdpa may then choose to map the doorbell when: - The doorbell
2020 May 29
12
[PATCH 0/6] vDPA: doorbell mapping
Hi all: This series introduce basic functionality of doorbell mapping support for vhost-vDPA. Userspace program may use mmap() to map a the doorbell of a specific virtqueue into its address space. This is help to reudce the syscall or vmexit overhead. A new vdpa_config_ops was introduced to report the location of the doorbell, vhost_vdpa may then choose to map the doorbell when: - The doorbell