On 7/13/2023 4:02 AM, Chaoyong He wrote: > From: Long Wu <long...@corigine.com> > > If we add two cards that uses flower firmware into one dpdk-testpmd, > NFP PMD will printf error log. The reason is that the second card > uses the control VNIC Rx queue of the first card. > > Because rte_eth_dma_zone_reserve() will reserve new DMA zone if > DMA zone's name is unique. But if there is already a zone with the > same name, rte_eth_dma_zone_reserve() will return the pointer of > the previously DMA zone. We try to reserve DMA zone for each card > but we use the same name to reserve. > > We use the PCI address to give control VNIC a unique ring name > to avoid the above situation and let each NIC's ring have its > own DMA zone. > > Fixes: 945441ebdb9c ("net/nfp: add flower ctrl VNIC") > Cc: chaoyong...@corigine.com > Cc: sta...@dpdk.org > > Signed-off-by: Long Wu <long...@corigine.com> >
Acked-by: Ferruh Yigit <ferruh.yi...@amd.com> Applied to dpdk-next-net/main, thanks.