.. index:: pair: group; All-multicast mode test .. _doxid-group__usecases-all__multicast__mode: All-multicast mode test ======================= .. toctree:: :hidden: group_usecases-all_multicast_mode-run.rst Check correct work of all-multicast mode Checking the correct work of all-multicast mode by sending several packets with different MAC addresses. #. Initialize EAL, preparing of **ethdev_state** Ethernet device state #. Make sure that promiscuous mode is disabled #. If the **is_all_mcast_mode** is ``TRUE`` then enable all-multicast mode, otherwise disable it #. Start the Ethernet device #. Check that a new mode was saved after start of device #. Ensure that interface is UP on Tester side #. Transmit three packets from **tst_if:** the first is broadcast, the second is multicast and the third is unicast, with MAC adrress is different from MAC address of the **iut_port** #. Receive packets on port **iut_port**. Check that the first received packet matches the first sent, the second received packet matches the first sent, if **is_all_mcast_mode** is ``TRUE``, otherwise it was dropped and the third packet was dropped. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - ethdev_state - The state of Ethernet device * - is_all_mcast_mode - Enable all-multicast if ``TRUE``, otherwise disable it | :ref:`all_multicast_mode`