raw/octeontx2_dma: add device close operation
authorSatha Rao <skoteshwar@marvell.com>
Fri, 5 Jul 2019 08:38:01 +0000 (14:08 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 5 Jul 2019 10:43:46 +0000 (12:43 +0200)
commitf613c52f7fb7386ede6d5e88b8c5fcdbbeb8de4d
tree6f03b1eabc80c953808c4ca95a9fc032191d5323
parent04b7dde74c3c72c08f2d9eef40da0f885a64da70
raw/octeontx2_dma: add device close operation

Send message to PF to stop DMA queue when device close is
called from application.
Defined the required data structures to support enqueue and
dequeue APIs.

Signed-off-by: Satha Rao <skoteshwar@marvell.com>
Signed-off-by: Vamsi Attunuru <vattunuru@marvell.com>
drivers/raw/octeontx2_dma/otx2_dpi_rawdev.c
drivers/raw/octeontx2_dma/otx2_dpi_rawdev.h