Re: [dpdk-dev] [PATCH v4 5/5] app/testpmd: enhance command to test NIC reset

2017-06-30 Thread Dai, Wei
Adding PCI address info here is to let user confirm mapping between PCI address and port id is kept after reset. As this is only for test purpose, are you OK for other part except these PCI address printf ? > -Original Message- > From: Wu, Jingjing > Sent: Friday, June 30, 2017 5:10 PM

Re: [dpdk-dev] [PATCH v4 5/5] app/testpmd: enhance command to test NIC reset

2017-06-30 Thread Wu, Jingjing
> -Original Message- > From: Dai, Wei > Sent: Thursday, June 29, 2017 10:58 PM > To: tho...@monjalon.net; Lu, Wenzhuo ; Ananyev, > Konstantin > ; Zhang, Helin ; Wu, > Jingjing > ; yuan.pntel.com > Cc: dev@dpdk.org; Dai, Wei > Subject: [PATCH v4 5/5] app/testpmd: enhance command to test

Re: [dpdk-dev] [PATCH v4 5/5] app/testpmd: enhance command to test NIC reset

2017-06-30 Thread Wu, Jingjing
> -Original Message- > From: Dai, Wei > Sent: Thursday, June 29, 2017 10:58 PM > To: tho...@monjalon.net; Lu, Wenzhuo ; Ananyev, > Konstantin > ; Zhang, Helin ; Wu, > Jingjing > ; yuan.pntel.com > Cc: dev@dpdk.org; Dai, Wei > Subject: [PATCH v4 5/5] app/testpmd: enhance command to test

Re: [dpdk-dev] [PATCH v4 5/5] app/testpmd: enhance command to test NIC reset

2017-06-29 Thread Peng, Yuan
gjing ; yuan.pntel....@dpdk.org Cc: dev@dpdk.org; Dai, Wei Subject: [dpdk-dev] [PATCH v4 5/5] app/testpmd: enhance command to test NIC reset 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

[dpdk-dev] [PATCH v4 5/5] app/testpmd: enhance command to test NIC reset

2017-06-29 Thread Wei Dai
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 parm