# SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
# Copyright (C) 2025, Advanced Micro Devices, Inc.

config INFINIBAND_PEERMEM
	tristate "Infiniband Peer Memory"
	depends on AUXILIARY_BUS && INFINIBAND
	help
	  This enables peer to peer DMA using the infiniband peer memory interface.

	  RDMA and GPU device drivers register with the peer memory interface for DMA
	  mapping GPU memory for access by the RDMA device.

	  Modern applications should prefer DMA BUF over peermem.
