ethdev: add operation to get MTR ops
authorCristian Dumitrescu <cristian.dumitrescu@intel.com>
Fri, 13 Oct 2017 12:22:15 +0000 (13:22 +0100)
committerCristian Dumitrescu <cristian.dumitrescu@intel.com>
Fri, 20 Oct 2017 12:08:13 +0000 (14:08 +0200)
commit10f32b0f4ebc06000d1cbc14c1b95f8acc5c62ec
treea2bc8a906231038c74f981b75e553adc9164f0ac
parent1634de27280a6abb328007d10efd0a85fccdc814
ethdev: add operation to get MTR ops

Following similar approach as rte_flow and rte_tm for modularity reasons,
the ops for the new rte_mtr API are retrieved through a new eth_dev_ops
function.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
lib/librte_ether/rte_ethdev.h