X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=drivers%2Fbaseband%2Facc100%2Frte_acc100_pmd.h;h=03ed0b3e1a311ea827b29fd16f3c8794c0783623;hb=b29890822981ccb1baa64737a218dc416a079404;hp=38818f4f6e818e4a894c62b0fbf5084365b21b43;hpb=5ad5060f8f7a8a069cb5c34ac436dbde3023f13e;p=dpdk.git diff --git a/drivers/baseband/acc100/rte_acc100_pmd.h b/drivers/baseband/acc100/rte_acc100_pmd.h index 38818f4f6e..03ed0b3e1a 100644 --- a/drivers/baseband/acc100/rte_acc100_pmd.h +++ b/drivers/baseband/acc100/rte_acc100_pmd.h @@ -158,6 +158,7 @@ #define ACC100_RESET_HARD 0x1FF #define ACC100_ENGINES_MAX 9 #define ACC100_LONG_WAIT 1000 +#define ACC100_GPEX_AXIMAP_NUM 17 /* ACC100 DMA Descriptor triplet */ struct acc100_dma_triplet { @@ -565,8 +566,16 @@ struct acc100_device { rte_iova_t sw_rings_iova; /* IOVA address of sw_rings */ /* Virtual address of the info memory routed to the this function under * operation, whether it is PF or VF. + * HW may DMA information data at this location asynchronously */ + union acc100_info_ring_data *info_ring; + union acc100_harq_layout_data *harq_layout; + /* Virtual Info Ring head */ + uint16_t info_ring_head; + /* Number of bytes available for each queue in device, depending on + * how many queues are enabled with configure() + */ uint32_t sw_ring_size; uint32_t ddr_size; /* Size in kB */ uint32_t *tail_ptrs; /* Base address of response tail pointer buffer */ @@ -582,4 +591,12 @@ struct acc100_device { bool configured; /**< True if this ACC100 device is configured */ }; +/** + * Structure with details about RTE_BBDEV_EVENT_DEQUEUE event. It's passed to + * the callback function. + */ +struct acc100_deq_intr_details { + uint16_t queue_id; +}; + #endif /* _RTE_ACC100_PMD_H_ */