Hi,

I have a question from dpdk-ethtool.

file: examples/ethtool/lib/rte_ethtool.c

int
rte_ethtool_net_open(uint16_t port_id)
{
int ret;

ret = rte_eth_dev_stop(port_id);
if (ret != 0)
return ret;

return rte_eth_dev_start(port_id);
}


Does anyone know the purpose of calling rte_eth_dev_stop(port_id) before calling the start function, it stops the port and then starts it again. Why not just call rte_eth_dev_start(port_id)?