net/mvpp2: support metering
authorTomasz Duszynski <tdu@semihalf.com>
Tue, 25 Sep 2018 07:04:59 +0000 (09:04 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 27 Sep 2018 23:41:03 +0000 (01:41 +0200)
commitcdb53f8da628794b6e3e8440d2d52293e2b92642
tree54adbb58fc73baba3e4481d355894a81ffee4e0a
parentfad0cfe030c573d482e57cbc099816826c8e9bec
net/mvpp2: support metering

Add support for configuring plcr via DPDK generic metering API.

Signed-off-by: Tomasz Duszynski <tdu@semihalf.com>
Signed-off-by: Natalie Samsonov <nsamsono@marvell.com>
Reviewed-by: Liron Himi <lironh@marvell.com>
drivers/net/mvpp2/Makefile
drivers/net/mvpp2/meson.build
drivers/net/mvpp2/mrvl_ethdev.c
drivers/net/mvpp2/mrvl_ethdev.h
drivers/net/mvpp2/mrvl_flow.c
drivers/net/mvpp2/mrvl_mtr.c [new file with mode: 0644]
drivers/net/mvpp2/mrvl_mtr.h [new file with mode: 0644]