Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1154812ybt; Wed, 24 Jun 2020 22:08:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYeKsnXwtgI6FgFb4NrvNRRmnp3N7JMvPyqMgDuAOWynUpva2UCAWzF6uX4zEQ4Q4kjZkf X-Received: by 2002:a50:fe18:: with SMTP id f24mr15233416edt.14.1593061680925; Wed, 24 Jun 2020 22:08:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593061680; cv=none; d=google.com; s=arc-20160816; b=b9R+znr8UKxX7DD+wGXi5hDBJr4DOsQCahSBDhGcLgZD+HTyLTYwQJ1eA7GgE7Q4Im In4lfGlwJVPN+NB3+Acajf4oykBu+q0Y7klIaTYAwFjz77PVByypz88XqevwP5wjio61 3mn7lzt80oCpiVWTMOAfcV3TFYKcTM0XCgRwQcoy5b19tHNrbjGCtpboqMTh6HQUlrLp 4a2eg+HAkiMKGQKTlV6EG+zPKp8q+l9Hu1iVJC++/eUvdypAvW2G9ZDiU1ubjt2JUjpy HsdZ+64IBejr7xYtDhiObMFLRrSn9ffTaW9l0jGTv+SwlQxjnZpKm3d2nSgDtjjNcBEq CH5w== 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=7lW2AqpS8Jpjrm0/gaXmvhJ7//M+qsPxCXUCZfWzq1I=; b=OiYhpOmX9a/5PmDRun/zHpsuENYaV5d45r/L0ovLEn+kgh1iWQM2EwBvO9guteos8G rUoCbXsoz1HFu++iYF8kyfcSN9fgfP5DMqnwTl9L8O0T6VVINM0uYsNZzFayKC8Gl6dO bWP3tTwAhARpuPQKnG+qnOQYWsIwzW6OGQt7P4hjDcQsAXSw2F8bVeYJ+egDS1/gSjQT 51JBjmyMJpEG9tzA0hTCh8j0I9ERWSwXWwF+rklR3ocbpHxYXk5OQfOyqAT4YcDbov2p u3ynGtK5EmqY4yRsLGUOPYLVhdCIyfB6GpbRRZL2xYCbs+5Xk3B0jvDG6fS4ylAcs48A +tdQ== 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 m10si14342727ejc.104.2020.06.24.22.07.37; Wed, 24 Jun 2020 22:08:00 -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 S2389781AbgFYFEn (ORCPT + 99 others); Thu, 25 Jun 2020 01:04:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389467AbgFYFEn (ORCPT ); Thu, 25 Jun 2020 01:04:43 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFE83C061573; Wed, 24 Jun 2020 22:04:42 -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 F2BCE1288116E; Wed, 24 Jun 2020 22:04:39 -0700 (PDT) Date: Wed, 24 Jun 2020 22:04:39 -0700 (PDT) Message-Id: <20200624.220439.52653230093330004.davem@davemloft.net> To: po.liu@nxp.com Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, idosch@idosch.org, jiri@resnulli.us, vinicius.gomes@intel.com, 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, alexandre.belloni@bootlin.com, UNGLinuxDriver@microchip.com, kuba@kernel.org, jhs@mojatatu.com, xiyou.wangcong@gmail.com, simon.horman@netronome.com, pablo@netfilter.org, moshe@mellanox.com, m-karicheri2@ti.com, andre.guedes@linux.intel.com, stephen@networkplumber.org Subject: Re: [v2,net-next 1/4] net: qos: add tc police offloading action with max frame size limit From: David Miller In-Reply-To: <20200624093631.13719-1-po.liu@nxp.com> References: <20200623063412.19180-4-po.liu@nxp.com> <20200624093631.13719-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]); Wed, 24 Jun 2020 22:04:40 -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: Wed, 24 Jun 2020 17:36:28 +0800 > From: Po Liu > > Current police offloading support the 'burst'' and 'rate_bytes_ps'. Some > hardware own the capability to limit the frame size. If the frame size > larger than the setting, the frame would be dropped. For the police > action itself already accept the 'mtu' parameter in tc command. But not > extend to tc flower offloading. So extend 'mtu' to tc flower offloading. > > Signed-off-by: Po Liu Applied.