common/octeontx2: introduce common device class
authorJerin Jacob <jerinj@marvell.com>
Sat, 22 Jun 2019 13:23:57 +0000 (18:53 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 25 Jun 2019 21:35:57 +0000 (23:35 +0200)
commite1d9a02ad8f0fa06ef6ade96d4d14ccd646cea3d
tree4a3df3438d91248728a78072d8e93899853e738f
parentc707a7332daed2f0569b5fb30d282f38af226d2d
common/octeontx2: introduce common device class

Introduce otx2_dev class to hold octeontx2 PCIe device specific
information and operations.

All PCIe drivers(ethdev, mempool, cryptodev and eventdev) in octeontx2,
inherits this base object to avail the common functionalities such
as mailbox creation, interrupt registration, etc of the PCIe device.

Signed-off-by: Jerin Jacob <jerinj@marvell.com>
Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
drivers/common/octeontx2/Makefile
drivers/common/octeontx2/meson.build
drivers/common/octeontx2/otx2_common.h
drivers/common/octeontx2/otx2_dev.c [new file with mode: 0644]
drivers/common/octeontx2/otx2_dev.h [new file with mode: 0644]
drivers/common/octeontx2/otx2_irq.h [new file with mode: 0644]
drivers/common/octeontx2/rte_common_octeontx2_version.map