Message ID | 20220720060518.541-2-lukasz.spintzyk@synaptics.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <linux-usb-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56E31C43334 for <linux-usb@archiver.kernel.org>; Wed, 20 Jul 2022 06:06:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238985AbiGTGGa (ORCPT <rfc822;linux-usb@archiver.kernel.org>); Wed, 20 Jul 2022 02:06:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238931AbiGTGG2 (ORCPT <rfc822;linux-usb@vger.kernel.org>); Wed, 20 Jul 2022 02:06:28 -0400 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1anam02on2045.outbound.protection.outlook.com [40.107.96.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 112BD67CBB; Tue, 19 Jul 2022 23:06:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JV+CsYj2W8PZyi+xZsdN7SbODMDlkm4cDVKDYp5A9dwo2Z+A1Gbi+WFtdLIOEyCid6pdxLV3M8pslf9uFXxVP4Ycg6KQ7YqZBggiGgArBcLmTnljaTQPWYpiBw2DH4gOFLJ2NXnobaxNmTnIIjXIQlPyEqn1zoZqwub/ZVflYJU5PjdY9QXMCyPza0StEFQsw/yqZxIpV2vOpztVwcZZNVGGqUng5WBpbr8a945QuDWz3vUPu+XpvI1o/aWc8ishUQMKxEqKMAQzZpGJa+/GyLqoLGSyC1cdIv7zrWAlaSjR6KueNwCvu5fFdvpQ4nwA3c406FCeKu5A0kVtnfYyVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ZOk1n7XcFNbm/4UcUnSQxjfjxcEgSVMPACpvRo+C/Ik=; b=fgwuJeBi/aMk0phsalJw+iU8Kf26i42m9fs0LwNANGaG9KZChQ5xDbVaAhcYLFk3W/znNlEkvK3u1AJIk246sSXZC8z43dSuI49DC4qlvDMcDivLEvEorMfBBVA84WIQDvYX55SHhPSrorYky7QEbjPuYWeOC1deT4zTNS9XKnrF53VDxkUAXhNOujWC2TpY8BCKf/arWSHuj+XHpHPjjN85FtXeRDb8jpTRItqohWyci5kSvEq9wCa5mtJ4XMx7nbBxchvwTp8SyFcWDTnh7Wpd/tg4vJW/5sPOJErP/aKG8U9p4NYcHGiVOdQmwwbUw34Us8eK2NXcSxI0iX9rlw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=synaptics.com; dmarc=pass action=none header.from=synaptics.com; dkim=pass header.d=synaptics.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Synaptics.onmicrosoft.com; s=selector2-Synaptics-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZOk1n7XcFNbm/4UcUnSQxjfjxcEgSVMPACpvRo+C/Ik=; b=SOwfPmFF6BjqBomo0Gg26tMFecYFi6wkQBKdLY12G9MWk7R8vjwSkOZ8Il4QwD745ChfwZOViT0QzQN7zVxwxeOyXTtTun+LgoDxkE/9XBjFKTpxdqzZ7csq6bP3QQ2iTQWlRSO+YUKSC6hp/1BHMkeb92M+E3I8Rutln9AlU+Q= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=synaptics.com; Received: from SJ0PR03MB6533.namprd03.prod.outlook.com (2603:10b6:a03:386::12) by BN9PR03MB6025.namprd03.prod.outlook.com (2603:10b6:408:136::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.17; Wed, 20 Jul 2022 06:06:26 +0000 Received: from SJ0PR03MB6533.namprd03.prod.outlook.com ([fe80::d52:5cb7:8c3b:f666]) by SJ0PR03MB6533.namprd03.prod.outlook.com ([fe80::d52:5cb7:8c3b:f666%7]) with mapi id 15.20.5438.023; Wed, 20 Jul 2022 06:06:26 +0000 From: =?utf-8?q?=C5=81ukasz_Spintzyk?= <lukasz.spintzyk@synaptics.com> To: netdev@vger.kernel.org Cc: linux-usb@vger.kernel.org, oliver@neukum.org, kuba@kernel.org, ppd-posix@synaptics.com, Bernice.Chen@synaptics.com Subject: [PATCH v5 2/2] net/cdc_ncm: Increase NTB max RX/TX values to 64kb Date: Wed, 20 Jul 2022 08:05:18 +0200 Message-Id: <20220720060518.541-2-lukasz.spintzyk@synaptics.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220720060518.541-1-lukasz.spintzyk@synaptics.com> References: <4e061614-851e-0dd4-59b2-7110b1a4c339@suse.com> <20220720060518.541-1-lukasz.spintzyk@synaptics.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: BE1P281CA0027.DEUP281.PROD.OUTLOOK.COM (2603:10a6:b10:15::18) To SJ0PR03MB6533.namprd03.prod.outlook.com (2603:10b6:a03:386::12) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 787c2499-b609-4ea8-4a1d-08da6a15fb11 X-MS-TrafficTypeDiagnostic: BN9PR03MB6025:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fAdbhW8H4AKPDtmDxELLzoDtNqQra9U3M1/qu4yqY7By6kB1qyia6Q+ae6NE6DKWsqvr/uPOE4WD91MBX5+Zx/FKjTOj2MejG9kCU8fAgJpsBHg+zH4rrjBK65yHuQmkEqDptVMdDL5AfRl1ukInMOMk1F1LGbnPNNamN5KeTiTnFEVI9mjlLIOFwT9+ydvvY2e6A1B2Q5Mdn5ift6xFVZ3hcGzz26TT5Rgy/sLAfRSOSf7RKJzC/BKQQIAyXsO+Kgy9melLK6mAlneSNRjsvO2S/TU73A7wm2L4kpRbfFaJb4TMZ2b/pfjuSJOkYawgxxih9Z78Cps1/ly12w4CY5qcoS511ZQx3wixBrh42g0G4Wr4Cv9EyZSQOZEI0zfF/1cGdbm+SZm+3OOoeYXe5IaNKDCMvbtwd5jjBfq9rEdVtxbvcBBbJgcvVGOoumOUSvxqg3srIMdvQaKxb5QF9gyALSIJmGdqRMo9mxNs/mSb5+cGhPnNpaRSeiXFnukaKsTfAvuGLvsVH+/pDn2exuPBotVvDXT8ah3mCHISnPT4YyRUUsQ/bPtkQ9Ll+YQnGtv/sKptByJiIL6ILhXZvYsLThrJbsuDdwXUr46EhDMzD/tzBuyo1oKIr9KVIC979XLyN0zV2pSDbtw6srtS9jf2+0Fy4QTUdsDSxStaQG/M60quYPzZqsmHffrzI6FE3HG17zra95i/B4e9x1s+pm9RKRcSHoHrdHQhlKp5Nt3Y/eMps0d9y05M2kfDG9A2h59tpW/8EXsY48amFLtGvJE3yGky2T7jCaOQDkJ/goRDS2a4npExxQxAV/2YRygnjX/HY1OxZMwN53UMAz+X1g== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ0PR03MB6533.namprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(39860400002)(376002)(346002)(366004)(396003)(136003)(4326008)(1076003)(66476007)(478600001)(2616005)(8676002)(8936002)(186003)(66556008)(966005)(26005)(52116002)(36756003)(6506007)(6486002)(107886003)(41300700001)(6512007)(6666004)(316002)(5660300002)(6916009)(38100700002)(83380400001)(38350700002)(2906002)(86362001)(66946007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?FdNLffyMGNHtFzx+n1DTvpgk+3lz?= =?utf-8?q?4y2bXSad6Wp2oU6pTag8+QYngv4y8kdafIr/9lixFpb3/IvapLWmZVBzZYVoXbNGI?= =?utf-8?q?dazxiU9yqr45ZOmYgQX8Qbx0C9Wnwlk7UOp3vP4xoAT+JOJnUnXS3GmewcoJjf70C?= =?utf-8?q?gkwnVdI0BmeTlew0Ujz/GnbvHW91higBXOXo0qOKNyFBxum9rh4gGzdnExA+DBcU0?= =?utf-8?q?cucKX10BamrxiGUqTFRtVAxCJAd9+HBPQbL9+4G8ZSFt+QBjGTEP5EeugIJj5kFHf?= =?utf-8?q?+rffhlGr++PK/zAN8LdyWKjhLxkeEw4QYKV9YOfPGouU2OoFnWEYWojNgANDrYUw7?= =?utf-8?q?MckjSLa12UfT1S8yWT8yjVzEAEF/jvjTNbJEewHqsrneyomfiXh6JMjfdJuGhL/1e?= =?utf-8?q?kj/aWSnOsE+YBg3v1g1QKTewqUzNiX4nM6IB5HyyAu1EWk2nyboqen40EN14uCVlz?= =?utf-8?q?91aFXIUU14GEZVcoy9E3zBj+sCVcbnJ3ew/D4/Bb80Wj/uWIUnAkopaobv/cy5lQ5?= =?utf-8?q?ZjO0smmcM3V6gGK3Ny4h29paaPF6L0fcMyV77vFG0DE57dR0e0zRKqRVTsLJSCwmF?= =?utf-8?q?HFZZOuJQPnW/Ss+dNkDcnbVVS+200tHysBmVIK/Cm3X1id7ZXktyTxb7i+y6HJfLr?= =?utf-8?q?U2MSgNnCzs3kQQSnpKIQRUdIj0YUBQQr2xNO05MqmeZZA37o6kolCGB8xUJbJdRlY?= =?utf-8?q?GCg1Kk1oBtYf+z7Y4rhdhSgAtdhJZhwZak0kZ+R/MzdfRXpnbA/MvuioZUgyuJYAV?= =?utf-8?q?CYiwXjAg0/Cx34YJswOX2USjRcSfP9XEP/dIXpqV+golu5BL5HONVugryTpgGgUtD?= =?utf-8?q?5Ixxdef+GKLNlzHZ3LbET5xYWHVyktY6Vzc4GnHgYnd21W4HIam1z7YdUBZg3IYJC?= =?utf-8?q?FIsEHUb4t61fw7PFNAF2+fQtWqkOeENoou+mZV5YBS46yAVQ5OJQqu8JSI/YF/DIV?= =?utf-8?q?CN9nLziRMoZDAA83Hnurx4ruetlFVH1I/3zoPMGYo2t0IIes1jQ4KOZaA3bHkBHqf?= =?utf-8?q?FCs/qIGudDl4SRljjm+w+hI44pdLFgykYEQjTUjgzcLnV5nu7w4J9qpjiQhVRYii8?= =?utf-8?q?8QUURL+MP+Cx5wuofodZl+DHkGdRXixmdCpNLBcS/bNxGhjZspw7uYeHxzkChYdD2?= =?utf-8?q?QSRRbnblCVWKzkvZjy15IpfDOaQKlGnrjAhn7vFzkMBug95Q9KmzSwU7T2J7LV4KW?= =?utf-8?q?NYrIkshZ0pdM7a8gmgFg12slWxjJvIIIXWwB+jqUZKbbG2+oaHP7CdXe8DgPs8+gV?= =?utf-8?q?Trpavn9Ss8p6CcIix7zRtcxOKq2AbZTlL5l4NTzFQYtIB3GqPd5/QLdzJKKBYg+tE?= =?utf-8?q?RusQE8D+dLXM+CB19ZM60v/Bp/lhL+45PMAC2+HfpDHDEUyvmZc4Yvl3XLaujuUY2?= =?utf-8?q?Tn9v62E+7x9GE61DPZKcqu/JkyNwMtE8EIj2mHf4JUUJgq+ap5lWVxjTd0IHW8kk+?= =?utf-8?q?GM4iQRBaPw0Vn9LkJ9e7iEDM306rq9K3dPEUHVAdN/WSeCCmUKuSbhj23yWH1bMB6?= =?utf-8?q?iMXN6y477IvR?= X-OriginatorOrg: synaptics.com X-MS-Exchange-CrossTenant-Network-Message-Id: 787c2499-b609-4ea8-4a1d-08da6a15fb11 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR03MB6533.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jul 2022 06:06:26.6998 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 335d1fbc-2124-4173-9863-17e7051a2a0e X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: urUHVXebrHl9tKKmKknglP8yRLBsUGv2hTn/D3B4WnCmkDgST3hA4c4mLLiISlgMw/Bs/uweveFIy/wVljtoyA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR03MB6025 Precedence: bulk List-ID: <linux-usb.vger.kernel.org> X-Mailing-List: linux-usb@vger.kernel.org |
Series |
[v5,1/2] net/cdc_ncm: Enable ZLP for DisplayLink ethernet devices
|
expand
|
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 */