| 6871 | } |
| 6872 | |
| 6873 | void |
| 6874 | mcast_addr_flush(portid_t port_id) |
| 6875 | { |
| 6876 | int ret; |
| 6877 | |
| 6878 | if (port_id_is_invalid(port_id, ENABLED_WARN)) |
| 6879 | return; |
| 6880 | |
| 6881 | ret = rte_eth_dev_set_mc_addr_list(port_id, NULL, 0); |
| 6882 | if (ret != 0) { |
| 6883 | fprintf(stderr, |
| 6884 | "Failed to flush all multicast MAC addresses on port_id %u\n", |
| 6885 | port_id); |
| 6886 | return; |
| 6887 | } |
| 6888 | mcast_addr_pool_destroy(port_id); |
| 6889 | } |
| 6890 | |
| 6891 | void |
| 6892 | port_dcb_info_display(portid_t port_id) |
no test coverage detected