src/dpdk/drivers/net/atlantic/atl_ethdev.c
static int
atl_dev_set_link_down(struct rte_eth_dev *dev)
{
	struct aq_hw_s *hw = ATL_DEV_PRIVATE_TO_HW(dev->data->dev_private);

	return hw->aq_fw_ops->set_link_speed(hw, 0);
}
/*
 * Set device link down: disable tx.
 */
Set device link down: disable tx.
Set device link down : disable tx .
static int
atl_dev_set_link_down(struct rte_eth_dev *dev)
{
	struct aq_hw_s *hw = ATL_DEV_PRIVATE_TO_HW(dev->data->dev_private);
	return hw->aq_fw_ops->set_link_speed(hw, 0);
}
static int atl_dev_set_link_down ( struct rte_eth_dev * dev ) { struct aq_hw_s * hw = ATL_DEV_PRIVATE_TO_HW ( dev -> data -> dev_private ) ; return hw -> aq_fw_ops -> set_link_speed ( hw , 0 ) ; }
Set device link down: disable tx.
Set device link down : disable tx .