From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id CE4081B490 for ; 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 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2019 13:59:37 -0000 This patch adds support for RFC4115 trTCM meters. Signed-off-by: Eelco Chaudron 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(-)