[PATCH 3/3] drm/virtio: drop virtio_gpu_fence_cleanup()

2018-12-05 Thread Gerd Hoffmann
Just call drm_fence_put directly instead. Also set vgfb->fence to NULL after dropping the reference. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/virtio/virtgpu_drv.h | 1 - drivers/gpu/drm/virtio/virtgpu_fence.c | 8 drivers/gpu/drm/virtio/virtgpu_ioctl.c | 2 +-

[PATCH 1/3] drm/virtio: log error responses

2018-12-05 Thread Gerd Hoffmann
If we got an error response code from the host, print it to the log. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/virtio/virtgpu_vq.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/virtio/virtgpu_vq.c b/drivers/gpu/drm/virtio/virtgpu_vq.c

[PATCH 2/3] drm/virtio: fix pageflip flush

2018-12-05 Thread Gerd Hoffmann
Sending the flush command only makes sense if we actually have a framebuffer attached to the scanout (handle != 0). Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/virtio/virtgpu_plane.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git

RE: [PATCH v9] virtio_blk: add discard and write zeroes support

2018-12-05 Thread Liu, Changpeng
What's the status of this patch ? anybody pulled it for the branch ? > -Original Message- > From: Stefan Hajnoczi [mailto:stefa...@redhat.com] > Sent: Friday, November 2, 2018 12:18 PM > To: Daniel Verkamp > Cc: virtualization@lists.linux-foundation.org; linux-bl...@vger.kernel.org; >

Re: [PATCH v9] virtio_blk: add discard and write zeroes support

2018-12-05 Thread Michael S. Tsirkin
On Wed, Dec 05, 2018 at 09:46:16AM +, Liu, Changpeng wrote: > What's the status of this patch ? anybody pulled it for the branch ? I will merge it for next. > > > -Original Message- > > From: Stefan Hajnoczi [mailto:stefa...@redhat.com] > > Sent: Friday, November 2, 2018 12:18 PM

[PATCH RFC 2/2] virtio_net: bulk free tx skbs

2018-12-05 Thread Michael S. Tsirkin
Use napi_consume_skb() to get bulk free. Note that napi_consume_skb is safe to call in a non-napi context as long as the napi_budget flag is correct. Signed-off-by: Michael S. Tsirkin --- drivers/net/virtio_net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH RFC 1/2] virtio-net: bql support

2018-12-05 Thread Michael S. Tsirkin
When use_napi is set, let's enable BQLs. Note: some of the issues are similar to wifi. It's worth considering whether something similar to commit 36148c2bbfbe ("mac80211: Adjust TSQ pacing shift") might be benefitial. Signed-off-by: Michael S. Tsirkin --- drivers/net/virtio_net.c | 27

[PATCH RFC 0/2] virtio-net: interrupt related improvements

2018-12-05 Thread Michael S. Tsirkin
Now that we have brought the virtio overhead way down with a fast packed ring implementation, we seem to be actually observing TCP drops indicative of bufferbloat. So let's try to enable TSQ. Note: it isn't clear that the default pacing is great for the virt usecase. It's worth trying to play

Call for Papers - MICRADS 2019, Rio de Janeiro, Brazil | Deadline: December 28

2018-12-05 Thread Maria
* Proceedings by Springer -- MICRADS´19 - The 2019 Multidisciplinary International Conference of Research Applied to Defense and Security Rio de Janeiro, Brazil, 8 - 10 May 2019 http://www.micrads.org/