path: root/drivers/Makefile
AgeCommit message (Collapse)Author
2018-10-16drivers: add common as dependency for busShreyansh Jain
Prior to this patch, bus and common compiled parallel. But, post this dependency is created. This is especially important for the DPAA/FSLMC buses which are going to use the common/dpaax library. Signed-off-by: Shreyansh Jain <>
2018-07-11crypto/qat: move common qat files to common dirTomasz Jozwiak
- moved common qat files to common/qat dir. - changed common/qat/Makefile, common/qat/, drivers/Makefile, crypto/Makefile to add possibility of using new files locations - added README file into crypto/qat to clarify where the build is made from - updated MAINTAINERS file Signed-off-by: Tomasz Jozwiak <> Acked-by: Fiona Trahe <>
2018-05-10compress/isal: add skeleton ISA-L compression PMDLee Daly
Adding basic skeleton of the ISA-L compression driver. No compression functionality, but lays the foundation for operations in the rest of the patchset. The ISA-L compression driver utilizes Intel's ISA-L compression library and compressdev API. Signed-off-by: Lee Daly <> Reviewed-by: Pablo de Lara <>
2018-04-04drivers: add common folderPavan Nikhilesh
Add driver/common folder and skeleton makefile for adding commonly used functions across mempool, event and net devices. Signed-off-by: Pavan Nikhilesh <> Acked-by: Hemant Agrawal <> Acked-by: Jerin Jacob <> Acked-by: Santosh Shukla <>
2018-03-21drivers: rename bbdev directory to basebandThomas Monjalon
The drivers directory contains some sub-directories for each kind of device (or bus, mem): net, crypto, event, raw They are not suffixed with "dev" because it is obvious. For consistency, the sub-directory drivers/bbdev/ is renamed to drivers/baseband/. Signed-off-by: Thomas Monjalon <> Acked-by: Amr Mokhtar <>
2018-01-31raw/skeleton: introduce skeleton rawdev driverShreyansh Jain
Skeleton rawdevice driver, on the lines of eventdev skeleton, is for showcasing the rawdev library. This driver implements some of the operations of the library based on which a test module can be developed. Design of skeleton involves a virtual device which is plugged into VDEV bus on initialization. Also, enable compilation of rawdev skeleton driver. Signed-off-by: Shreyansh Jain <>
2018-01-19bb/null: add null base band device driverAmr Mokhtar
- 'bbdev_null' is a basic pmd that performs a minimalistic bbdev operation - useful for bbdev smoke testing and in measuring the overhead introduced by the bbdev library - 'bbdev_null' pmd is enabled by default Signed-off-by: Amr Mokhtar <> Acked-by: Ferruh Yigit <>
2018-01-04drivers: use SPDX tag for Intel copyright filesBruce Richardson
Replace the BSD license header with the SPDX tag for files with only an Intel copyright on them. Signed-off-by: Bruce Richardson <>
2017-10-25drivers: add net as dependency for event driversNipun Gupta
With the introduction of eventdev-ethdev RX adapter support in event device, some of the event device will have dependency on their respective ethernet drivers. This patch adds the net as a dependency for eventdevs. Signed-off-by: Nipun Gupta <> Acked-by: Jerin Jacob <>
2017-10-23mempool/octeontx: move mbox from event to mempoolSantosh Shukla
Octeontx mempool pmd need mailbox for pool setup. That mailbox was defined at drivers/event/octeontx. So mempool has dependency on event/octeontx driver and commit:8700239f7767 has added make rule which makes sure event/* get build before mempool, but this rule introduces cyclic dependency and may create problem to future feature addition in drivers/Makefile. Same problem noticed and reported in below thread: The patch solves problem by moving mbox definition from drivers/event/octeontx to drivers/mempool/octeontx. Moving mbox files involves below changes: * Renamed ssovf_mbox.[ch] --> octeontx_mbox.[ch] * Renamed ssovf_probe.c --> octeontx_ssovf.c * Introduced pool logger file. * Moved API from to * Respective Makefile changes done in drivers/event/octeontx/Makefile and drivers/mempool/octeontx/Makefile. Fixes: 8700239f7767 ("mempool/octeontx: add build and log infrastructure") Reported-by: Hemant Agrawal <> Signed-off-by: Santosh Shukla <> Tested-by: Hemant Agrawal <> Reviewed-by: Pavan Nikhilesh <>
2017-10-12crypto/dpaa_sec: add crypto driver for NXP DPAA platformAkhil Goyal
Signed-off-by: Forrest Shi <> Signed-off-by: Akhil Goyal <> Signed-off-by: Hemant Agrawal <>
2017-10-08mempool/octeontx: add build and log infrastructureSantosh Shukla
Signed-off-by: Santosh Shukla <> Signed-off-by: Jerin Jacob <>
2017-07-07drivers: add bus dependency for eventdevHemant Agrawal
Signed-off-by: Hemant Agrawal <>
2017-04-20crypto/dpaa2_sec: introduce poll mode driverAkhil Goyal
Signed-off-by: Hemant Agrawal <> Signed-off-by: Akhil Goyal <>
2017-04-19net/dpaa2: introduce NXP DPAA2 driverHemant Agrawal
add support for fsl-mc bus based dpaa2 pmd driver. Signed-off-by: Hemant Agrawal <>
2017-04-19mempool/dpaa2: add hardware offloaded mempoolHemant Agrawal
DPAA2 Hardware Mempool handlers allow enqueue/dequeue from NXP's QBMAN hardware block. CONFIG_RTE_MBUF_DEFAULT_MEMPOOL_OPS is set to 'dpaa2', if the pool is enabled. This memory pool currently supports packet mbuf type blocks only. Signed-off-by: Hemant Agrawal <>
2017-04-19bus/fslmc: introduce fsl-mc bus driverHemant Agrawal
The fslmc bus driver is a rte_bus driver which scans the fsl-mc bus for NXP DPAA2 SoCs. Signed-off-by: Hemant Agrawal <>
2017-04-04event/skeleton: add skeleton eventdev driverJerin Jacob
The skeleton driver facilitates, bootstrapping the new eventdev driver and creates a platform to verify the northbound eventdev common code. The driver supports both VDEV and PCI based eventdev devices. Signed-off-by: Jerin Jacob <> Acked-by: Bruce Richardson <>
2017-04-03mempool: move ring handler as a driverShreyansh Jain
Moved from lib/librte_mempool, ring mempool is now an independent driver. Shared builds would now need to add librte_mempool_ring for: * ring_mp_mc * ring_sp_sc * ring_sp_mc * ring_mp_sc Signed-off-by: Shreyansh Jain <> Acked-by: Olivier Matz <>
2016-07-08mk: fix build dependency of drivers on pmdinfogenThomas Monjalon
When compiling the drivers, some code is generated with pmdinfogen. A fresh parallel build can fail if a driver is compiled before pmdinfogen: build/buildtools/dpdk-pmdinfogen: Permission denied There was a dependency declared in drivers/Makefile but it cannot work because this file is based on mk/ which do not handle dependencies. It is fixed by declaring the whole buildtools as (order only) prerequisite of drivers. Fixes: cb6696d22023 ("drivers: update registration macro usage") Signed-off-by: Thomas Monjalon <> Acked-by: Neil Horman <>
2016-07-06drivers: update registration macro usageNeil Horman
Modify the PMD_REGISTER_DRIVER macro, adding a name argument to it. The addition of a name argument creates a token that can be used for subsequent macros in the creation of unique symbol names to export additional bits of information for use by the pmdinfogen tool. For example: PMD_REGISTER_DRIVER(ena_driver, ena); registers the ena_driver struct as it always did, and creates a symbol const char this_pmd_name0[] __attribute__((used)) = "ena"; which pmdinfogen can search for and extract. The subsequent macro DRIVER_REGISTER_PCI_TABLE(ena, ena_pci_id_map); creates a symbol const char ena_pci_tbl_export[] __attribute__((used)) = "ena_pci_id_map"; Which allows pmdinfogen to find the pci table of this driver Using this pattern, we can export arbitrary bits of information. pmdinfo uses this information to extract hardware support from an object file and create a json string to make hardware support info discoverable later. Signed-off-by: Neil Horman <> Acked-by: Panu Matilainen <> Acked-by: Remy Horton <>
2016-03-11mk: fix build without cryptoPanu Matilainen
If the experimental CONFIG_RTE_LIBRTE_CRYPTODEV is disabled, build of any crypto pmds will fail because of the missing dependency. This has been present for a while now but hidden until the addition of null_crypto since all the other crypto pmds have been disabled by default. Conditionalize the entire drivers/crypto directory on CONFIG_RTE_LIBRTE_CRYPTODEV to fix. Fixes: 1703e94ac5ce ("qat: add driver for QuickAssist devices") Signed-off-by: Panu Matilainen <>
2015-11-25qat: add driver for QuickAssist devicesDeclan Doherty
This patch adds a PMD for the Intel Quick Assist Technology DH895xxC hardware accelerator. This patch depends on a QAT PF driver for device initialization. See the file docs/guides/cryptodevs/qat.rst for configuration details This patch supports a limited subset of QAT device functionality, currently supporting chaining of cipher and hash operations for the following algorithmsd: Cipher algorithms: - RTE_CRYPTO_CIPHER_AES_CBC (with 128-bit, 192-bit and 256-bit keys supported) Hash algorithms: - RTE_CRYPTO_AUTH_SHA1_HMAC - RTE_CRYPTO_AUTH_SHA256_HMAC - RTE_CRYPTO_AUTH_SHA512_HMAC - RTE_CRYPTO_AUTH_AES_XCBC_MAC Some limitation on this patchset which shall be contributed in a subsequent release: - Chained mbufs are not supported. - Hash only is not supported. - Cipher only is not supported. - Only in-place is currently supported (destination address is the same as source address). - Only supports session-oriented API implementation (session-less APIs are not supported). Signed-off-by: Declan Doherty <> Signed-off-by: John Griffin <> Signed-off-by: Des O Dea <> Signed-off-by: Fiona Trahe <> Acked-by: Sergio Gonzalez Monroy <>
2015-05-22drivers: create new directoryBruce Richardson
Add a new top-level "drivers" directory to which all PMDs will be moved for easier maintenance of both lib folder and drivers themselves. This new directory is a dependency of all the apps in the app folder, so the makefiles for each app are updated. To the new top-level directory add a "net" subdirectory to classify more specifically our existing PMDs as ethernet drivers Signed-off-by: Bruce Richardson <> Acked-by: John McNamara <> [Thomas: fix dependencies and merge several patches] Acked-by: Thomas Monjalon <>