Re: [dpdk-dev] [PATCH v1 6/7] eal/interrupts: make interrupt handle structure opaque

2021-10-03 Thread Dmitry Kozlyuk
2021-09-03 18:11 (UTC+0530), Harman Kalra: > [...] > @@ -31,11 +54,40 @@ struct rte_intr_handle > *rte_intr_handle_instance_alloc(int size, > } > > for (i = 0; i < size; i++) { > + if (from_hugepage) > + intr_handle[i].efds = rte_zmalloc(NULL, > +

[dpdk-dev] [PATCH v1 6/7] eal/interrupts: make interrupt handle structure opaque

2021-09-03 Thread Harman Kalra
Moving interrupt handle structure definition inside the c file to make its fields totally opaque to the outside world. Dynamically allocating the efds and elist array os intr_handle structure, based on size provided by user. Eg size can be MSIX interrupts supported by a PCI device. Signed-off-by: