Date: Mon, 7 Oct 2019 08:13:10 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r353174 - stable/11/sys/dev/usb Message-ID: <201910070813.x978DAMu040464@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hselasky Date: Mon Oct 7 08:13:10 2019 New Revision: 353174 URL: https://svnweb.freebsd.org/changeset/base/353174 Log: MFC r352555: Increase the maximum user-space buffer size from 256kBytes to 32MBytes for libusb. This is useful for speeding up large data transfers while reducing the interrupt rate. Found at: EuroBSDcon 2019 Sponsored by: Mellanox Technologies Modified: stable/11/sys/dev/usb/usb_ioctl.h Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/dev/usb/usb_ioctl.h ============================================================================== --- stable/11/sys/dev/usb/usb_ioctl.h Mon Oct 7 08:12:28 2019 (r353173) +++ stable/11/sys/dev/usb/usb_ioctl.h Mon Oct 7 08:13:10 2019 (r353174) @@ -220,7 +220,7 @@ struct usb_fs_uninit { } USB_IOCTL_STRUCT_ALIGN(1); struct usb_fs_open { -#define USB_FS_MAX_BUFSIZE (1 << 18) +#define USB_FS_MAX_BUFSIZE (1 << 25) /* 32 MBytes */ uint32_t max_bufsize; #define USB_FS_MAX_FRAMES (1U << 12) #define USB_FS_MAX_FRAMES_PRE_SCALE (1U << 31) /* for ISOCHRONOUS transfers */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910070813.x978DAMu040464>