net/mvpp2: change default policer configuration
authorTomasz Duszynski <tdu@semihalf.com>
Tue, 25 Sep 2018 07:05:00 +0000 (09:05 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 27 Sep 2018 23:41:03 +0000 (01:41 +0200)
commite97d88740a5efdd81dd3382453e80ad16bcaa63f
tree4fb1c8d59dc7264bfe71dacfbff1d1ee7f6e9d03
parentcdb53f8da628794b6e3e8440d2d52293e2b92642
net/mvpp2: change default policer configuration

Change QoS configuration file syntax for port's default policer
setup.

Since default policer configuration is performed before
any other policer configuration we can pick a default id.

This simplifies default policer configuration since user
no longer has to choose ids from range [0, PP2_CLS_PLCR_NUM].

Explicitly document values for rate_limit_enable field.

Signed-off-by: Tomasz Duszynski <tdu@semihalf.com>
Signed-off-by: Natalie Samsonov <nsamsono@marvell.com>
Reviewed-by: Liron Himi <lironh@marvell.com>
doc/guides/nics/mvpp2.rst
drivers/net/mvpp2/mrvl_ethdev.c
drivers/net/mvpp2/mrvl_ethdev.h
drivers/net/mvpp2/mrvl_qos.c
drivers/net/mvpp2/mrvl_qos.h