[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220704070407.45618-3-lukasz.spintzyk@synaptics.com>
Date: Mon, 4 Jul 2022 09:04:07 +0200
From: Łukasz Spintzyk <lukasz.spintzyk@...aptics.com>
To: netdev@...r.kernel.org
Cc: linux-usb@...r.kernel.org, oliver@...kum.org, kuba@...nel.org,
ppd-posix@...aptics.com
Subject: [PATCH 2/2] net/cdc_ncm: Increase NTB max RX/TX values to 64kb
DisplayLink ethernet devices require NTB buffers larger then 32kb in order to run with highest performance.
Signed-off-by: Łukasz Spintzyk <lukasz.spintzyk@...aptics.com>
---
include/linux/usb/cdc_ncm.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/usb/cdc_ncm.h b/include/linux/usb/cdc_ncm.h
index f7cb3ddce7fb..2d207cb4837d 100644
--- a/include/linux/usb/cdc_ncm.h
+++ b/include/linux/usb/cdc_ncm.h
@@ -53,8 +53,8 @@
#define USB_CDC_NCM_NDP32_LENGTH_MIN 0x20
/* Maximum NTB length */
-#define CDC_NCM_NTB_MAX_SIZE_TX 32768 /* bytes */
-#define CDC_NCM_NTB_MAX_SIZE_RX 32768 /* bytes */
+#define CDC_NCM_NTB_MAX_SIZE_TX 65536 /* bytes */
+#define CDC_NCM_NTB_MAX_SIZE_RX 65536 /* bytes */
/* Initial NTB length */
#define CDC_NCM_NTB_DEF_SIZE_TX 16384 /* bytes */
--
2.36.1
Powered by blists - more mailing lists