drivers: introduce vDPA class
The vDPA (vhost data path acceleration) drivers provide support for the vDPA operations introduced by the rte_vhost library. Any driver which provides the vDPA operations should be moved\added to the vdpa class under drivers/vdpa/. Create the general files for vDPA class in drivers and in documentation. The management tree for vDPA drivers is git://dpdk.org/next/dpdk-next-virtio. Signed-off-by: Matan Azrad <matan@mellanox.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
This commit is contained in:
parent
a02b9406a8
commit
3df349b7af
@ -1089,6 +1089,11 @@ F: doc/guides/compressdevs/zlib.rst
|
||||
F: doc/guides/compressdevs/features/zlib.ini
|
||||
|
||||
|
||||
vDPA Drivers
|
||||
------------
|
||||
T: git://dpdk.org/next/dpdk-next-virtio
|
||||
|
||||
|
||||
Eventdev Drivers
|
||||
----------------
|
||||
M: Jerin Jacob <jerinj@marvell.com>
|
||||
|
@ -19,6 +19,7 @@ DPDK documentation
|
||||
bbdevs/index
|
||||
cryptodevs/index
|
||||
compressdevs/index
|
||||
vdpadevs/index
|
||||
eventdevs/index
|
||||
rawdevs/index
|
||||
mempool/index
|
||||
|
12
doc/guides/vdpadevs/index.rst
Normal file
12
doc/guides/vdpadevs/index.rst
Normal file
@ -0,0 +1,12 @@
|
||||
.. SPDX-License-Identifier: BSD-3-Clause
|
||||
Copyright 2019 Mellanox Technologies, Ltd
|
||||
|
||||
vDPA Device Drivers
|
||||
===================
|
||||
|
||||
The following are a list of vDPA (vHost Data Path Acceleration) device drivers,
|
||||
which can be used from an application through vhost API.
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
:numbered:
|
@ -18,6 +18,8 @@ DIRS-$(CONFIG_RTE_LIBRTE_PMD_QAT) += common/qat
|
||||
DEPDIRS-common/qat := bus mempool
|
||||
DIRS-$(CONFIG_RTE_LIBRTE_COMPRESSDEV) += compress
|
||||
DEPDIRS-compress := bus mempool
|
||||
DIRS-$(CONFIG_RTE_LIBRTE_VHOST) += vdpa
|
||||
DEPDIRS-vdpa := common bus mempool
|
||||
DIRS-$(CONFIG_RTE_LIBRTE_EVENTDEV) += event
|
||||
DEPDIRS-event := common bus mempool net
|
||||
DIRS-$(CONFIG_RTE_LIBRTE_RAWDEV) += raw
|
||||
|
@ -13,6 +13,7 @@ dpdk_driver_classes = ['common',
|
||||
'net', # depends on common, bus, mempool and raw.
|
||||
'crypto', # depends on common, bus and mempool (net in future).
|
||||
'compress', # depends on common, bus, mempool.
|
||||
'vdpa', # depends on common, bus and mempool.
|
||||
'event', # depends on common, bus, mempool and net.
|
||||
'baseband'] # depends on common and bus.
|
||||
|
||||
|
8
drivers/vdpa/Makefile
Normal file
8
drivers/vdpa/Makefile
Normal file
@ -0,0 +1,8 @@
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
# Copyright 2019 Mellanox Technologies, Ltd
|
||||
|
||||
include $(RTE_SDK)/mk/rte.vars.mk
|
||||
|
||||
# DIRS-$(<configuration>) += <directory>
|
||||
|
||||
include $(RTE_SDK)/mk/rte.subdir.mk
|
8
drivers/vdpa/meson.build
Normal file
8
drivers/vdpa/meson.build
Normal file
@ -0,0 +1,8 @@
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
# Copyright 2019 Mellanox Technologies, Ltd
|
||||
|
||||
drivers = []
|
||||
std_deps = ['bus_pci', 'kvargs']
|
||||
std_deps += ['vhost']
|
||||
config_flag_fmt = 'RTE_LIBRTE_@0@_PMD'
|
||||
driver_name_fmt = 'rte_pmd_@0@'
|
Loading…
Reference in New Issue
Block a user