app/test: add unit tests for link bonding mode 6
authorMaciej Gajdzica <maciejx.t.gajdzica@intel.com>
Fri, 20 Feb 2015 16:09:23 +0000 (17:09 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 20 Feb 2015 22:07:02 +0000 (23:07 +0100)
commit6e6b34fb26ddc8cf3762bcd0bbb99d9864741f7b
treeab6d703084b5f6d86ce6a89f77842f34a17c1b64
parent200866003a89ebfb4720f20845f130cfc89cd9f2
app/test: add unit tests for link bonding mode 6

Added 4 unit tests checking link bonding mode 6 behavior.

Also modified virtual_pmd so it is possible to provide packets,
that should be received with rx_burst and to inspect packets
transmitted by tx_burst.

In packet_burst_generator.c function creating eth_header is
modified, so it accepts ether_type as a parameter and function
creating arp_header is added. Updated other unit tests to get
rid of compilation errors.

Signed-off-by: Maciej Gajdzica <maciejx.t.gajdzica@intel.com>
Acked-by: Declan Doherty <declan.doherty@intel.com>
app/test/packet_burst_generator.c
app/test/packet_burst_generator.h
app/test/test_link_bonding.c
app/test/test_pmd_perf.c
app/test/virtual_pmd.c
app/test/virtual_pmd.h