* 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. */
| 433 | * 0 on success, a negative errno value otherwise and rte_errno is set. |
| 434 | */ |
| 435 | int |
| 436 | mlx4_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. |
nothing calls this directly
no test coverage detected