Return-Path: <florian.kauer@linutronix.de>
X-Original-To: detnet@mail2.ietf.org
Delivered-To: detnet@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1])
	by mail2.ietf.org (Postfix) with ESMTP id A8EB14B33579
	for <detnet@mail2.ietf.org>; Fri, 25 Jul 2025 07:17:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -4.4
X-Spam-Level: 
X-Spam-Status: No, score=-4.4 tagged_above=-999 required=5
	tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3,
	SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key)
	header.d=linutronix.de header.b="Pt5EBHI4"; dkim=neutral
	reason="invalid (unsupported algorithm ed25519-sha256)"
	header.d=linutronix.de header.b="F4JHOxmY"
Received: from mail2.ietf.org ([166.84.6.31])
	by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id gRyX5GUnIFff for <detnet@mail2.ietf.org>;
	Fri, 25 Jul 2025 07:17:00 -0700 (PDT)
Received: from galois.linutronix.de (Galois.linutronix.de
 [IPv6:2a0a:51c0:0:12e:550::1])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256)
	(No client certificate requested)
	by mail2.ietf.org (Postfix) with ESMTPS id 065F34B33572
	for <detnet@ietf.org>; Fri, 25 Jul 2025 07:17:00 -0700 (PDT)
Message-ID: <d9338eef-49c0-4739-84d2-a1859cdfd55c@linutronix.de>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de;
	s=2020; t=1753453016;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:autocrypt:autocrypt;
	bh=apgq3CAjRHeI+biAZnVDjIHSJ8ZkjvRkd1nbdtB6X5o=;
	b=Pt5EBHI4A30Dm900Qu6ZyVu4xY1+dBir4KslCQiOYKL80R0P9K9zdaaJWlI5WcA+cJeqyV
	cvTVhuSFhPf/ZjEIniYLB0xXptopiWJH/JuOCrwhkCzpSIaPO3R/5JbWYI7E4N5Cf9VzaJ
	zQN3TIg30RHZ/X5s5bNmRogpHSA7vUlOlafH6ppZAhoS1JtWrQA7kERZdncNteljFQoa76
	xoRLq+o1tyW31fhZDu81qY3XuD1w1rrADRlByDA0Bj0OmjGMsZYawbMFRJYDgooUuQmBfd
	rK2nkBuzYoGMahsPbi2pAH6FR2GlhA6nPO8wRgCfgW8/So93Ug7oEXKiz9XhBA==
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de;
	s=2020e; t=1753453016;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:autocrypt:autocrypt;
	bh=apgq3CAjRHeI+biAZnVDjIHSJ8ZkjvRkd1nbdtB6X5o=;
	b=F4JHOxmYn2WsUFf4hZh7ljvz3v2wuzoHYqic7I8QjX2UjvARqZN4Juv/1wi1WqenTAmMcm
	eWeBTy8qDhZ4FwCQ==
Date: Fri, 25 Jul 2025 16:16:48 +0200
MIME-Version: 1.0
Content-Language: en-US
To: peng.shaofu@zte.com.cn
From: Florian Kauer <florian.kauer@linutronix.de>
Autocrypt: addr=florian.kauer@linutronix.de; keydata=
 xsFNBGO+z80BEADOSjQNIrfbQ28vjDMvs/YD/z0WA/iJNaD9JQDXNcUBDV1q+1kwfgg5Cc7f
 rZvbEeQrO7tJ+pqKLpdKq6QMcUW+aEilXBDZ708/4hEbb4qiRl29CYtFf8kx4qC+Hs8Eo1s3
 kkbtg/T4f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KQoz3+jo+PcBABEBAAHCwXwEGAEKACYCGwwWIQTxfYtUEzwiKUk+ZKC1
 l23WUlGUTgUCZ3z4/QUJBjb5MAAKCRC1l23WUlGUTiYJEACjoUxeW5lAqBdsIKWjq0AoDoT9
 79uZ/hPVAG5GBeVbkT0kq9Ju1lCSVcncjwvy/wHaKcox6lYHneV+4GJOEnMzE9zYp09LttD8
 c+ByecPj2335nw0he9WzNP0pLsxybxBwU6nJwTQWAVM53AYrojNVm5VpoNOg11PmLxviigjn
 El4wQvsQQF/wSNL/dIXpA3i5EbJ4yCf8vTHw9cqLYQ4PANmu4dzGmECyj/fEsh6yTUvohq+m
 fgw2ADcWXxDG3epsczshw7q0GXK0epohswCl54gnuzbyw61qgyl4pHq/dsCYBRI1brBBmj/f
 kdPVmecpSr1QN15Py7BtU3QzqOmFu8Ds+9JESUMjyfOYsOgQfAReYo6avBKb9yugcahxZShU
 SXXaRHJ5MR6ThZZ4xx5N36qKeh3Wx33iyeSy/bozswWWHr7I3BdfIOh1YXaAzvsL+9wRaKbo
 i1kFCEt7lWrIE5mdb+Z0btwhj7CFG4it+B8f3XsEc+oF4xI0pMSwtPKK5FFvayWReGcDeqv6
 H/rdD+Ps4BFzKyL0JHKClEQF2YzvpqXlPxRZZ2Vo4UzpK0NG76KCAjeMkWr9Nlbgpbqkm8V+
 7TLowOe58NtSTf0PdrjBhwMTDBvY7FAL5Ly4vQfzFK2NSnHurp7aXtzOuERqyoZh7YmbIbLx
 EqZ9V7L48A==
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Message-ID-Hash: MN4ZRS3G4L5CVIBML2GERWJYCDMUIWLT
X-Message-ID-Hash: MN4ZRS3G4L5CVIBML2GERWJYCDMUIWLT
X-MailFrom: florian.kauer@linutronix.de
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency;
 loop; banned-address; member-moderation; header-match-detnet.ietf.org-0;
 nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size;
 news-moderation; no-subject; digests; suspicious-header
CC: DetNet WG <detnet@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: =?utf-8?q?=5BDetnet=5D_Number_of_queues_TAS_vs_TQF?=
List-Id: Discussions on Deterministic Networking BoF and Proposed WG
 <detnet.ietf.org>
Archived-At: 
 <https://mailarchive.ietf.org/arch/msg/detnet/0fxGcGh26hgOxoC3HK6Cb6EQydo>
List-Archive: <https://mailarchive.ietf.org/arch/browse/detnet>
List-Help: <mailto:detnet-request@ietf.org?subject=help>
List-Owner: <mailto:detnet-owner@ietf.org>
List-Post: <mailto:detnet@ietf.org>
List-Subscribe: <mailto:detnet-join@ietf.org>
List-Unsubscribe: <mailto:detnet-leave@ietf.org>

Hi,
as commented at the IETF 123 DetNet session, I am confused why draft-peng-detnet-packet-timeslot-mechanism states

  TAS can be seen as a special case of TQF (where M = 1)

In particular, compare to the following quote of draft-ietf-detnet-dataplane-taxonomy:

   Note that TAS in 802.1Qbv is a scheduling mechanism defined in an
   output port with eight queues.  The queues are controlled by GCL and
   its gate control entries.  Each queue can serve a class.  In an
   entry, queues can be either open or closed.  Thus, TAS can be seen as
   a class level solution.  However, in many cases TAS is understood as
   a scheduling mechanism, where the number of queues are not limited to
   8.  There could be a natural extension, such as TQF, which enables
   Qbv to allocate one queue to each flow or a flow aggregate.

Which seems to imply that M = 8 in my understanding.

Yes, the way IEEE 802.1Q is written, it implies that there are 8 traffic classes with different priorities (i.e. one traffic class is always more important than another) and this is also supported by the way 60802 uses the traffic classes (see Figure 6 of 60802). And maybe that is what you were referring to when you said that you can only use one queue for the scheduled traffic (i.e. the "highest" traffic class)?

However, with TAS/Qbv this does NOT imply that a packet of a "higher" traffic class always takes precedence over a packet of a "lower" traffic class!

For example, with TAS/Qbv you can easily configure the following schedule for a cycle time of 800 us:

Traffic Class 0: Open gate from 0 us - 100 us
Traffic Class 1: Open gate from 100 us - 200 us
Traffic Class 2: Open gate from 200 us - 300 us
Traffic Class 3: Open gate from 300 us - 400 us
Traffic Class 4: Open gate from 400 us - 500 us
Traffic Class 5: Open gate from 500 us - 600 us
Traffic Class 6: Open gate from 600 us - 700 us
Traffic Class 7: Open gate from 700 us - 800 us

Wouldn't that be M = 8?

Greetings,
Florian

