Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp8242184rwi; Tue, 25 Oct 2022 04:25:51 -0700 (PDT) X-Google-Smtp-Source: AMsMyM454A0Rskcg6jxTDih1mecVO9cog2eFiEzimHf1io7YV72AHRc1JaICEznqZ4pIn6KcM8Id X-Received: by 2002:a17:907:3205:b0:770:8554:c4ee with SMTP id xg5-20020a170907320500b007708554c4eemr32425166ejb.39.1666697151442; Tue, 25 Oct 2022 04:25:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666697151; cv=none; d=google.com; s=arc-20160816; b=ee418ppNkAdEMoAOWty0lqxKQWLXhCmwGXuniq7OyawVTwrkvDD0RJDrqq2upRhmgv kt+AOr3Ge9gT3WN9H7aYViuyZ0PdJAnTyAWalrG8iUS8RKTijCSR0zUZmTOrIpnDuyT8 kXdsk9pRl4/mHGtSNa/KonY0aqXS3zX3FSztu73LCkK8LRDhUNAz4DvWbVGNQyG3zu2W UamUq2vv/ZQza3DDkMfXBDghbNyiTx7RP1ayFdyhxlhWBHIUBESymqJ0yp9ySkwdXJiW 12QV7EMQFUNLHTKzK6yvrvPqcs91S91pTRbN5WgbSwzpOvkNGN+1ErFFWnL2QvHETktV 6/Jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date:dkim-signature; bh=vXHZ+lxa5rLnLGDPXKkdgi3tiHgtZfG4KJlzidySgVI=; b=mRjyDaVFYHySGuuww7KCpnq2OcZ0Jyz3lXTjUqCweLcy4/5379qZng84BsbeLdNik3 iZuOIlW0p4PswGvox2WcrLVmjyb8hgALW1n6PvkKFFmpNlFpbrXyzvqFTotAxFybyKxr xpoUJhMJljWKuhEbYmyLqt65OpBrlv6Y66HC4XRgry4r4qviv5KJefA7vi8pWmc5AY8l PRzK3iIi9hD8MPLgSKSSEmxEX4ClVD7k4F3AMERDzSQChGg87baxNtS2IMZeDxsQwmjN tnhFsFDReed85yn4biL3KxuzL27PUGMT5z0Xvq5ROdhT+3S4JZKLxj+BI9kX+gh7HaGZ l1Mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SW1ufyga; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m11-20020a056402430b00b0045d06ea5596si3128044edc.26.2022.10.25.04.25.26; Tue, 25 Oct 2022 04:25:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SW1ufyga; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231226AbiJYKVW (ORCPT + 99 others); Tue, 25 Oct 2022 06:21:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232364AbiJYKUz (ORCPT ); Tue, 25 Oct 2022 06:20:55 -0400 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9FAC171CF1; Tue, 25 Oct 2022 03:17:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666693056; x=1698229056; h=date:from:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=U1KoYFF/icq9KjKxIKGx99Qx9TPUDJo/UOlkG3I0mNg=; b=SW1ufyga0AqrhIULz0ypBeiqAv0SL6d9jDQl1iDnJxSif0t4L+/cSx9R ZanR2h5CC9I/3YeKq1yoZwLUwnNumB/vMW3O59rKBlIXXvWTxPYJtc5Ou yWkREmvPBIrRHV7n5rrQrYt/8mHMiU3mBGx+bjRu4fyBPb0JEzjjZ5S4S lUSmpcftMRw67lf31buqk19JpBTk5n9YHsbX1PFiHsFM8e4/9iG5IJIwu qHB4vZzgCW/Lr0/ipVfJJ0xhjwYxKMLO5+03OWDyoK2rutgjgIWZ1Oxrq kjjQp34ZaWvEnn+V2Bp+ZAOP9albUKKpSLdX4RbiOSAT0RXg7emwgWe/g Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10510"; a="334234736" X-IronPort-AV: E=Sophos;i="5.95,211,1661842800"; d="scan'208";a="334234736" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Oct 2022 03:17:36 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10510"; a="626377430" X-IronPort-AV: E=Sophos;i="5.95,211,1661842800"; d="scan'208";a="626377430" Received: from pweidel-mobl.ger.corp.intel.com ([10.252.44.62]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Oct 2022 03:17:34 -0700 Date: Tue, 25 Oct 2022 13:17:29 +0300 (EEST) From: =?ISO-8859-15?Q?Ilpo_J=E4rvinen?= To: "D. Starke" cc: linux-serial , Greg Kroah-Hartman , Jiri Slaby , LKML Subject: Re: [PATCH v2 1/3] tty: n_gsm: introduce macro for minimal unit size In-Reply-To: <20221024130114.2070-1-daniel.starke@siemens.com> Message-ID: References: <20221024130114.2070-1-daniel.starke@siemens.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-170580793-1666693056=:1638" X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-170580793-1666693056=:1638 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8BIT On Mon, 24 Oct 2022, D. Starke wrote: > From: Daniel Starke > > n_gsm has a minimal protocol overhead of 7 bytes. The current code already > checks whether the configured MRU/MTU size is at least one byte more than > this. > > Introduce the macro MIN_MTU to make this value more obvious. > > Signed-off-by: Daniel Starke Reviewed-by: Ilpo J?rvinen -- i. --8323329-170580793-1666693056=:1638--