From: Wei Dai Date: Sun, 23 Jul 2017 09:15:12 +0000 (+0800) Subject: app/testpmd: add port reset command X-Git-Tag: spdx-start~2172 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=97f1e196799f5664a2f677f789fbe06e1d5ab87a;hp=97f1e196799f5664a2f677f789fbe06e1d5ab87a;p=dpdk.git app/testpmd: add port reset command When PF is reset, a message will show it and all its VF need to be reset. User can run the command "port reset port_id" to reset the VF port and to keep same port id without any configuration. Then user can run "port stop port_id" and "port start port_id" to reconfigure its forwarding mode and parameters as previous ones. To avoid crash, current forwarding should be stopped before running "port reset port_id". Signed-off-by: Wei Dai Tested-by: Yuan Peng Acked-by: Jingjing Wu ---