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