ethdev: add flow action for metering and policing
authorCristian Dumitrescu <cristian.dumitrescu@intel.com>
Fri, 13 Oct 2017 12:22:14 +0000 (13:22 +0100)
committerCristian Dumitrescu <cristian.dumitrescu@intel.com>
Fri, 20 Oct 2017 12:07:12 +0000 (14:07 +0200)
commit1634de27280a6abb328007d10efd0a85fccdc814
tree9ddd7818fc297d44ea75ddfb448f08191d744d68
parent6b9ed026a8704b9e5ee5da7997617ef7cc82e114
ethdev: add flow action for metering and policing

Metering and policing action typically sits on top of flow classification,
which is why MTR objects are enabled through a newly introduced flow
action.

The configuration of MTR objects is done in their own namespace (rte_mtr)
within the librte_ether library. The MTR object is hooked into ethdev RX
processing path using the "meter" flow action.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
doc/guides/prog_guide/rte_flow.rst
lib/librte_ether/rte_flow.h