app/testpmd: add commands for filters
authorJingjing Wu <jingjing.wu@intel.com>
Mon, 16 Jun 2014 07:31:46 +0000 (15:31 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 16 Jun 2014 17:55:14 +0000 (19:55 +0200)
commit0db70a8030281ac40402fd1b49877b8dcf93261b
tree26c21dd42682679ca80d5650d5d045bc7fc16bfc
parent76db0ac6398723d3a8fea9a87d3dd8ed92e0ad97
app/testpmd: add commands for filters

add commands in testpmd for NIC filters:
add_ethertype_filter
remove_ethertype_filter
get_ethertype_filter
add_2tuple_filter
remove_2tuple_filter
get_2tuple_filter
add_5tuple_filter
remove_5tuple_filter
get_5tuple_filter
add_syn_filter
remove_syn_filter
get_syn_filter
add_flex_filter
remove_flex_filter
get_flex_filter

Signed-off-by: jingjing.wu <jingjing.wu@intel.com>
Tested-by: Waterman Cao <waterman.cao@intel.com>
Reviewed-by: Vladimir Medvedkin <medvedkinv@gmail.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
app/test-pmd/cmdline.c
app/test-pmd/config.c
app/test-pmd/testpmd.h