Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1583956pxb; Thu, 4 Mar 2021 15:29:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJyV6SUSQUt6Hi4L4+8LxAWWInvWNWRsgxhFMl+uvfQpJ2WZseW/mSj//jqsrmb+istAuv3x X-Received: by 2002:a17:906:71d3:: with SMTP id i19mr6797421ejk.347.1614900547505; Thu, 04 Mar 2021 15:29:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614900547; cv=none; d=google.com; s=arc-20160816; b=fT0tA6U/iMV2aTPYdFOOHwfHu048XwbZ8JBXyp9wTglGXozM2d3xfnLtryJpN2XdgX rChez8Av/9nPQfz/TNHwlWjGItL3GXpOXjj8vkj5TF5J9fNmch6mjGYv4veuvYoonGbE 0iJN+li+2sDZsB28SjUkIuHM4u2DaR/QADhYYV6Qhj2z9W/JRg7i92mpT8npg4zBwJxX p3a/1ayEHYn2qV87JmSxdGGRBIgUEtd9g8HtBgAE4A++HBXwwhAh1IojFuagDMhaokdF z49uruhAXasCIzz/Wc5yYl0FpVliyE4oFUuUTkK++dvClUFGLT4bGCnKjlVyc87YtENY RrAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=zkgxTa1swI7czPihfHxjvpadRXNKE7cU4riRGgz6wYc=; b=UV3VCKyKfAS+rRVXE6QCf3FmjVSreRHQyZS8NXJE1B2wHEEEHJKvCOLfAqygCQ17gk EAPGrHUxM24GM08DQNKK7ZXtERcecxOdvejz6LhIrfDbKZ3tM8061rAUrfMuqTmKz4yG ItLSAlxOnbrMSCXO2nAeCJG6wlCwsyh7Hk3OlBHlCHeisZRCxJtd90PbvaL8SIv8i2Bj qT4zrVX7OKaSxJgXrfi/bM7B2G9GxAGAjNbqFpV6tgb3/dca0IffY5meN0nEonsRmIJ1 Gi7V/3AXQjis4tdXeWlp3Da7zO/kQlkHNRFyxGu709MayABsxUkteHjak6sv6Ojkm/qz fUuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=H0wTIWV6; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m23si513139edq.397.2021.03.04.15.28.45; Thu, 04 Mar 2021 15:29:07 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=H0wTIWV6; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353237AbhCDADu (ORCPT + 99 others); Wed, 3 Mar 2021 19:03:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1388015AbhCCUYP (ORCPT ); Wed, 3 Mar 2021 15:24:15 -0500 Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4E81C061760; Wed, 3 Mar 2021 12:23:35 -0800 (PST) Received: by mail-pf1-x42e.google.com with SMTP id t29so17084138pfg.11; Wed, 03 Mar 2021 12:23:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zkgxTa1swI7czPihfHxjvpadRXNKE7cU4riRGgz6wYc=; b=H0wTIWV6YDtXRsDsVGvbWl59qcAUFOz6CLz9bd9kfWcw5thrryJ63vo6BiBBGk13rn VyFwtLUcm8dZYqo24yxrX+PLPvl+dEk0JyDky+bOVviQLPCdeOyH5EcJXTPp14APxGKs QJolCmjYo0JUxjDocXXtmdoNqzXMc0f+lj7/55RtEF7pO75Ef6Y7GQKCEEokjSdmrAVS 6JeSi2IesCXYEmV1iow8iBTNNDtlYYMohMHC7ryhzudG7obhZftFvG/0dlahLeQ8sQ6j YB0Hwqre2nJfIsuIF21+wqkiyPgcQQNc+vP3m3L1rgK6aRfFv5Z/YYmB2aaiX1L/nyW9 foEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zkgxTa1swI7czPihfHxjvpadRXNKE7cU4riRGgz6wYc=; b=Y8gD5bsCXsh11ANY/Sr4TJmCTmEfNsW6khurHvbs29UvtYSxabGNd5vL0WejEZ/S6k wonVzdbE5qEepuiv4uaCc4aG9c50Gmbepi/DhpEsfD7LWl++AHNQtY4W4ptSv+7u8UQY Nti/AwgfHSmFzM2BB/Fx95Y6oW7QLBQAtWhII1WOS45Tz4voD2yKvZuex7K+MBPtRua3 VC3sPNOUVXkbnYN7ikkDxZwDRoButzgjc5PHq1aZUQFEutuvO3SAj7NLqOp2CBhl0e/t cvvQvvwYVbdOjJA7dHysjUiBF8Bq2j/boSg/wzVRyiLdZ40b5IMAzG67epZ9HFryFpOI 85og== X-Gm-Message-State: AOAM530fIMCWz8jyVo83QLRDCYW28/eyBFUEQIkKFw9vdG8ZWDRWvhdo ucpmRdyTtgPMrBx8qvw9ZHOaF5RFS3P1RdbyZVE= X-Received: by 2002:a65:5c8d:: with SMTP id a13mr601359pgt.63.1614803015304; Wed, 03 Mar 2021 12:23:35 -0800 (PST) MIME-Version: 1.0 References: <20210216201813.60394-1-xie.he.0141@gmail.com> <20210219103948.6644e61f@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> <906d8114f1965965749f1890680f2547@dev.tdt.de> <41b77b1c3cf1bb7a51b750faf23900ef@dev.tdt.de> <20210302153034.5f4e320b@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> <8cac820a181070ac2bad983dc49e4e4e@dev.tdt.de> In-Reply-To: <8cac820a181070ac2bad983dc49e4e4e@dev.tdt.de> From: Xie He Date: Wed, 3 Mar 2021 12:23:24 -0800 Message-ID: Subject: Re: [PATCH net-next RFC v4] net: hdlc_x25: Queue outgoing LAPB frames To: Martin Schiller Cc: Jakub Kicinski , Leon Romanovsky , "David S. Miller" , Linux X25 , Linux Kernel Network Developers , LKML , Krzysztof Halasa , Jonathan Corbet , linux-doc@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 3, 2021 at 5:26 AM Martin Schiller wrote: > > On 2021-03-03 00:30, Jakub Kicinski wrote: > > > > Hard question to answer, existing users seem happy and Xie's driver > > isn't upstream, so the justification for potentially breaking backward > > compatibility isn't exactly "strong". > > > > Can we cop out and add a knob somewhere to control spawning the extra > > netdev? Let people who just want a newer kernel carry on without > > distractions and those who want the extra layer can flip the switch? > > Yes, that would be a good compromise. > I think a compile time selection option is enough here. > We could introduce a new config option CONFIG_HDLC_X25_LEGACY (or > something like that) and then implement the new or the old behavior in > the driver accordingly. > > A switch that can be toggled at runtime (e.g. via sethdlc) would also be > conceivable, but I don't think this is necessary. Yes, I think adding a new config option would be a good way. Thank you both!!