> -----Original Message----- > From: Yu, DapengX <dapengx...@intel.com> > Sent: Tuesday, August 31, 2021 15:04 > 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 v3] net/ice/base: get PF ID of VF's parent > > From: Dapeng Yu <dapengx...@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: sta...@dpdk.org > > Signed-off-by: Dapeng Yu <dapengx...@intel.com> > --- > 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 <haiyue.w...@intel.com> > -- > 2.27.0