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

Chaitanya Kulkarni chaitanyak at nvidia.com
Mon Dec 13 14:10:51 PST 2021


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 at deltatee.com>
> ---

Looks good.

Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>



More information about the Linux-nvme mailing list