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

Function mlx4_allmulticast_disable

dpdk/drivers/net/mlx4/mlx4_ethdev.c:435–439  ·  view source on GitHub ↗

* DPDK callback to disable all multicast mode. * * @param dev * Pointer to Ethernet device structure. * * @return * 0 on success, a negative errno value otherwise and rte_errno is set. */

Source from the content-addressed store, hash-verified

433 * 0 on success, a negative errno value otherwise and rte_errno is set.
434 */
435int
436mlx4_allmulticast_disable(struct rte_eth_dev *dev)
437{
438 return mlx4_rxmode_toggle(dev, RXMODE_TOGGLE_ALLMULTI_OFF);
439}
440
441/**
442 * DPDK callback to remove a MAC address.

Callers

nothing calls this directly

Calls 1

mlx4_rxmode_toggleFunction · 0.85

Tested by

no test coverage detected