common/cnxk: add base device class
authorJerin Jacob <jerinj@marvell.com>
Tue, 6 Apr 2021 14:41:00 +0000 (20:11 +0530)
committerJerin Jacob <jerinj@marvell.com>
Fri, 9 Apr 2021 06:32:24 +0000 (08:32 +0200)
commit665ff1ccc2c4350dd777dbd372785614d2a42f81
treea88f85a0904b8d3ef48a4a04356480baa41538cb
parent03cc9bd929897b1a8e6844b054cf3f86722fbd1d
common/cnxk: add base device class

Introduce 'dev' class to hold cnxk PCIe device specific
information and operations.

All PCIe drivers(ethdev, mempool, cryptodev and eventdev) of cnxk
inherits this base object to avail the common functionalities such
as mailbox creation, interrupt registration, LMT setup, VF message
mbox forwarding, etc.

Signed-off-by: Jerin Jacob <jerinj@marvell.com>
Acked-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
drivers/common/cnxk/meson.build
drivers/common/cnxk/roc_api.h
drivers/common/cnxk/roc_dev.c [new file with mode: 0644]
drivers/common/cnxk/roc_dev_priv.h
drivers/common/cnxk/roc_idev.c [new file with mode: 0644]
drivers/common/cnxk/roc_idev.h [new file with mode: 0644]
drivers/common/cnxk/roc_idev_priv.h [new file with mode: 0644]
drivers/common/cnxk/roc_priv.h
drivers/common/cnxk/version.map