Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3168865ybt; Mon, 29 Jun 2020 17:34:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwVyaQuf5IBFJgjTudh6OMbd7nEKvtpUIasaO03oYeRBbugy3Towgj05ho7KRXA9NglwDZX X-Received: by 2002:aa7:ccd5:: with SMTP id y21mr19848999edt.91.1593477282106; Mon, 29 Jun 2020 17:34:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593477282; cv=none; d=google.com; s=arc-20160816; b=ud2kXqqJ82vOJm+00KJojImpT2TM8zsqK/8SbaQMqut3wtdaPyjvn74SIsPpBMqwYb yBrn1v2jGSq6lBoN1MYqnA88yZvv6vf/XCYZ2jdGcjy0nYHhM3D5RTJEOesrzLopVjay X3dDl66RLjLmKtSeZBsP5ZrKvmVcaXtHg8Vx97M/xgjoMRVO9TJ1iVevW4gkhfw36zlu KmK1ewBykxW5XEp/KBUmXaoMAvFa9sanKPPm6oiEPO5pHvU+TOHSwBz7fT7bPjpdXPDt tN5omcWuZWLC5DaTRAw2aiaOZUONZz4wYB8P8oa3vRlq/IxoNX2QQfaJpDcDH/V/8H1b BWxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=DPlX+hiJ0KYncAKJoDIZ2AvEna3yGOy61hXw/HBIT7c=; b=MlpHnYXzRT2QpmccAYzBad1oFT69ko3t8PmOkd6iBgitNLBHsy3z7aZfuKKaHAjWsA EHhWE7f5tSQSVeUdtVFh3tP1eRn/8cK9r95Pf4ORXPjEYjQj7fjwTRblTwbGBEjMfFHb rRO54RwX4C53juTa8IxUQcnJIkP2DRNyzLgxdm3rXn6PNeGCuM3S3rn+NpNHbrAEqEY0 29sSCyN4ydf2U2fdlvDPGYg+cFVp08Z8nWiL2kn1CVdCnTI/drZh2+gnSXux0xzNO67K BUNCwV+h7r3BjenQZlLo5y7lQiKe5SiPZr4kQ5VUTujIMu3OGQfpto+5OT2nVBNY33Uo wKXg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o19si726207ejb.144.2020.06.29.17.34.18; Mon, 29 Jun 2020 17:34:42 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728164AbgF3Ad5 (ORCPT + 99 others); Mon, 29 Jun 2020 20:33:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726315AbgF3Ad5 (ORCPT ); Mon, 29 Jun 2020 20:33:57 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA7BAC061755; Mon, 29 Jun 2020 17:33:56 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id BF8E6127C1B86; Mon, 29 Jun 2020 17:33:54 -0700 (PDT) Date: Mon, 29 Jun 2020 17:33:53 -0700 (PDT) Message-Id: <20200629.173353.2205232220417102627.davem@davemloft.net> To: po.liu@nxp.com Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, alexandre.belloni@bootlin.com, andrew@lunn.ch, vivien.didelot@gmail.com, f.fainelli@gmail.com, kuba@kernel.org, jiri@resnulli.us, vlad@buslov.dev, claudiu.manoil@nxp.com, vladimir.oltean@nxp.com, alexandru.marginean@nxp.com, michael.chan@broadcom.com, vishal@chelsio.com, saeedm@mellanox.com, leon@kernel.org, jiri@mellanox.com, idosch@mellanox.com, UNGLinuxDriver@microchip.com, jhs@mojatatu.com, xiyou.wangcong@gmail.com, simon.horman@netronome.com, pablo@netfilter.org, moshe@mellanox.com, oss-drivers@netronome.com Subject: Re: [v2,net-next] net:qos: police action offloading parameter 'burst' change to the original value From: David Miller In-Reply-To: <20200629065416.31111-1-po.liu@nxp.com> References: <20200629020420.30412-2-po.liu@nxp.com> <20200629065416.31111-1-po.liu@nxp.com> X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 29 Jun 2020 17:33:55 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Po Liu Date: Mon, 29 Jun 2020 14:54:16 +0800 > Since 'tcfp_burst' with TICK factor, driver side always need to recover > it to the original value, this patch moves the generic calculation and > recover to the 'burst' original value before offloading to device driver. > > Signed-off-by: Po Liu > Acked-by: Vladimir Oltean Applied, thank you.