src/dpdk/drivers/net/mlx4/mlx4_ethdev.c
int
mlx4_dev_set_link_down(struct rte_eth_dev *dev)
{
	struct mlx4_priv *priv = dev->data->dev_private;

	return mlx4_dev_set_link(priv, 0);
}
/**
 * DPDK callback to bring the link DOWN.
 *
 * @param dev
 *   Pointer to Ethernet device structure.
 *
 * @return
 *   0 on success, negative errno value otherwise and rte_errno is set.
 */
DPDK callback to bring the link DOWN.
@param dev
Pointer to Ethernet device structure.

@return
0 on success, negative errno value otherwise and rte_errno is set.
DPDK callback to bring the link DOWN . @param dev Pointer to Ethernet device structure . @return 0 on success negative errno value otherwise and rte_errno is set .
int
mlx4_dev_set_link_down(struct rte_eth_dev *dev)
{
	struct mlx4_priv *priv = dev->data->dev_private;
	return mlx4_dev_set_link(priv, 0);
}
int mlx4_dev_set_link_down ( struct rte_eth_dev * dev ) { struct mlx4_priv * priv = dev -> data -> dev_private ; return mlx4_dev_set_link ( priv , 0 ) ; }
DPDK callback to bring the link DOWN.
DPDK callback to bring the link DOWN .