From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 31F0B606A31A for ; Mon, 30 Nov 2026 22:17:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=networkplumber-org.20260707.gappssmtp.com header.i=@networkplumber-org.20260707.gappssmtp.com header.a=rsa-sha256 header.s=20260707 header.b=DV35Ufqy Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 69A9A40279; Mon, 30 Nov 2026 23:17:28 +0100 (CET) Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com [209.85.216.45]) by mails.dpdk.org (Postfix) with ESMTPS id 8A7CE40272 for ; Mon, 30 Nov 2026 23:17:26 +0100 (CET) Received: by mail-pj1-f45.google.com with SMTP id 98e67ed59e1d1-3b54096b2d0so2089890a91.1 for ; Mon, 30 Nov 2026 14:17:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20260707.gappssmtp.com; s=20260707; t=1796077045; x=1796681845; darn=dpdk.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=DJOZrN+Da1jXt5ZkiIK6FQkvCun9W+9NnCeyJ79b4Sk=; b=DV35UfqybgT2Gm4OP0uKo02zVTBD/h4PosjM8sZabI/MkAvfvEUZCoGJ28Se2e514x b5jUMrVcuHVd2WvKoGIrO6DMV53IvHoXqSMYK4RZL6d6CYXWdHPaNWXl9ltWqp7k+jMf E4hcqGL1nO4mEoZxT6MmAZ1EnC0zFBqKGyshENk67qaDh7XQYIzSCXvzJksSbyd4Ln3/ 72iCOsmp47Y0iElFu069T9oL/DJSanmJKtLqlXkVOJgCn84uP+9P0TcV7ISgFZHKJ+uA nJmiou9OUE/3n7UHoDOOOqTMSGN766z5TGzyyPCl1B/CzCwWk+STFr3NaiUWKAxv1Gwk uFhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796077045; x=1796681845; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=DJOZrN+Da1jXt5ZkiIK6FQkvCun9W+9NnCeyJ79b4Sk=; b=BCmvJT9nqHw4QR6Ogi2b12eBUvg4MlCgQmKSomRy4DJzY2UedYZbyvJXz9Xpu4nAHi 6f1j/g6SbrD/+JfxFalS7a+dDtcpU0HsQn7KVbQhrTud80auZP7okWA8CMG7HK0kaOtB mAiVTMU4jl8mpWZInYhQcnwL/vPvBrM/udRJ1jyqzDBbEIO7tcG0gUZR7iwNJvj3qVSp YB1TgxyHk5bk9eU1pvilbQgnKbjwMC4n9iPpjTuoBx3s8Ox6tAKIp9KJgkOjhW6Lhsr6 Bvz645uTEXrykeazjOC06Z2bQSbXAO7GR/Cgx/3XudO7ZZJIOutvF+lrqsAO1/yz5sp8 3wYQ== X-Gm-Message-State: APuU4Z9c0XRzRhF1aR2hhFyfYVkbxBPWrVvr13n6Dpqn5C1zEGXiMtfd 4FXAl7DTogTMglJmVl2mAEZ9TbNOTTjubs0pr2loECBZcd6CuJae1NWeOpfMDFhcpRA= X-Gm-Gg: AZFdTZfEE+iKt+BPr0GIlQgjrSIixJZqN2Qw8extYYzaIxxFu6FPKOorT67SsIGVqG2 pQ/rRUZITu2NQgjDTfSffeValLqxjGlVzehKoq3Lu0qHDHAVI2LtXSIqTM4zYV3I/3PMm5TKN3m 3gSUl6i/12bGjXa8aCMWxyl2xsCCWLw79fxqQUYpmwIjF8hcMQrsMtHvzDAwy4xtGuK6r3TAkLn GXj3YHC2j9pKI/zCVKR62tcNABgpo60MMkH45AjVCQG249zYCwvWe9ktP/b1UIgHwRkwF7Kj0ay muFEgBj2p8Jb5Lp1IeD+8vKivwC2DE1Rvm/JmZgLgz4KSyFGqap+SOwtPCF1kNvyl8e8fsw5huv w6s6pQi0qpGar2gsA1smffTSXZ32Jt36LZSAk8lrvfn0zerq0xqDv6rP946EQzzO/OfkAqtDbYU SBnYzJSJIQrepXFCUzvbzAp+85RWXZE5YLe7l1g1apj8WtHfCQ6wakLmNJbVixspXe1+qHsAL6E zqLPzv4kaq3+AvqBbzzAlZSX8WGZ4buYDx4UBsP+PxwL9ZapRUmmhvoj/0wAdyXKqmkl8ieEFk6 kSsjv7nTTce2Kyw062E/yXJ+e2Jd5VOpiWKWzYYNEcAxAuQY3szR9m2HU6az+JvryA3kkww= X-Received: by 2002:a17:90b:2688:b0:3ac:ffb8:183b with SMTP id 98e67ed59e1d1-3b41c97ab4emr34481629a91.51.1796077044780; Mon, 30 Nov 2026 14:17:24 -0800 (PST) Received: from phoenix.local (204-195-112-43.wavecable.com. [204.195.112.43]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b40578dca0sm57522744a91.2.2026.11.30.14.17.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2026 14:17:24 -0800 (PST) Date: Mon, 30 Nov 2026 14:17:22 -0800 From: Stephen Hemminger To: xiaoliang yang Cc: dev@dpdk.org, cristian.dumitrescu@intel.com Subject: Re: [PATCH] meter: fix typo in trTCM params comment Message-ID: <20261130141722.29e0a464@phoenix.local> In-Reply-To: References: X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Archive: List-Post: List-Help: List-Subscribe: , X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Sun, 29 Nov 2026 11:37:11 +0800 xiaoliang yang wrote: > The comment referenced EBS, but struct rte_meter_trtcm_params has no > EBS field; the peak burst size field is PBS. Change "Both CBS or EBS" > to "Both CBS and PBS" to match the struct fields and the validation in > rte_meter.c, which rejects zero CBS and PBS. > > Signed-off-by: Yang Xiaoliang > --- > lib/meter/rte_meter.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/meter/rte_meter.h b/lib/meter/rte_meter.h > index ab2380c154..7bd728c609 100644 > --- a/lib/meter/rte_meter.h > +++ b/lib/meter/rte_meter.h > @@ -46,7 +46,7 @@ struct rte_meter_srtcm_params { > > /** trTCM parameters per metered traffic flow. The CIR, PIR, CBS and > PBS parameters > only count bytes of IP packets and do not include link specific > headers. PIR has to > -be greater than or equal to CIR. Both CBS or EBS have to be greater > than zero. */ > +be greater than or equal to CIR. Both CBS and PBS have to be greater > than zero. */ > struct rte_meter_trtcm_params { > uint64_t cir; /**< Committed Information Rate (CIR). Measured > in bytes per second. */ > uint64_t pir; /**< Peak Information Rate (PIR). Measured in > bytes per second. */ > -- > 2.43.0 Patch is getting corrupted by line wrapping in your mailer.