app/testpmd: new commands for flex filter
authorJingjing Wu <jingjing.wu@intel.com>
Sat, 21 Feb 2015 01:53:09 +0000 (01:53 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 22 Feb 2015 01:53:29 +0000 (02:53 +0100)
commita47ce91502358f0f3b452a8fd15d6013f4a26280
tree7fc78187a989d44bc38b9244c65d95373370ca6e
parent231d43909a31db25eb54ce07f70c4b2160dde87e
app/testpmd: new commands for flex filter

Following commands of flex filter are removed:
  - add_flex_filter (port_id) len (len_value) bytes (bytes_string) mask (mask_value)
    priority (prio_value) queue (queue_id)
  - remove_flex_filter (port_id) index (idx)
  - get_flex_filter (port_id) index (idx)
New command is added for flex filter by using filter_ctrl API and new flex filter structure:
  - flex_filter (port_id) (add|del) len (len_value) bytes (bytes_value) mask (mask_value)
    priority (prio_value) queue (queue_id)

Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
app/test-pmd/cmdline.c
app/test-pmd/config.c
app/test-pmd/testpmd.h
doc/guides/testpmd_app_ug/testpmd_funcs.rst