src/dpdk/drivers/net/hinic/base/hinic_pmd_eqs.c
static void free_eq_pages(struct hinic_eq *eq)
{
	struct hinic_hwdev *hwdev = eq->hwdev;
	u16 pg_num;

	for (pg_num = 0; pg_num < eq->num_pages; pg_num++)
		dma_free_coherent(hwdev, eq->page_size,
				  eq->virt_addr[pg_num],
				  eq->dma_addr[pg_num]);

	kfree(eq->virt_addr);
	kfree(eq->dma_addr);
}
/**
 * free_eq_pages - free the pages of the queue
 * @eq: the event queue
 */
free the pages of the queue
@eq: the event queue
free the pages of the queue @eq : the event queue
static void free_eq_pages(struct hinic_eq *eq)
{
	struct hinic_hwdev *hwdev = eq->hwdev;
	u16 pg_num;
	for (pg_num = 0; pg_num < eq->num_pages; pg_num++)
		dma_free_coherent(hwdev, eq->page_size,
				  eq->virt_addr[pg_num],
				  eq->dma_addr[pg_num]);
	kfree(eq->virt_addr);
	kfree(eq->dma_addr);
}
static void free_eq_pages ( struct hinic_eq * eq ) { struct hinic_hwdev * hwdev = eq -> hwdev ; u16 pg_num ; for ( pg_num = 0 ; pg_num < eq -> num_pages ; pg_num ++ ) dma_free_coherent ( hwdev , eq -> page_size , eq -> virt_addr [ pg_num ] , eq -> dma_addr [ pg_num ] ) ; kfree ( eq -> virt_addr ) ; kfree ( eq -> dma_addr ) ; }
free_eq_pages - free the pages of the queue
 @eq: the event queue
free_eq_pages - free the pages of the queue @eq : the event queue