Re: [dpdk-dev] [PATCH v2] net/iavf: fix PF returning error

2021-04-25 Thread Zhang, Qi Z
> -Original Message- > From: dev On Behalf Of Xing, Beilei > Sent: Monday, April 26, 2021 9:34 AM > To: Zhang, AlvinX ; Wu, Jingjing > > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] net/iavf: fix PF returning error > > &

Re: [dpdk-dev] [PATCH v2] net/iavf: fix PF returning error

2021-04-25 Thread Xing, Beilei
> -Original Message- > From: Zhang, AlvinX > Sent: Sunday, April 25, 2021 3:40 PM > To: Wu, Jingjing ; Xing, Beilei > Cc: dev@dpdk.org; Zhang, AlvinX ; sta...@dpdk.org > Subject: [PATCH v2] net/iavf: fix PF returning error > > When the command sent by VF to PF fails, iavf may need to

[dpdk-dev] [PATCH v2] net/iavf: fix PF returning error

2021-04-25 Thread Alvin Zhang
When the command sent by VF to PF fails, iavf may need to run different code paths according to the specific reason of the failure (not supported or other reasons). This patch adds support of identifying PF return error type. Fixes: 22b123a36d07 ("net/avf: initialize PMD") Cc: sta...@dpdk.org Si