* DPDK callback to bring the link UP. * * @param dev * Pointer to Ethernet device structure. * * @return * 0 on success, a negative errno value otherwise and rte_errno is set. */
| 954 | * 0 on success, a negative errno value otherwise and rte_errno is set. |
| 955 | */ |
| 956 | int |
| 957 | mlx5_set_link_up(struct rte_eth_dev *dev) |
| 958 | { |
| 959 | return mlx5_set_flags(dev, ~IFF_UP, IFF_UP); |
| 960 | } |
| 961 | |
| 962 | /** |
| 963 | * Check if mlx5 device was removed. |
no test coverage detected