Re: [dpdk-dev] [PATCH v5] net/ice: simplify the use of DCF device reset

2021-10-26 Thread Zhang, Qi Z
> -Original Message- > From: Yu, DapengX > Sent: Tuesday, October 26, 2021 5:53 PM > To: Yang, Qiming ; Zhang, Qi Z > > Cc: dev@dpdk.org; Yu, DapengX ; sta...@dpdk.org > Subject: [PATCH v5] net/ice: simplify the use of DCF device reset It's a workaround, so rename to "workaround DCF

[dpdk-dev] [PATCH v5] net/ice: simplify the use of DCF device reset

2021-10-26 Thread dapengx . yu
From: Dapeng Yu After DCF is reset by PF, the DCF device un-initialization cannot function normally since the kernel may not clean up resource. This patch detects the reset flag, which is set by PF on DCF reset, if the flag is true, reset hw to trigger an additional DCF enable/disable cycle whic