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

Bruce Richardson bruce.richardson at intel.com
Thu Jun 16 17:31:04 CEST 2016


On Wed, Jun 15, 2016 at 11:03:31AM +0800, Wenzhuo Lu wrote:
> Add an API to reset the device.
> It's for VF device in this scenario, kernel PF + DPDK VF.
> When the PF port down->up, APP should call this API to
> reset VF port. Most likely, APP should call it in its
> management thread and guarantee the thread safe. It means
> APP should stop the rx/tx and the device, then reset the
> device, then recover the device and rx/tx.
> 
> Signed-off-by: Wenzhuo Lu <wenzhuo.lu at intel.com>

Since this is adding a new ethdev feature, I think you should also add a new
row to the NIC feature overview matrix so we can record the PMDs which support
it.

/Bruce


More information about the dev mailing list