.. index:: pair: group; Validate FEC mode configuration .. _doxid-group__usecases-fec: Validate FEC mode configuration =============================== .. toctree:: :hidden: 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 .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - env - Network environment configuration (``env.peer2peer``) * - 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