From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerin Jacob Subject: Re: [PATCH V4 3/5] ethdev: add new api for traffic metering and policing Date: Wed, 18 Oct 2017 08:28:13 +0530 Message-ID: <20171018025812.GB2127@jerin> References: <1507301136-131382-2-git-send-email-cristian.dumitrescu@intel.com> <1507897338-236951-1-git-send-email-cristian.dumitrescu@intel.com> <1507897338-236951-4-git-send-email-cristian.dumitrescu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 To: Cristian Dumitrescu Return-path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0061.outbound.protection.outlook.com [104.47.40.61]) by dpdk.org (Postfix) with ESMTP id 450381B646 for ; Wed, 18 Oct 2017 04:58:39 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1507897338-236951-4-git-send-email-cristian.dumitrescu@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" -----Original Message----- > Date: Fri, 13 Oct 2017 13:22:16 +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 3/5] ethdev: add new api for traffic metering and > policing > X-Mailer: git-send-email 2.7.4 > > This patch introduces new ethdev generic API for Traffic Metering and > Policing (MTR), which is yet another standard RX offload for Ethernet > devices. > > Similar to rte_flow and rte_tm APIs, the configuration of MTR objects is > done in their own namespace (rte_mtr) within the librte_ether library. > > Main features: > 1. Traffic metering: determine the color for the current packet (green, > yellow, red) based on history maintained by the MTR object. Supported > algorithms: srTCM (RFC 2697), trTCM (RFC 2698 and RFC 4115). > 2. Policing (per meter output color actions): re-color the packet (keep > or change the meter output color) or drop the packet. > 3. Statistics > 4. Capability API > > Signed-off-by: Cristian Dumitrescu Acked-by: Jerin Jacob