DOCA NVME Patch for GDS via nvidia-fs

I am trying to understand DOCA NVME patch required for nvidia-fs to work, based on my understanding basically we need to add 3 files in

drivers/nvme/host/nvfs-dma.c
drivers/nvme/host/nvfs-dma.h
drivers/nvme/host/nvfs.h
and patch drivers/nvme/host/pci.c

but what is confusing is the interleaving of flags HAVE_DMA_PCI_P2PDMA_SUPPORTED and CONFIG_NVFS , i thought both are mutually exclusive.
my question

  1. can i only consider changes under CONFIG_NVFS only ( i using 6.8 + kernel)
    2.rmmod of nvidia-fs stucks when i make cahnges as per 1.