Hi, this patch increases the maximum buffersize for bulk transfers, our devices support at least up to 46k bytes for bulk transfers. This patch allows us to lower the iterations between kernel and userspace and lower the system pressure. Signed-off-by: Markus Rechberger <mrechberger@xxxxxxxxx> diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c index 37518df..ad193d0 100644 --- a/drivers/usb/core/devio.c +++ b/drivers/usb/core/devio.c @@ -107,7 +107,7 @@ enum snoop_when { #define USB_DEVICE_DEV MKDEV(USB_DEVICE_MAJOR, 0) -#define MAX_USBFS_BUFFER_SIZE 16384 +#define MAX_USBFS_BUFFER_SIZE 46080 static int connected(struct dev_state *ps)
diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c index 37518df..ad193d0 100644 --- a/drivers/usb/core/devio.c +++ b/drivers/usb/core/devio.c @@ -107,7 +107,7 @@ enum snoop_when { #define USB_DEVICE_DEV MKDEV(USB_DEVICE_MAJOR, 0) -#define MAX_USBFS_BUFFER_SIZE 16384 +#define MAX_USBFS_BUFFER_SIZE 46080 static int connected(struct dev_state *ps)