From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eelco Chaudron Subject: [PATCH v4 0/2] lib/librte_meter: add RFC4115 trTCM meter support Date: Fri, 4 Jan 2019 13:59:33 +0000 Message-ID: <154661036216.75321.4852909033090962683.stgit@dbuild> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: cristian.dumitrescu@intel.com 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) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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(-)