Gdrcopy for pcie dma

I’m looking to use GPUDirect to give a pcie dma engine access to GPU memory.
I’ve had an implementation that was platform specific, and didn’t port well so I want to use the GDRCOPY driver and API as a robust basis that will work on different topologies.
I’m having trouble figuring out how to extract the 64 bit PCIE address ,either using the API or the driver.

I suspect the VA field may be the key to what I’m looking for.

could someone point me to right direction or confirm my conclusion