Thread (4 messages) 4 messages, 3 authors, 2022-01-02

RE: [PATCH v2] net/ice: track the DCF state of PF

From: Wang, Haiyue <hidden>
Date: 2021-11-26 03:17:20

-----Original Message-----
From: Yu, DapengX <redacted>
Sent: Wednesday, November 24, 2021 16:12
To: Yang, Qiming <redacted>; Zhang, Qi Z <redacted>
Cc: dev@dpdk.org; Wang, Haiyue <redacted>; Yu, DapengX <redacted>;
stable@dpdk.org
Subject: [PATCH v2] net/ice: track the DCF state of PF

From: Dapeng Yu <redacted>

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: stable@dpdk.org

Signed-off-by: Dapeng Yu <redacted>
---
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 <redacted>
--
2.27.0
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help