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

Wang, Haiyue haiyue.wang at intel.com
Tue Aug 31 09:04:48 CEST 2021


> -----Original Message-----
> From: Yu, DapengX <dapengx.yu at intel.com>
> Sent: Tuesday, August 31, 2021 14:54
> To: Yang, Qiming <qiming.yang at intel.com>; Zhang, Qi Z <qi.z.zhang at intel.com>
> Cc: dev at dpdk.org; Wang, Haiyue <haiyue.wang at intel.com>; Yu, DapengX <dapengx.yu at intel.com>;
> stable at dpdk.org
> Subject: [PATCH v2] net/ice/base: get PF ID of VF's parent
> 
> From: Dapeng Yu <dapengx.yu at intel.com>
> 
> 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 at dpdk.org
> 
> Signed-off-by: Dapeng Yu <dapengx.yu at intel.com>
> ---
> V2:
> * Simplify the code and commit message of V1
> ---
>  drivers/net/ice/base/ice_switch.c | 3 +++
>  1 file changed, 3 insertions(+)
> 

Acked-by: Haiyue Wang <haiyue.wang at intel.com>

> --
> 2.27.0



More information about the dev mailing list