From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0084.outbound.protection.outlook.com [104.47.40.84]) by dpdk.org (Postfix) with ESMTP id B9BBD1B627 for ; Wed, 18 Oct 2017 04:56:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=th7/b0kXqM1Bf8LT6k28jqaPFYbkYHar4AyghrQnbL8=; b=BzRPCKpLBRBh1IykvpMQyzUiBDcFez6TF40lCwTZVtCkxb1UGJWzMYkwUqYkhtWpT3+AD1OKKqBfTYsRUCmwoNqNvgaKP0X2XBekrWaw6L52QW1O/cuqVDB8Hjllkll9XbuhVFMuYsPpGHg0G7lsh3YDoGj/zEX4KdAqrrTMa44= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (171.76.118.225) by CY1PR07MB2524.namprd07.prod.outlook.com (10.167.16.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Wed, 18 Oct 2017 02:56:04 +0000 Date: Wed, 18 Oct 2017 08:25:46 +0530 From: Jerin Jacob To: Cristian Dumitrescu Cc: dev@dpdk.org, thomas@monjalon.net, adrien.mazarguil@6wind.com, jingjing.wu@intel.com, john.mcnamara@intel.com, hemant.agrawal@nxp.com, jasvinder.singh@intel.com Message-ID: <20171018025545.GA2127@jerin> References: <1507301136-131382-2-git-send-email-cristian.dumitrescu@intel.com> <1507897338-236951-1-git-send-email-cristian.dumitrescu@intel.com> <1507897338-236951-2-git-send-email-cristian.dumitrescu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1507897338-236951-2-git-send-email-cristian.dumitrescu@intel.com> User-Agent: Mutt/1.9.1 (2017-09-22) X-Originating-IP: [171.76.118.225] X-ClientProxiedBy: MAXPR0101CA0047.INDPRD01.PROD.OUTLOOK.COM (10.174.62.161) To CY1PR07MB2524.namprd07.prod.outlook.com (10.167.16.15) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 011702b1-04c3-467d-26e7-08d515d3c779 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(2017052603199)(201703131423075)(201703031133081)(201702281549075); SRVR:CY1PR07MB2524; X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2524; 3:2A+g0LRi5fTHsO7NBStrKMPmKi8ZgduoWhm4ySCxDuNNT8fUDBG3hDT3/2USd/DXCmpPgduk8MjFNkqaH7SPvlo+ptIZgcdQWvuaXPvACuvYUtycDxoER4UEKHAveOd6GziR9E/DXP3Rh8YOYTepKVIKJpZ2FT22qeQsx/Oog7uL+pa5wTR+FN7ejZ5wdOIoI2rovqNAQE9PrPuQcjMqShpXBi1REbfuECZaF52/yO0m5soq+hIeQVN4M31Zjo5y; 25:3oUCBfFi1MkLCrs/eODrHctZ9pWhyeay9CYdBbX7wf7O98+UhgFa5g9QokmUhtaybbDhFwTQZ+tmuh3RCpdmTQBJrcoerahthgAk3hCOXFqfPV86YhU78jtdrDjRsLfsZQV3bwMkOd3+xDVhEDcDiLsrrriHAB9ZODe5OEiN34+fJd2ftjuwlWefEgX2SWAnAnTR8L/cyrbeCQMCfyF/OkSI4cdaNN98d2Aglmabsg/zciQFLC+0Kwl6BQjsBt0kJ5vKk18lpjPF0vgKK0s9jmaRSoI/gfSZe3vhWTilsRE28Do7fSJC8lo0cqDpBOydxA1yvL8uqGPKs4k3TcRnAg==; 31:KxxzxFpGAXpjfJBafQqe1gPZmM9imssN5M5A3xnSILzWeCZSwGP63RHnPPYKeJWkTZRyxfn9rycevWLnv51Fz+K46tCMZIaV6N7/l85vl0iSIJDG8nxDHpWnngn6t419npGxDzHUrSEK0O6UZgJ4pFPZ4HmDHrFn+iN64Zi9Hi+DNdHbl5j+leiXGkADiw70ysgfDnyrSgjNVqs3mZF+xgb0L9U37o0zZXbxmI79170= X-MS-TrafficTypeDiagnostic: CY1PR07MB2524: X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2524; 20:rx0GFQc9yPqEtINR5y5dPQ0hX3T3VIBVXgBpSHu3yBkwCd8kyAlQoqQ5uaFZ518CRmFI691eR5PIb75BmGmTOTx01wvVKxVyuea2z1OUq3B3xFU5tIbwoiFZqtYOD/XUfVyVdMi4B79beoZyVnO4YkPanLr2YU0Xpw1v2wVfzo1RZRYl5vD3rleJ7RAZweBBvfZgyhhjPwkxiSE74/6iWM2UKZFluPjqV2zbkTO40R7w+d9k4Jk9/D+QL/dDQmFufFxsYL2nJzJauNE+Lq8ZZSSp0R6qhdzQJjKPTE66mqFErUpmJ5CtbvzC5ALWoL/GCz/M0dA8GzhbXVmk6uAKtS7mIJ5PuHjlOiEiBY2s/Xiz/dvYVdcPixYVBj41FoGYsW7id0XxV0UB6TCCWE6AMMTSR/J0X8NjEARV6gLLbQOUuGhYF5SYP19Ais0jYma1KOLhtW/+pRSOPIAyIfg1gpR2EvT+b1qJbXYtk1MpGmPOxNxnw7ncK6sYFeiqxvVI5ddEeYDkmKdmn3O5rJnFP8Pf1nvcgPyTuv/S9WB9BttRGICSVACWHlQ6EuPnQuoIrOY6TlmvQzX7JdmlnldMM2krTpLW6iSqLxVVg22Zrrg= X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(228905959029699); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(93006095)(100000703101)(100105400095)(10201501046)(3002001)(6041248)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123564025)(20161123558100)(20161123560025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY1PR07MB2524; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY1PR07MB2524; X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2524; 4:PMuSHqRE7e3qYWneJQGarLDNxozZWPCVCnVBYFe9+a7wbTBfmr/4fO5EPwmFEnFkYDopApJ8qhyltIT1+lWEXoy8RFlpO3lAADnl1z2NLK95HxalDp955TjkAs0oh2n8p7W9GbF4356WHgZU/4VH0cbcwPgiG2Ry01FlfbI1HYQUJyacA9D55TyhwP6fd5XiCEwY5wjsGKpXvJve6aw1x5gpcOsnPH5KnRQaI7HWIMUdJCvyXnr8lPBHD7bb54arQezjInPPHZcdPA7lTATZ9/hIKy0SmRCaIS784fQg1Au/6FLQgQN+JWiru94NmVGVzjGMWG/n0p30BxhCdZGmgw== X-Forefront-PRVS: 0464DBBBC4 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(376002)(346002)(13464003)(199003)(189002)(9686003)(305945005)(4326008)(47776003)(53936002)(6246003)(6496005)(8676002)(81156014)(2906002)(81166006)(6666003)(33656002)(55016002)(8656005)(66066001)(8656005)(8936002)(229853002)(16586007)(25786009)(5660300001)(33716001)(2950100002)(6916009)(72206003)(105586002)(7736002)(316002)(106356001)(478600001)(50986999)(76176999)(42882006)(16526018)(50466002)(97736004)(54356999)(58126008)(23726003)(3846002)(189998001)(1076002)(68736007)(83506001)(6116002)(101416001)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR07MB2524; H:jerin; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR07MB2524; 23:B8gJesnqd+Rk2ysvLPhi8vddilWOFjnjQn8HSa0aw?= =?us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LPhQr6wPOCA5kE=; 7:kuXIjRVTuVhUqe3Y33lEJZpWVom+5+6JNPAyIFAKnO1hvk/JAkFtTJEeOFldmaLNBvdtz4WxeksG6UrskMra8PRUG+9WHL15pb/khgiNvrgMBKgQac/7xwedeMI+T3a1A99xCzfb5uuleLutZeQ3qvmr+sKISoTIgqoNaFm2DOj6dTB3CdULr+vl0poAVPQ6SWsgyv7bkF9EYhi0G6sCB78E46BLtM+GeUB05s502s8= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2017 02:56:04.2067 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR07MB2524 Subject: Re: [dpdk-dev] [PATCH V4 1/5] ethdev: add new flow action for metering and policing X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Oct 2017 02:56:10 -0000 -----Original Message----- > Date: Fri, 13 Oct 2017 13:22:14 +0100 > From: Cristian Dumitrescu > To: dev@dpdk.org > CC: thomas@monjalon.net, adrien.mazarguil@6wind.com, jingjing.wu@intel.com, > john.mcnamara@intel.com, hemant.agrawal@nxp.com, > jerin.jacob@caviumnetworks.com, jasvinder.singh@intel.com > Subject: [PATCH V4 1/5] ethdev: add new flow action for metering and > policing > X-Mailer: git-send-email 2.7.4 > > Metering and policing action typically sits on top of flow classification, > which is why MTR objects are enabled through a newly introduced flow > action. > > The configuration of MTR objects is done in their own namespace (rte_mtr) > within the librte_ether library. The MTR object is hooked into ethdev RX > processing path using the "meter" flow action. > > Signed-off-by: Cristian Dumitrescu > Acked-by: Adrien Mazarguil Acked-by: Jerin Jacob