Re: [dpdk-dev] [PATCH v1 1/4] net/iavf: stop the PCI probe in DCF mode

2020-03-22 Thread Wang, Haiyue
> -Original Message- > From: Wu, Jingjing > Sent: Monday, March 23, 2020 09:51 > To: Wang, Haiyue ; dev@dpdk.org; Ye, Xiaolong > ; Zhang, > Qi Z ; Yang, Qiming ; Xing, > Beilei > Cc: Zhao1, Wei ; Wang, Haiyue > Subject: RE: [dpdk-dev] [PATCH v1 1/4] net/iavf

Re: [dpdk-dev] [PATCH v1 1/4] net/iavf: stop the PCI probe in DCF mode

2020-03-22 Thread Wu, Jingjing
+static int +handle_dcf_arg(__rte_unused const char *key, const char *value, + __rte_unused void *arg) __rte_unused is not needed here. +{ + bool *dcf = arg; + + if (arg == NULL || value == NULL) + return -EINVAL; + + if (strcmp(value, "dcf") == 0) +

Re: [dpdk-dev] [PATCH v1 1/4] net/iavf: stop the PCI probe in DCF mode

2020-03-09 Thread Wang, Haiyue
> -Original Message- > From: Ye, Xiaolong > Sent: Tuesday, March 10, 2020 11:38 > To: Wang, Haiyue > Cc: dev@dpdk.org; Zhang, Qi Z ; Yang, Qiming > ; Xing, > Beilei ; Zhao1, Wei > Subject: Re: [PATCH v1 1/4] net/iavf: stop the PCI probe in DCF mode > > On 03/10, Wang, Haiyue wrote: > >

Re: [dpdk-dev] [PATCH v1 1/4] net/iavf: stop the PCI probe in DCF mode

2020-03-09 Thread Ye Xiaolong
On 03/10, Wang, Haiyue wrote: >> -Original Message- >> From: Ye, Xiaolong >> Sent: Monday, March 9, 2020 23:38 >> To: Wang, Haiyue >> Cc: dev@dpdk.org; Zhang, Qi Z ; Yang, Qiming >> ; Xing, >> Beilei ; Zhao1, Wei >> Subject: Re: [PATCH v1 1/4] net/iavf: stop the PCI probe in DCF mode >>

Re: [dpdk-dev] [PATCH v1 1/4] net/iavf: stop the PCI probe in DCF mode

2020-03-09 Thread Wang, Haiyue
> -Original Message- > From: Ye, Xiaolong > Sent: Monday, March 9, 2020 23:38 > To: Wang, Haiyue > Cc: dev@dpdk.org; Zhang, Qi Z ; Yang, Qiming > ; Xing, > Beilei ; Zhao1, Wei > Subject: Re: [PATCH v1 1/4] net/iavf: stop the PCI probe in DCF mode > > On 03/09, Haiyue Wang wrote: > >A n

Re: [dpdk-dev] [PATCH v1 1/4] net/iavf: stop the PCI probe in DCF mode

2020-03-09 Thread Ye Xiaolong
On 03/09, Haiyue Wang wrote: >A new DCF PMD will be introduced, which runs on Intel VF hardware, and >it is a pure software design to control the advance functionality (such >as switch, ACL) for rest of the VFs. > >So if the DCF (Device Config Function) mode is specified by the devarg >'cap=dcf', t