So a I mentioned during the presentation for the af_xdp zero copy I think it's pretty important to be able to close the device and get back the affected memory. One way would be to unmap the DMA memory from userspace and map in some other memory. It's tricky since you need to also replace the mapping to the backing file which could be hugetlbfs, tmpfs, just a file ...
HTH, -- MST