Thread (8 messages) 8 messages, 3 authors, 2021-09-13

Re: [dpdk-dev] [PATCH v3] net/ice/base: get PF ID of VF's parent

From: Wang, Haiyue <hidden>
Date: 2021-08-31 07:09:46

-----Original Message-----
From: Yu, DapengX <redacted>
Sent: Tuesday, August 31, 2021 15:04
To: Yang, Qiming <redacted>; Zhang, Qi Z <redacted>
Cc: dev@dpdk.org; Wang, Haiyue <redacted>; Yu, DapengX <redacted>;
stable@dpdk.org
Subject: [PATCH v3] net/ice/base: get PF ID of VF's parent

From: Dapeng Yu <redacted>

In original implementation, if DCF is created on PF1, the PF ID is
still 0, but not 1. Without the right PF ID, the ACL will not work.

This patch makes VF to get its parent's physical function ID.

Fixes: 0b02c9519432 ("net/ice: handle PF initialization by DCF")
CC: stable@dpdk.org

Signed-off-by: Dapeng Yu <redacted>
---
V2:
* Simplify the code and commit message of V1
V3:
* Fix V2 code defect
---
 drivers/net/ice/base/ice_switch.c | 4 ++++
 1 file changed, 4 insertions(+)
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