Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1014775ybt; Fri, 19 Jun 2020 21:39:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwIACOX0NQF0lAAcj6n1+r868el1a+XMVcbV6gQ087xjwrE1FIj5C4tnrqxy/3L0eIj8onq X-Received: by 2002:a17:906:17c8:: with SMTP id u8mr6642598eje.129.1592627993485; Fri, 19 Jun 2020 21:39:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592627993; cv=none; d=google.com; s=arc-20160816; b=Jo3tR4nJFPEPN6A/lOlc9YvMODUKUegGpmbC/0mvunElKTPSM1NY2kC4qZVQfO6lUt SJUVvnnRb9nT1sbw6i09Yc1NsY0yctt4TeMPXVu1VREBve0UIDHEC4w88xPJtkA6wz9o HGthhjKu3iuSiYWJsyLaldkVJLCjTbCFPKamXBBdntq9FFyCiCvTvNhCeO663gsVYjJ8 8j6dC8E9Qm5n42724klf2SY6rDs/nYq4fvfnZgIkjjauT/x4+NsHv45RfElmAPFyU3sq CL/llI7FfDIy8/rpguSh8SzShDjjc/gFtvbkbD/slhJZBceEXjNavczX9F8bS4XftuTO Wlrg== 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=L0GJgX45jU/20rT21k+aHzVoibqySJGMm+1agoqT4kM=; b=k2+9v5WU7dlLW5ESkLRhHC3jT8wpCOrkIOt6cVLQk9KBWg3E9cU8IvUd5qBsf6CDGY OmmYdT9INsVtmpr3WMTxOTknlcKhSSePpLyfF3UYWsAP/hzXzZsODjw61KG4KQIkmj9f YrfeLLNzzgkfSkDNQ5VbAFgPunUdxA5myWhv1K0VsX/+R6X7cXwhBBkh6dvBlBuYGLMo iph6P1+4+D11EqZXjrO4QhcrqaEraK82AHoieS4IKW1nvDNfPl3F/gPtp+2YUSRnDQ8W fr75c7+DVHZk0u+IDnHQ6Wn7ic7ygKTpPOVcGxlq/N4s6uHCUAX5FgSm+GtIlMkn7lQ9 tmxA== 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 od24si5150940ejb.103.2020.06.19.21.39.31; Fri, 19 Jun 2020 21:39:53 -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 S2390950AbgFSTyY (ORCPT + 99 others); Fri, 19 Jun 2020 15:54:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387750AbgFSTyY (ORCPT ); Fri, 19 Jun 2020 15:54:24 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CACAC06174E; Fri, 19 Jun 2020 12:54:24 -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 F387A12835ABD; Fri, 19 Jun 2020 12:54:18 -0700 (PDT) Date: Fri, 19 Jun 2020 12:54:16 -0700 (PDT) Message-Id: <20200619.125416.1386065322120149725.davem@davemloft.net> To: po.liu@nxp.com Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.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] net: qos offload add flow status with dropped count From: David Miller In-Reply-To: <20200619060107.6325-1-po.liu@nxp.com> References: <20200324034745.30979-1-Po.Liu@nxp.com> <20200619060107.6325-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]); Fri, 19 Jun 2020 12:54:19 -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: Fri, 19 Jun 2020 14:01:07 +0800 > From: Po Liu > > This patch adds a drop frames counter to tc flower offloading. > Reporting h/w dropped frames is necessary for some actions. > Some actions like police action and the coming introduced stream gate > action would produce dropped frames which is necessary for user. Status > update shows how many filtered packets increasing and how many dropped > in those packets. > > v2: Changes > - Update commit comments suggest by Jiri Pirko. > > Signed-off-by: Po Liu Applied, thank you.