Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3033291pxb; Sun, 28 Feb 2021 23:00:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJxgtFbTJLExV+cdxUI7wMYnMkBuvWJekP8YJoNQEU8CaDncfEsAnTS+jtbdNiwoPWOB3vm3 X-Received: by 2002:a05:6402:646:: with SMTP id u6mr14851633edx.250.1614582006130; Sun, 28 Feb 2021 23:00:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614582006; cv=none; d=google.com; s=arc-20160816; b=XVTKKKR6dLCItU7By0HriadXLJose7FGGgwRFtC6a40NSeZvDeCG9CZTytgzXGWezX FwTGY/et94ywbJx1ryPJfjUE0lmaZtG9YnxL21pAaWgWOTbtVRbW8uLHq/jmf3PpLvlb tkaB1sELSWTTgIaXItLBwDH9/9qpQObg5W26EbIr1j1k4XRF8m9BDCcOta2RY6ahVv1g ovM/Y9Vvdy2iXMRi20N0ySZkUO9lM9l4OXehn3gTyA+zc184WkE1ccQ441tYvsLqktD0 G5JJK65zfbhEV6e9cXpkdVXpRl2yJoXXglAn+kAccHYAYYi8FClxj3VMfripx7jn0yUG lNyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:references:in-reply-to :organization:subject:cc:to:from:date:content-transfer-encoding :mime-version; bh=nDR5yAQLmeSGA9f6ChSNOcsJ5Kc+mArKuVgKWWH9DAE=; b=YpL+MHhE1bXIeEbTPXw+CWoH8FhM9rdJSh1u6PTDpA2pdtG6XgoSttsIQCPDWlLoZv Qqh0c+cW+WAsZ0RojQ5iQxhc6X0wsV67T5MTRTqNzI1uCrrNdpiMqjKLRDPnWMdQERBH MrDO5aOGOoYkrKlwARB6Tl4Eu4ZtyGz4lD8vEKuT5TWC6/E35vVOASxTjJqEcm2HoAQu 5gBCpjdSampHVeiXUDQvqzcbs98fjVGGwUcC9IKgcEMFILf5WBESjYZyWNAF5rwMCulM n4i8oG29D1xAsICgm/gZ5o14MNFn3ZAPlo8asWJTUNyyK10wG8F0acF1dSygK/FYCat6 VodQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c15si9975316ejr.124.2021.02.28.22.59.43; Sun, 28 Feb 2021 23:00:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232111AbhCAG6b (ORCPT + 99 others); Mon, 1 Mar 2021 01:58:31 -0500 Received: from mxout70.expurgate.net ([194.37.255.70]:44897 "EHLO mxout70.expurgate.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231956AbhCAG6Z (ORCPT ); Mon, 1 Mar 2021 01:58:25 -0500 Received: from [127.0.0.1] (helo=localhost) by relay.expurgate.net with smtp (Exim 4.90) (envelope-from ) id 1lGcTk-000Dkk-Ny; Mon, 01 Mar 2021 07:56:28 +0100 Received: from [195.243.126.94] (helo=securemail.tdt.de) by relay.expurgate.net with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90) (envelope-from ) id 1lGcTj-0004Jb-C3; Mon, 01 Mar 2021 07:56:27 +0100 Received: from securemail.tdt.de (localhost [127.0.0.1]) by securemail.tdt.de (Postfix) with ESMTP id C1593240041; Mon, 1 Mar 2021 07:56:26 +0100 (CET) Received: from mail.dev.tdt.de (unknown [10.2.4.42]) by securemail.tdt.de (Postfix) with ESMTP id 15BEC240040; Mon, 1 Mar 2021 07:56:26 +0100 (CET) Received: from mail.dev.tdt.de (localhost [IPv6:::1]) by mail.dev.tdt.de (Postfix) with ESMTP id A23972018D; Mon, 1 Mar 2021 07:56:25 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 01 Mar 2021 07:56:25 +0100 From: Martin Schiller To: Xie He Cc: Jakub Kicinski , Leon Romanovsky , "David S. Miller" , Linux X25 , Linux Kernel Network Developers , LKML , Krzysztof Halasa , Jonathan Corbet , linux-doc@vger.kernel.org Subject: Re: [PATCH net-next RFC v4] net: hdlc_x25: Queue outgoing LAPB frames Organization: TDT AG In-Reply-To: References: <20210216201813.60394-1-xie.he.0141@gmail.com> <20210219103948.6644e61f@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> <906d8114f1965965749f1890680f2547@dev.tdt.de> Message-ID: X-Sender: ms@dev.tdt.de User-Agent: Roundcube Webmail/1.3.16 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.dev.tdt.de X-purgate-type: clean X-purgate: clean X-purgate-ID: 151534::1614581788-0000B5A4-DEECE876/0/0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021-02-27 00:03, Xie He wrote: > On Fri, Feb 26, 2021 at 6:21 AM Martin Schiller wrote: >> >> I have now had a look at it. It works as expected. >> I just wonder if it would not be more appropriate to call >> the lapb_register() already in x25_hdlc_open(), so that the layer2 >> (lapb) can already "work" before the hdlc_x25 interface is up. > > I think it's better not to keep LAPB running unless hdlc_x25 is up. > If I am the user, I would expect that when I change the X.25 interface > to the DOWN state, the LAPB protocol would be completely stopped and > the LAPB layer would not generate any new frames anymore (even if the > other side wants to connect), and when I change the X.25 interface > back to the UP state, it would be a fresh new start for the LAPB > protocol. > >> Also, I have a hard time assessing if such a wrap is really >> enforceable. > > Sorry. I don't understand what you mean. What "wrap" are you referring > to? I mean the change from only one hdlc interface to both hdlc and hdlc_x25. I can't estimate how many users are out there and how their setup looks like. > >> Unfortunately I have no idea how many users there actually are.