Re: [dpdk-dev] [PATCH] net/ixgbe: correct error when SFP not present

2017-01-24 Thread Ferruh Yigit
On 1/24/2017 8:51 AM, Lu, Wenzhuo wrote: <...> >> >> Ignore the error=IXGBE_ERR_SFP_NOT_PRESENT when SFP is not present. >> If it is not ignored, testpmd will in the NIC initialization process. >> Ixgbe kernel driver ignores this error and works well. So DPDK does same >> thing. >> >> Signed-off-b

Re: [dpdk-dev] [PATCH] net/ixgbe: correct error when SFP not present

2017-01-24 Thread Lu, Wenzhuo
Hi, > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Wei Dai > Sent: Tuesday, January 24, 2017 4:14 PM > To: dev@dpdk.org > Cc: Zhang, Helin; Ananyev, Konstantin; Dai, Wei > Subject: [dpdk-dev] [PATCH] net/ixgbe: correct error when SFP not p

[dpdk-dev] [PATCH] net/ixgbe: correct error when SFP not present

2017-01-24 Thread Wei Dai
Ignore the error=IXGBE_ERR_SFP_NOT_PRESENT when SFP is not present. If it is not ignored, testpmd will in the NIC initialization process. Ixgbe kernel driver ignores this error and works well. So DPDK does same thing. Signed-off-by: Wei Dai Signed-off-by: Helin Zhang Tested-by: Yuan Peng --- d