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