Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5997715rdb; Thu, 14 Dec 2023 05:54:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IEk+tf7WIxcXPf8VACr+vPzKLs9X4g1MaBaTwdS/nP8xw8ZL+7iv/0bWqrGdaOuw536KaUU X-Received: by 2002:a05:6a20:7d86:b0:189:bf74:19ce with SMTP id v6-20020a056a207d8600b00189bf7419cemr6515452pzj.4.1702562054247; Thu, 14 Dec 2023 05:54:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702562054; cv=none; d=google.com; s=arc-20160816; b=iChL3SqSKI2y3hMm+xWLqAQ039o/vnuegUgG107MB596XRJBq7pKExdLytWFnsvLOi XYBwrbnTdawnMLLN6kNC8K9J+BERBh6IrGBjTtbjzLEOUgnAQKg+R5G8Np7JXLYQbAoF 0pVclkVhjIxMzLaKyuYoIV2FdFOg6UdLx/69FnxHzGwaCm1PmHm8ksxSQPCJbBcsJ64T UykYYQof6zREMMAdRdS7ttPlFSsUmffmBStvxm7hwjvqklZwPF3zJyQHiJB8OUMBs/wC 0gWNzJOvXJ8vOYjB631eHxT4UB44x04bZmFtUpxn6r7+KFFCiWyY2H0oEagGI8MBPfcZ f0+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Omleu3Rly/QLnZIRNzTn9bo2SVLfPN53Q6IIrlbi/uM=; fh=hDY7ol3vlzYnIt6j1OcbGoBzm77b42dQaZ4AhtYhGR4=; b=VCJd3W15or5x2ONhx9PoFYkimbMpdZhaMj/wXtDN9X1MNs4gtTnREHomwGJ4XKE8Ev k3GvPjo9y6/WAS0p8XMtAsGyGGWi87Aa8RgafIGDVnsaXDI9pnArEqJD2sFKvO1+UCND ey3Bin/YaY1gKhB7LBrQ/4ygZo9u1EQxSAJ8PqKHuSk0l5ZaVKrFuVbzxZsVYW5NVeRl euWdSWx0AE6iAeAx8B+cR1C2ev/IpYQIG/EK61sKMWniLXtrWnXCQW26kIpYQM8dv8Xb kMw9vrK4DYa9XcXcXSQERdS906B84e4vzr2JRmJb4sTZe8KQENhRPs+712IITm2Hsx3X 3XEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=If1izdon; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id p2-20020a17090a868200b0028b0c63e0aesi889704pjn.44.2023.12.14.05.54.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 05:54:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=If1izdon; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 2775D816ECD7; Thu, 14 Dec 2023 05:54:12 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1573276AbjLNNxz (ORCPT + 99 others); Thu, 14 Dec 2023 08:53:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1573115AbjLNNxy (ORCPT ); Thu, 14 Dec 2023 08:53:54 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 353428E for ; Thu, 14 Dec 2023 05:54:01 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B9875C433C7; Thu, 14 Dec 2023 13:53:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702562040; bh=hpFFXTmdXfzanXnsdALphQX0Ep1vz2YY4i+cRKKFp8w=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=If1izdonII/GWHYWsyA6KwnvJHTklxXM1V9F5kzkZ8ovqBrxTZn1/1g1FVBrZMuis UExbC7QuscqXwxTU0LPbUGyOeBwhp5z/LTUA0EhXC3xBfjxGWeulEOLJCLO09RYZd8 TOP6S+TZZd32o14Y2J5lwrwKl62vUZKH/0mZQk/uQrEUOBzI42KDUFtZ2LITdsai6g VV9Fk99I9mHlwfThDaQ6Ein0ofJylcLnqoYJPgBlntNs8vpsAzP6GopqZ9ny+dZkbN 2508wRg93+N0MgCvfz/rASnku5kmzLrxePUW/BSc+0J8PyP6Ta1Ga9lekBFfczwFXc lJn4bOZ16qT0w== Message-ID: <4b20b60a-c72d-4283-a8af-ff82bc5d1b19@kernel.org> Date: Thu, 14 Dec 2023 15:53:57 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v8 net-next 09/11] net: ethernet: ti: am65-cpsw-qos: Add Frame Preemption MAC Merge support Content-Language: en-US To: Vladimir Oltean Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, shuah@kernel.org, s-vadapalli@ti.com, r-gunasekaran@ti.com, vigneshr@ti.com, srk@ti.com, horms@kernel.org, p-varis@ti.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <20231213110721.69154-1-rogerq@kernel.org> <20231213110721.69154-10-rogerq@kernel.org> <20231214110448.lycg7yusrusbd7w2@skbuf> <20231214135039.6lcixyy7z6u56zgv@skbuf> From: Roger Quadros In-Reply-To: <20231214135039.6lcixyy7z6u56zgv@skbuf> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 14 Dec 2023 05:54:12 -0800 (PST) On 14/12/2023 15:50, Vladimir Oltean wrote: > On Thu, Dec 14, 2023 at 03:44:03PM +0200, Roger Quadros wrote: >> On 14/12/2023 13:04, Vladimir Oltean wrote: >>>> + /* verify_timeout_count can only be set at valid link */ >>>> + if (cfg->verify_time > 0) >>>> + port->qos.iet.verify_time_ms = cfg->verify_time; >>>> + else >>>> + port->qos.iet.verify_time_ms = 10; >>> >>> I don't think I understand what the check is for? The netlink policy for >>> ETHTOOL_A_MM_VERIFY_TIME limits the range between 1 ms and 128 ms. >>> How can it be 0? >> >> I didn't check ETHTOOL_A_MM_VERIFY_TIME before. > > Not even when the exact same policy was rejecting the verify-time set by > LLDP in v6, for being larger than the upper limit of 128 ms? :-/ Sorry. I did check it before but overlooked it here. My memory seems to be failing me. :( -- cheers, -roger