Validate FEC mode configuration
Verify setting FEC mode and link transitions associated with that
Prepare state TEST_ETHDEV_INITIALIZED
Prepare state TEST_ETHDEV_STARTED
Query current (start-of-day) FEC mode
Inspect speed FEC capabilites
Prepare state ethdev_state
Set the target FEC mode
Prepare state TEST_ETHDEV_STARTED
Check whether link is up
Check if FEC mode can be set in STARTED/link-down state
Validate resulting FEC mode
Prepare the traffic template
Transmit and sniff the packet on Tester
Receive the packet
Validate the packet
Parameters:
env |
Network environment configuration ( |
ethdev_state |
Ethdev state when FEC should be configured |
link_mode |
Speed and duplex to configure |
fec_mode |
Target mode to configure |
tmpl |
Traffic template |