dcavalca / rpms / qemu

Forked from rpms/qemu a year ago
Clone

Blame 0604-usb-redir-Enable-pipelining-for-bulk-endpoints.patch

5544c1
From c12ef3d896e426505ea3ca4fb2f1d9017f9cf828 Mon Sep 17 00:00:00 2001
Hans de Goede c8dfc6
From: Hans de Goede <hdegoede@redhat.com>
Hans de Goede c8dfc6
Date: Mon, 3 Sep 2012 13:44:04 +0200
5544c1
Subject: [PATCH] usb-redir: Enable pipelining for bulk endpoints
Hans de Goede c8dfc6
Hans de Goede c8dfc6
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede c8dfc6
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Hans de Goede c8dfc6
---
Hans de Goede c8dfc6
 hw/usb/redirect.c | 3 +++
Hans de Goede c8dfc6
 1 file changed, 3 insertions(+)
Hans de Goede c8dfc6
Hans de Goede c8dfc6
diff --git a/hw/usb/redirect.c b/hw/usb/redirect.c
5544c1
index f1bb692..f183263 100644
Hans de Goede c8dfc6
--- a/hw/usb/redirect.c
Hans de Goede c8dfc6
+++ b/hw/usb/redirect.c
5544c1
@@ -1219,6 +1219,9 @@ static void usbredir_ep_info(void *priv,
Hans de Goede c8dfc6
                                      usb_redir_cap_ep_info_max_packet_size)) {
Hans de Goede c8dfc6
             usb_ep->max_packet_size = ep_info->max_packet_size[i];
Hans de Goede c8dfc6
         }
Hans de Goede c8dfc6
+        if (ep_info->type[i] == usb_redir_type_bulk) {
Hans de Goede c8dfc6
+            usb_ep->pipeline = true;
Hans de Goede c8dfc6
+        }
Hans de Goede c8dfc6
     }
Hans de Goede c8dfc6
 }
Hans de Goede c8dfc6
 
Hans de Goede c8dfc6
-- 
5544c1
1.7.12.1
Hans de Goede c8dfc6