Set the list of multicast addresses to filter on @b iut_port portΒΆ

Set the list of multicast addresses to filter on iut_port port

Set the list of multicast addresses to filter on iut_port port and send a multicast packets to check the work of whitelist filtering

  1. Prepare ethdev_state Ethernet device state

  2. Add mc_addr_list to the multicast whitelist

  3. Start the port

  4. Disable promiscuous mode and allmulticast mode

  5. Prepare array of tmpl copies with different dst addr from mc_addr_list

  6. Ensure that interface is UP on Tester side

  7. Transmit and sniff different multicast packets from tst_if

  8. Receive packets on iut_port and check that the packets received match the packets sent from tst_if

  9. Prepare tmpl copies with different dst addr from mismatch_addr_list

  10. Transmit and sniff packets with mismatch_addr_list dst addr from tst_if

  11. Receive packets on iut_port and check that the packets were dropped

  12. Flush the set of filtered addresses

  13. Transmit and sniff packets with mc_addr_list dst addr from tst_if

  14. Receive packets on iut_port and check that the packets were dropped

Parameters:

tmpl

Traffic template

add_mc_addr_list

List of multicast MAC addresses to add (format: comma-separated list of MACs)