numam-dpdk/app
Olivier Matz e495f54355 kvargs: add test case in app/test
Add a file app/test/test_kvargs.c that checks the rte_kvargs API.
The test passes:

  RTE>>kvargs
  == test valid case ==
  == test invalid case ==
  PMD: Error parsing device, invalid key <wrong-key>
  Test OK

I also tested that rte_eth_pcap runs with the following arguments:

  ./app/testpmd -c 0x15 -n 3 --proc-type=primary --huge-dir=/mnt/huge \
    --use-device="eth_pcap0;iface=ixgbe0" \
    -- -i --port-topology=chained

  ./app/testpmd -c 0x15 -n 3 --proc-type=primary --huge-dir=/mnt/huge \
    --use-device="eth_pcap0;rx_iface=ixgbe0;rx_iface=ixgbe1;tx_iface=ixgbe0" \
    -- -i --port-topology=chained

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2014-02-26 11:01:14 +01:00
..
cmdline_test update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
dump_cfg update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00
test kvargs: add test case in app/test 2014-02-26 11:01:14 +01:00
test-pmd app/testpmd: disable RSS when in SRIOV 2014-02-26 10:47:57 +01:00
Makefile update Intel copyright years to 2014 2014-02-25 21:29:14 +01:00