default MAC address test
Set the default MAC address
Make sure that changing the default MAC address really takes effect
Initialize EAL, configure iut_port to provide 1 Rx queue and start the port
Make sure that promiscuous mode is disabled.
Set the default MAC address equal to iut_alien_mac.
Get MAC address and compare it with iut_alien_mac.
Start the Ethernet device
Ensure that interface is UP on Tester side
Transmit and sniff two unicast packets from tst_if: the first to the iut_alien_mac and the second to old IUT MAC.
Receive packets on iut_port. Check that the first received packet matches the first sent and the second was dropped.
Parameters:
ethdev_state |
The state of Ethernet device |