On Wed, Feb 9, 2022 at 9:42 AM Ajit Khaparde <ajit.khapa...@broadcom.com> wrote: > > Currently the Tx and Rx ring count for representors is fixed. > It does not consider the number of rings created for the parent > function. And that can cause issues not only during initialization > but while running traffic. > Instead check the number of rings created for the parent function > while configuring the ring resources for representors. > In some cases VF rep ring init may happen before the parent function's > rings have been setup. And this can cause representor ring count to be > configured as 0. In such cases, initialize the VF representor > ring count to 8. > > Fixes: 322bd6e70272 ("net/bnxt: add port representor infrastructure") > Cc: sta...@dpdk.org > > Signed-off-by: Ajit Khaparde <ajit.khapa...@broadcom.com> > Reviewed-by: Somnath Kotur <somnath.ko...@broadcom.com> > Reviewed-by: Kalesh AP <kalesh-anakkur.pura...@broadcom.com> v1->v2: sets a default queue count if under some cases we find to be 0.
Patch applied to dpdk-next-net-brcm.
smime.p7s
Description: S/MIME Cryptographic Signature