> -----Original Message-----
> From: Yu, DapengX <[email protected]>
> Sent: Tuesday, August 31, 2021 15:04
> To: Yang, Qiming <[email protected]>; Zhang, Qi Z <[email protected]>
> Cc: [email protected]; Wang, Haiyue <[email protected]>; Yu, DapengX 
> <[email protected]>;
> [email protected]
> Subject: [PATCH v3] net/ice/base: get PF ID of VF's parent
> 
> From: Dapeng Yu <[email protected]>
> 
> 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: [email protected]
> 
> Signed-off-by: Dapeng Yu <[email protected]>
> ---
> 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 <[email protected]>

> --
> 2.27.0

Reply via email to