app/testpmd: add meter to flow actions table
authorTomasz Duszynski <tdu@semihalf.com>
Sun, 28 Jan 2018 11:58:39 +0000 (12:58 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 31 Jan 2018 22:49:17 +0000 (23:49 +0100)
commitb8acbd654c1a9886dfcff9143b68522d6e0d74bb
tree5b8fd74fc2a2c93161eb97d7b208401ec3bc3f40
parent9e70fce2e1cfb5f5061272b3051c5a95cf0a1ef5
app/testpmd: add meter to flow actions table

Since METER action is supported by the testpmd application
suitable entry should exist in flow actions information table.

Without that testpmd will return error on adding a new flow to
the list of flows attached to a given port.

Fixes: 30ffb4e67ee3 ("app/testpmd: add commands traffic metering and policing")
Cc: stable@dpdk.org
Signed-off-by: Tomasz Duszynski <tdu@semihalf.com>
Acked-by: Jasvinder Singh <jasvinder.singh@intel.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
app/test-pmd/config.c