> -----Original Message-----
> From: Yu, DapengX <dapengx...@intel.com>
> Sent: Wednesday, November 24, 2021 16:12
> To: Yang, Qiming <qiming.y...@intel.com>; Zhang, Qi Z <qi.z.zh...@intel.com>
> Cc: dev@dpdk.org; Wang, Haiyue <haiyue.w...@intel.com>; Yu, DapengX 
> <dapengx...@intel.com>;
> sta...@dpdk.org
> Subject: [PATCH v2] net/ice: track the DCF state of PF
> 
> From: Dapeng Yu <dapengx...@intel.com>
> 
> When VF is reset, PF will change DCF state from ON to other state, if
> flow creation, destroy, or redirect command is sent to DCF at this
> time, it will fail.
> 
> This patch tracks DCF state and returns try-again error to caller when
> DCF state is not ON.
> 
> Cc: sta...@dpdk.org
> 
> Signed-off-by: Dapeng Yu <dapengx...@intel.com>
> ---
> V2:
> * Move DCF state flag to another position
> ---
>  drivers/net/ice/ice_dcf_ethdev.c    | 12 ++++++++
>  drivers/net/ice/ice_dcf_ethdev.h    |  1 +
>  drivers/net/ice/ice_dcf_parent.c    | 16 +++++++---
>  drivers/net/ice/ice_ethdev.h        |  2 ++
>  drivers/net/ice/ice_generic_flow.c  |  4 ++-
>  drivers/net/ice/ice_switch_filter.c | 45 +++++++++++++++++++++++++++--
>  6 files changed, 73 insertions(+), 7 deletions(-)
> 

LGTM,

Acked-by: Haiyue Wang <haiyue.w...@intel.com>

> --
> 2.27.0

Reply via email to