Re: [dpdk-dev] [PATCH v2 3/7] net/ice: initiate to acquire the DCF capability

2020-03-12 Thread Wang, Haiyue
> -Original Message- > From: Ye, Xiaolong > Sent: Friday, March 13, 2020 13:52 > To: Wang, Haiyue > Cc: dev@dpdk.org; Zhang, Qi Z ; Yang, Qiming > ; Xing, > Beilei ; Zhao1, Wei > Subject: Re: [PATCH v2 3/7] net/ice: initiate to acquire the DCF capability > > For the subject, since this

Re: [dpdk-dev] [PATCH v2 3/7] net/ice: initiate to acquire the DCF capability

2020-03-12 Thread Wang, Haiyue
> -Original Message- > From: Ye, Xiaolong > Sent: Friday, March 13, 2020 14:04 > To: Wang, Haiyue > Cc: dev@dpdk.org; Zhang, Qi Z ; Yang, Qiming > ; Xing, > Beilei ; Zhao1, Wei > Subject: Re: [PATCH v2 3/7] net/ice: initiate to acquire the DCF capability > > On 03/10, Haiyue Wang wrote

Re: [dpdk-dev] [PATCH v2 3/7] net/ice: initiate to acquire the DCF capability

2020-03-12 Thread Ye Xiaolong
On 03/10, Haiyue Wang wrote: > >+static int >+ice_dcf_mode_disable(struct ice_dcf_hw *hw) >+{ >+ int err; >+ >+ err = ice_dcf_send_cmd_req_no_irq(hw, VIRTCHNL_OP_DCF_DISABLE, >+NULL, 0); >+ if (err) { >+ PMD_DRV_LOG(ERR, "Fail to

Re: [dpdk-dev] [PATCH v2 3/7] net/ice: initiate to acquire the DCF capability

2020-03-12 Thread Ye Xiaolong
For the subject, since this patch is about acquire + disable, how about net/ice: support DCF capability acquire/disable On 03/10, Haiyue Wang wrote: >Since the DCF (Device Config Function) controls the flow setting of >other VFs by the mailbox with PF, for security, it needs to acquire >the DCF c

[dpdk-dev] [PATCH v2 3/7] net/ice: initiate to acquire the DCF capability

2020-03-09 Thread Haiyue Wang
Since the DCF (Device Config Function) controls the flow setting of other VFs by the mailbox with PF, for security, it needs to acquire the DCF capability from PF when starts, and exits to disable it. Signed-off-by: Haiyue Wang --- drivers/net/ice/ice_dcf.c | 28 +++- 1 f