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
If
ret == -TE_RC(TE_RPC, TE_ETIMEDOUT) && el.link_status == 0: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
Denis Pryazhennikov Denis.Pryazhennikov@arknetworks.am
Ivan Malov Ivan.Malov@arknetworks.am
Parameters:
env |
Network environment configuration ( |
tmpl |
Traffic template |
ethdev_state |
Ethdev state when FEC should be configured
|
link_mode |
Speed and duplex to configure |
fec_mode |
Target FEC mode to configure |