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

Function mlx4_allmulticast_enable

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

* DPDK callback to enable 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

418 * 0 on success, a negative errno value otherwise and rte_errno is set.
419 */
420int
421mlx4_allmulticast_enable(struct rte_eth_dev *dev)
422{
423 return mlx4_rxmode_toggle(dev, RXMODE_TOGGLE_ALLMULTI_ON);
424}
425
426/**
427 * DPDK callback to disable all multicast mode.

Callers

nothing calls this directly

Calls 1

mlx4_rxmode_toggleFunction · 0.85

Tested by

no test coverage detected