Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp9632261ybl; Fri, 17 Jan 2020 15:48:30 -0800 (PST) X-Google-Smtp-Source: APXvYqx0t8hWdirLdAWKG8pNW+ArUW4VUGfhvFJyOS+y2NJAxcEkQwPFdkCusiuanwyN6HPzhjaS X-Received: by 2002:a9d:3cf:: with SMTP id f73mr8066402otf.11.1579304910238; Fri, 17 Jan 2020 15:48:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579304910; cv=none; d=google.com; s=arc-20160816; b=nf/28I62FGMKFj3r4edVCgSfznIK+7zAKN+WOz/9IgzTGPtSYIO//GeXdURBZfoTa6 yI6CJ6XPbd/7hXfZ73AVZa4pCxaWtJbu2rgw4y3CCm6er56OerCjyoIvMYCqtjNXc2Oi YVoOKN735699GBgLxLFNjyeNNUxYL6G3AkERu8JJjQnoM07Mts6TjfmeJ+MxfW13yRLM VsbKObyvf27dlE7jCw5V4nLUjr8XWc5W8yxhe4OSLbuBuHi6k/sUPLCa3pPMiaQOS8Z3 AOgII3GYaQJn9X5GeKrlb8Pt928BnNGWOLtb3shAF1I6pP2LYjoWs1oOlBIBk3Lngeo5 j9ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=FlzFNqvnMvtJV+Y0NS00D42P8BI5rdOm+7U+L8Hdv8E=; b=ExqzYDOxMHQSUZL9it7BjK6RFAWecpaN+/h8J7N+z+dn565M4gurABoIZb7fgaR95l xVtYppbmHI6mD0aiaYd/niVb3guEWs6vAropWJ+NHus+87zIIDivDw8Fgv+J77usYM2/ okin4TYQqa50T9wAeguHe50A5UdkvdoE85eRvmjhmPglIBQoMjxudqMVn7hWIUYhLsKw BA3vmSy7DhvsLAiEd1vlmzo9uQxAiYFn8FQP7LetJIPb7e0xw7MqsmB90bv5mUO3/2oM /Sygcz0GMkT7unzIhkYs8rJRtrKDWH79z93e4K4Py9AyF1Aw2wRPHhFTxPzEmzowTiD2 goVA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f14si16297437oto.46.2020.01.17.15.48.16; Fri, 17 Jan 2020 15:48:30 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730343AbgAQXqC (ORCPT + 99 others); Fri, 17 Jan 2020 18:46:02 -0500 Received: from mga03.intel.com ([134.134.136.65]:38944 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730184AbgAQXqC (ORCPT ); Fri, 17 Jan 2020 18:46:02 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Jan 2020 15:46:01 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,332,1574150400"; d="scan'208";a="426165804" Received: from vcostago-desk1.jf.intel.com (HELO vcostago-desk1) ([10.54.70.26]) by fmsmga006.fm.intel.com with ESMTP; 17 Jan 2020 15:46:00 -0800 From: Vinicius Costa Gomes To: Murali Karicheri , Ivan Khoronzhuk Cc: Po Liu , Andre Guedes , "alexandru.ardelean\@analog.com" , "allison\@lohutok.net" , "andrew\@lunn.ch" , "ayal\@mellanox.com" , "davem\@davemloft.net" , "f.fainelli\@gmail.com" , "gregkh\@linuxfoundation.org" , "hauke.mehrtens\@intel.com" , "hkallweit1\@gmail.com" , "jiri\@mellanox.com" , "linux-kernel\@vger.kernel.org" , "netdev\@vger.kernel.org" , "pablo\@netfilter.org" , "saeedm\@mellanox.com" , "tglx\@linutronix.de" , Vladimir Oltean , "simon.horman\@netronome.com" , Claudiu Manoil , Alexandru Marginean , Xiaoliang Yang , Roy Zang , Mingkai Hu , Jerry Huang , Leo Li Subject: Re: [EXT] Re: [v1,net-next, 1/2] ethtool: add setting frame preemption of traffic classes In-Reply-To: <2400f5bd-eb82-23ad-215f-bf4ae5eb66a8@ti.com> References: <20191127094517.6255-1-Po.Liu@nxp.com> <157603276975.18462.4638422874481955289@pipeline> <87eex43pzm.fsf@linux.intel.com> <20191219004322.GA20146@khorivan> <87lfr9axm8.fsf@linux.intel.com> <2400f5bd-eb82-23ad-215f-bf4ae5eb66a8@ti.com> Date: Fri, 17 Jan 2020 15:47:04 -0800 Message-ID: <8736cd4pdz.fsf@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Murali Karicheri writes: [...] >>> >>> 2) What if I want to use frame preemption with another "transmission selection >>> algorithm"? Say another one "time sensitive" - CBS? How is it going to be >>> stacked? >> >> I am not seeing any (conceptual*) problems when plugging a cbs (for >> example) qdisc into one of taprio children. Or, are you talking about a >> more general problem? >> > > If I understand it correctly problem is not stacking taprio with cbs, > but rather pre-emption with other qdiscs and allow configuring > the parameters such as frag size. How do I use frame pre-emption as > an independent feature and configure frag size? Ethool appears to be > better from this point of view as Ivan has mentioned below. > Yeah, after all the discussion here, I think we came to the rough consensus that ethtool is the best place we have to enable/disable frame preemption and its configuration knobs. I just have a few comments to add to the series (sorry for the long delay). Cheers, -- Vinicius