On 2/20/2023 9:02 AM, Chaoyong He wrote: > From: Peng Zhang <[email protected]> > > Initializing of the NFP PMD fails when a NFDk device is used in a PCIe > slot that supports 48-bit DMA address. The failure is due to an > incorrect check by the PMD that limits the support to 40-bit DMA > address. While this check is correct for NFD3 devices, it is incorrect > for NFDk that can support 48-bit DMA address. > > Fix this by correcting the DMA mask check at initialization to allow for > different DMA address masks for NFD3 and NFDk. > > The RX free list descriptor code is also updated to allow for 48-bit DMA > address. While this code is shared by the NFD3 and NFDk code paths, > this is not an issue as for 40-bit address the top bits are always 0. > > Fixes: c73dced48c8c ("net/nfp: add NFDk Tx") > Cc: [email protected] > Cc: [email protected] > > Signed-off-by: Peng Zhang <[email protected]> > Reviewed-by: Chaoyong He <[email protected]> > Reviewed-by: Niklas Söderlund <[email protected]>
Applied to dpdk-next-net/main, thanks.

