app/testpmd: add meter profile packet mode option
authorLi Zhang <lizh@nvidia.com>
Tue, 13 Apr 2021 15:59:55 +0000 (18:59 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 13 Apr 2021 16:40:58 +0000 (18:40 +0200)
commitc5a3860f36902e1701817b0961bf99a5c96ede3a
treed5d5499c648d79bc6e130c16895f0dce54b5e7ab
parent74c8ec894d5e7ebd3408c0e2d2955f0fa7c9f932
app/testpmd: add meter profile packet mode option

add meter profile packet_mode to the ethernet device.
One example:
add port meter profile rfc2697 (port_id) (profile_id)
(cir) (cbs) (ebs) (packet_mode)

Signed-off-by: Li Zhang <lizh@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
app/test-pmd/cmdline.c
app/test-pmd/cmdline_mtr.c
doc/guides/testpmd_app_ug/testpmd_funcs.rst