Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1155147ybt; Wed, 24 Jun 2020 22:08:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy73YRiB+41rHrcL2ALYBhozhUWlRQJ+VXfqdO+PnvLeJfnoZwvkUQPEYd1nJhaDDZ8TcCz X-Received: by 2002:a05:6402:1ca2:: with SMTP id cz2mr28844143edb.15.1593061714807; Wed, 24 Jun 2020 22:08:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593061714; cv=none; d=google.com; s=arc-20160816; b=kZj/rBVqCsN01rcn8mciIh3/wWljwcX7QgVObpyP34eJ03ymFXVmCTNhv8I9uxrtOM XvgOfcHWJBR4ceNgwtX2NqU9ATQKccQznH6KPFwe6aO4sVI9d538FhobRkkWLCY5/Az3 Ks+YBrSpmvqmqC8a07hF2ckRD9rzcIssMt44HYcC5UcAiG4wuzkQLa732AnH4oH6fGkV ItQFMByBTprRTOk/mScuYMTeaKU2DqsVHBvvZXjTjkGfNB6uFz2+YFSuh0PvtIHTgMdl PMnWonuJwjCqAhvHf6bSULTTt48aluoseMNIGzhzZpgGMDOGQ1PFDC96lV/vbVA7uM0o rNnQ== 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=Y9XgjpM29xlKg6rBAJTguTlgI0pB5sSj1YGhrakwC+4=; b=ODIh1xjGa6zkaKLUoWMztuQLfQ5L9ccxrJzgrsPQhZjomgWL0WuXWY4RncSvq9kiHS xsQ9GsYC7RDqnD3quVE+xozK/HBGoTnumpPXg+ms9Xs8pN5MHdeqMRWD8ngcZvsnxE5b CZX6SQVaLf6w5caocNWMgUG8RxHWIGqj2WE1btRxSuDMIHTxkVdVHXCCmBTs7ScEyBn7 ZDilWf/r06gP5/j5Y+0QueP5L9FAVQisVjmbEO4muRaWZH/z5V0PBPzMLJZrFl4VIyId DG1Lwz9qLJFcMUPRMzo83uwkTylz1LPeq6PibOSpoBMLoDHjW9GXT2mFdPT5vzEn00Sz bemQ== 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 cf29si14747982edb.419.2020.06.24.22.08.12; Wed, 24 Jun 2020 22:08:34 -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 S2389859AbgFYFEy (ORCPT + 99 others); Thu, 25 Jun 2020 01:04:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389833AbgFYFEx (ORCPT ); Thu, 25 Jun 2020 01:04:53 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA0EDC061573; Wed, 24 Jun 2020 22:04:52 -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 9DE7F1288116B; Wed, 24 Jun 2020 22:04:51 -0700 (PDT) Date: Wed, 24 Jun 2020 22:04:50 -0700 (PDT) Message-Id: <20200624.220450.570880550629138791.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 3/4] net: qos: police action add index for tc flower offloading From: David Miller In-Reply-To: <20200624093631.13719-3-po.liu@nxp.com> References: <20200623063412.19180-4-po.liu@nxp.com> <20200624093631.13719-1-po.liu@nxp.com> <20200624093631.13719-3-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:52 -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:30 +0800 > From: Po Liu > > Hardware device may include more than one police entry. Specifying the > action's index make it possible for several tc filters to share the same > police action when installing the filters. > > Propagate this index to device drivers through the flow offload > intermediate representation, so that drivers could share a single > hardware policer between multiple filters. > > v1->v2 changes: > - Update the commit message suggest by Ido Schimmel > > Signed-off-by: Po Liu Applied.