[dpdk-dev] [PATCH v4 2/3] net/i40e: implement device reset on port

2017-03-30 Thread Wei Zhao
This patch implement the device reset function on vf port. This restart function will detach device then attach device, reconfigure dev, re-setup the Rx/Tx queues. Signed-off-by: Wei Zhao Signed-off-by: Wenzhuo Lu --- drivers/net/i40e/i40e_ethdev.c| 2 +- drivers/net/i40e/i40e_ethdev.h

[dpdk-dev] [PATCH v4 2/3] net/i40e: implement device reset on port

2017-03-30 Thread Wei Zhao
This patch implement the device reset function on vf port. This restart function will detach device then attach device, reconfigure dev, re-setup the Rx/Tx queues. Signed-off-by: Wei Zhao Signed-off-by: Wenzhuo Lu --- drivers/net/i40e/i40e_ethdev.c| 2 +- drivers/net/i40e/i40e_ethdev.h