-----Original Message----- > Date: Fri, 13 Oct 2017 13:22:16 +0100 > From: Cristian Dumitrescu <cristian.dumitre...@intel.com> > To: dev@dpdk.org > CC: tho...@monjalon.net, adrien.mazarg...@6wind.com, jingjing...@intel.com, > john.mcnam...@intel.com, hemant.agra...@nxp.com, > jerin.ja...@caviumnetworks.com, jasvinder.si...@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 <cristian.dumitre...@intel.com>
Acked-by: Jerin Jacob <jerin.ja...@caviumnetworks.com>