bus/vdev: add DMA mapping ops
authorMaxime Coquelin <maxime.coquelin@redhat.com>
Tue, 29 Sep 2020 16:13:57 +0000 (18:13 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 30 Sep 2020 21:16:56 +0000 (23:16 +0200)
commit6a2288edc2d55cdb94699348264a087927c41993
tree369a74041fea91dae606cc8bd373e770e8cd4658
parentcacf8267cc14e84384dbc86f24f6b10e8aedbcbc
bus/vdev: add DMA mapping ops

Add DMA map/unmap operation callbacks to the vdev bus, which
could be used by DMA capable vdev drivers.

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
drivers/bus/vdev/rte_bus_vdev.h
drivers/bus/vdev/vdev.c