Message ID | 154661036216.75321.4852909033090962683.stgit@dbuild (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2F3051B4A0; Fri, 4 Jan 2019 14:59:38 +0100 (CET) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id CE4081B490 for <dev@dpdk.org>; Fri, 4 Jan 2019 14:59:36 +0100 (CET) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 262B181F0F; Fri, 4 Jan 2019 13:59:36 +0000 (UTC) Received: from localhost.localdomain (ovpn-117-29.ams2.redhat.com [10.36.117.29]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9889460BE7; Fri, 4 Jan 2019 13:59:35 +0000 (UTC) From: Eelco Chaudron <echaudro@redhat.com> To: cristian.dumitrescu@intel.com Cc: dev@dpdk.org Date: Fri, 4 Jan 2019 13:59:33 +0000 Message-Id: <154661036216.75321.4852909033090962683.stgit@dbuild> User-Agent: StGit/unknown-version MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Fri, 04 Jan 2019 13:59:36 +0000 (UTC) Subject: [dpdk-dev] [PATCH v4 0/2] lib/librte_meter: add RFC4115 trTCM meter support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
lib/librte_meter: add RFC4115 trTCM meter support
|
|
Message
Eelco Chaudron
Jan. 4, 2019, 1:59 p.m. UTC
This patch adds support for RFC4115 trTCM meters.
Signed-off-by: Eelco Chaudron <echaudro@redhat.com>
v4:
- Fixed typo
- Cleaned up code to be aligned with RFC diagram
v3:
- Gave the rfc4115 meter it's own data structures
v2:
- Marked all functions with __rte_experimental, and added
"EXPERIMENTAL:..." to doxygen comments.
- Removed library version change, and merged it with first patch
- Do not call rte_meter_trtcm_rfc4115_color_aware_check in
rte_meter_trtcm_rfc4115_color_blind_check to avoid error with
it being marked as experimental
Eelco Chaudron (2):
lib/librte_meter: add RFC4115 trTCM meter support
test/test_meter: update meter test to include RFC4115 meters
lib/librte_meter/rte_meter.c | 42 ++++++
lib/librte_meter/rte_meter.h | 233 ++++++++++++++++++++++++++++++++
lib/librte_meter/rte_meter_version.map | 9 +
test/test/test_meter.c | 212 +++++++++++++++++++++++++++++
4 files changed, 494 insertions(+), 2 deletions(-)
Comments
> -----Original Message----- > From: Eelco Chaudron [mailto:echaudro@redhat.com] > Sent: Friday, January 4, 2019 2:00 PM > To: Dumitrescu, Cristian <cristian.dumitrescu@intel.com> > Cc: dev@dpdk.org > Subject: [PATCH v4 0/2] lib/librte_meter: add RFC4115 trTCM meter support > > This patch adds support for RFC4115 trTCM meters. > > > Signed-off-by: Eelco Chaudron <echaudro@redhat.com> > > v4: > - Fixed typo > - Cleaned up code to be aligned with RFC diagram > Series Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Applied to next-qos tree, thanks!
07/01/2019 16:58, Dumitrescu, Cristian: > From: Eelco Chaudron [mailto:echaudro@redhat.com] > > > > This patch adds support for RFC4115 trTCM meters. > > > > > > Signed-off-by: Eelco Chaudron <echaudro@redhat.com> > > > > v4: > > - Fixed typo > > - Cleaned up code to be aligned with RFC diagram > > > > Series Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> > > Applied to next-qos tree, thanks! #include "rte_compat.h" is missing. Fixing in-tree
Thanks Thomas! On 10 Jan 2019, at 0:22, Thomas Monjalon wrote: > 07/01/2019 16:58, Dumitrescu, Cristian: >> From: Eelco Chaudron [mailto:echaudro@redhat.com] >>> >>> This patch adds support for RFC4115 trTCM meters. >>> >>> >>> Signed-off-by: Eelco Chaudron <echaudro@redhat.com> >>> >>> v4: >>> - Fixed typo >>> - Cleaned up code to be aligned with RFC diagram >>> >> >> Series Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> >> >> Applied to next-qos tree, thanks! > > #include "rte_compat.h" is missing. > Fixing in-tree