[dpdk-dev] [PATCH v2 6/7] net/ice: handle the PF initialization by DCF

2020-03-10 Thread Haiyue Wang
The DCF (Device Config Function) works at the user PF level, it can't access the real PF hardware directly. So it will proxy the PF's AdminQ command through DCF's mailbox. And the DCF is mainly used to control the flow setting of other VFs, so it only needs to initialize some core functions about

Re: [dpdk-dev] [PATCH v2 6/7] net/ice: handle the PF initialization by DCF

2020-03-13 Thread Ye Xiaolong
On 03/10, Haiyue Wang wrote: >The DCF (Device Config Function) works at the user PF level, it can't >access the real PF hardware directly. So it will proxy the PF's AdminQ >command through DCF's mailbox. > >And the DCF is mainly used to control the flow setting of other VFs, so >it only needs to in

Re: [dpdk-dev] [PATCH v2 6/7] net/ice: handle the PF initialization by DCF

2020-03-13 Thread Ye Xiaolong
On 03/13, Ye Xiaolong wrote: >> struct ice_dcf_adapter { >>+ struct ice_adapter parent; /* Must be first */ >>+ >> struct ice_dcf_hw real_hw; >>- struct rte_ether_addr mac_addr; > >This one isn't needed at the first place. My bad, please ignore this comment.

Re: [dpdk-dev] [PATCH v2 6/7] net/ice: handle the PF initialization by DCF

2020-03-13 Thread Ye Xiaolong
On 03/10, Haiyue Wang wrote: >The DCF (Device Config Function) works at the user PF level, it can't >access the real PF hardware directly. So it will proxy the PF's AdminQ >command through DCF's mailbox. Proxy is a noun, so this sentence is a little bit confusing. Do you mean DCF will rely on the

Re: [dpdk-dev] [PATCH v2 6/7] net/ice: handle the PF initialization by DCF

2020-03-13 Thread Wang, Haiyue
> -Original Message- > From: Ye, Xiaolong > Sent: Friday, March 13, 2020 22:07 > To: Wang, Haiyue > Cc: dev@dpdk.org; Zhang, Qi Z ; Yang, Qiming > ; Xing, > Beilei ; Zhao1, Wei > Subject: Re: [PATCH v2 6/7] net/ice: handle the PF initialization by DCF > > On 03/10, Haiyue Wang wrote: >

Re: [dpdk-dev] [PATCH v2 6/7] net/ice: handle the PF initialization by DCF

2020-03-15 Thread Wang, Haiyue
> -Original Message- > From: Ye, Xiaolong > Sent: Friday, March 13, 2020 16:00 > To: Wang, Haiyue > Cc: dev@dpdk.org; Zhang, Qi Z ; Yang, Qiming > ; Xing, > Beilei ; Zhao1, Wei > Subject: Re: [PATCH v2 6/7] net/ice: handle the PF initialization by DCF > > On 03/10, Haiyue Wang wrote: >