app/testpmd: new commands for ethertype filter
authorJingjing Wu <jingjing.wu@intel.com>
Mon, 12 Jan 2015 07:16:12 +0000 (15:16 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 20 Jan 2015 08:14:53 +0000 (09:14 +0100)
commitfb7a78a12a6a2cd1d6aa54e21bed97b1f6a8ca1e
treef77cde855b938147655a111a4592476fc0819f52
parent748198ae82c5202679c274f0d136caed3b229e1b
app/testpmd: new commands for ethertype filter

Following commands of ethertype filter are removed:
  - add_ethertype_filter (port_id) ethertype (eth_value)
  - remove_ethertype_filter (port_id) index (idx)
  - get_ethertype_filter (port_id) index (idx)
New command is added for ethertype filter by using filter_ctrl API and new
ethertype filter structure:
  - ethertype_filter (port_id) (add|del) (mac_addr|mac_ignr)
    (mac_address) ethertype (ether_type) (drop|fwd) queue (queue_id)

Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
app/test-pmd/cmdline.c
app/test-pmd/config.c