[dpdk-dev] [PATCH v5 1/4] lib/librte_ether: support device reset

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Jun 16 17:36:44 CEST 2016


2016-06-15 11:03, Wenzhuo Lu:
> +/**
> + * Reset an Ethernet device.
> + *
> + * @param port_id
> + *   The port identifier of the Ethernet device.
> + */
> +int
> +rte_eth_dev_reset(uint8_t port_id);

Please explain in the doxygen comment what means a reset.
We must understand why and when an application should call it.
And it must be clear for a PMD developper how to implement it.
What is the return value?


More information about the dev mailing list