X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fbus%2Fdpaa%2Finclude%2Ffsl_usd.h;h=b0d953fd8aa37bc1dbf96be7ce73cce36fb7f9ea;hb=f6fadc3e6310;hp=4ff48c6f4d7fff6ae9ddc633bd2515a9eedaf316;hpb=65ebc1be3c46989343b8f44146d580b8f5b200ce;p=dpdk.git diff --git a/drivers/bus/dpaa/include/fsl_usd.h b/drivers/bus/dpaa/include/fsl_usd.h index 4ff48c6f4d..b0d953fd8a 100644 --- a/drivers/bus/dpaa/include/fsl_usd.h +++ b/drivers/bus/dpaa/include/fsl_usd.h @@ -47,6 +47,10 @@ extern "C" { #endif +/* Thread-entry/exit hooks; */ +int qman_thread_init(void); +int qman_thread_finish(void); + #define QBMAN_ANY_PORTAL_IDX 0xffffffff /* Obtain and free raw (unitialized) portals */ @@ -81,6 +85,15 @@ int qman_free_raw_portal(struct dpaa_raw_portal *portal); int bman_allocate_raw_portal(struct dpaa_raw_portal *portal); int bman_free_raw_portal(struct dpaa_raw_portal *portal); +/* Post-process interrupts. NB, the kernel IRQ handler disables the interrupt + * line before notifying us, and this post-processing re-enables it once + * processing is complete. As such, it is essential to call this before going + * into another blocking read/select/poll. + */ +void qman_thread_irq(void); + +/* Global setup */ +int qman_global_init(void); #ifdef __cplusplus } #endif