[dpdk-dev] [PATCH V4 3/5] ethdev: add new api for traffic metering and policing

Jerin Jacob jerin.jacob at caviumnetworks.com
Wed Oct 18 04:58:13 CEST 2017

-----Original Message-----
> Date: Fri, 13 Oct 2017 13:22:16 +0100
> From: Cristian Dumitrescu <cristian.dumitrescu at intel.com>
> To: dev at dpdk.org
> CC: thomas at monjalon.net, adrien.mazarguil at 6wind.com, jingjing.wu at intel.com,
>  john.mcnamara at intel.com, hemant.agrawal at nxp.com,
>  jerin.jacob at caviumnetworks.com, jasvinder.singh at 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.dumitrescu at intel.com>

Acked-by: Jerin Jacob <jerin.jacob at caviumnetworks.com>

More information about the dev mailing list