On 2/20/2023 9:02 AM, Chaoyong He wrote:
> From: Peng Zhang <peng.zh...@corigine.com>
> 
> 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: jin....@corigine.com
> Cc: sta...@dpdk.org
> 
> Signed-off-by: Peng Zhang <peng.zh...@corigine.com>
> Reviewed-by: Chaoyong He <chaoyong...@corigine.com>
> Reviewed-by: Niklas Söderlund <niklas.soderl...@corigine.com>

Applied to dpdk-next-net/main, thanks.

Reply via email to