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

Function mlx4_promiscuous_disable

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

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

403 * 0 on success, a negative errno value otherwise and rte_errno is set.
404 */
405int
406mlx4_promiscuous_disable(struct rte_eth_dev *dev)
407{
408 return mlx4_rxmode_toggle(dev, RXMODE_TOGGLE_PROMISC_OFF);
409}
410
411/**
412 * DPDK callback to enable all multicast mode.

Callers

nothing calls this directly

Calls 1

mlx4_rxmode_toggleFunction · 0.85

Tested by

no test coverage detected