MCPcopy Create free account
hub / github.com/F-Stack/f-stack / mcast_addr_flush

Function mcast_addr_flush

dpdk/app/test-pmd/config.c:6873–6889  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6871}
6872
6873void
6874mcast_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
6891void
6892port_dcb_info_display(portid_t port_id)

Callers 1

Calls 3

port_id_is_invalidFunction · 0.85
mcast_addr_pool_destroyFunction · 0.85

Tested by

no test coverage detected