On 12/9/2022 1:35 AM, Chaoyong He wrote: > From: Peng Zhang <peng.zh...@corigine.com> > > All the queue pairs are shared between VF and PF for NFP, > and there exist different assignment policy for different > firmware application. > > The user can create VFs up to the max number of queue pairs, > which will cause the last few VFs has no queue pairs and > cannot be used, because PF must occupy some queue pairs by > default. > > This commit add check to prevent this kind of VFs be used. > > Signed-off-by: Peng Zhang <peng.zh...@corigine.com> > Reviewed-by: Niklas Söderlund <niklas.soderl...@corigine.com> > Reviewed-by: Chaoyong He <chaoyong...@corigine.com>
Applied to dpdk-next-net/main, thanks.