Re: [PATCH v4 10/23] nvme-pci: check DMA ops when indicating support for PCI P2PDMA

From: Chaitanya Kulkarni
Date: Mon Dec 13 2021 - 17:10:59 EST


On 11/17/21 1:53 PM, Logan Gunthorpe wrote:
> Introduce a supports_pci_p2pdma() operation in nvme_ctrl_ops to
> replace the fixed NVME_F_PCI_P2PDMA flag such that the dma_map_ops
> flags can be checked for PCI P2PDMA support.
>
> Signed-off-by: Logan Gunthorpe <logang@xxxxxxxxxxxx>
> ---

Looks good.

Reviewed-by: Chaitanya Kulkarni <kch@xxxxxxxxxx>