src/dpdk/drivers/net/hinic/base/hinic_pmd_eqs.c
static void hinic_aeqs_free(struct hinic_hwdev *hwdev)
{
	struct hinic_aeqs *aeqs = hwdev->aeqs;
	u16 q_id;

	/* hinic pmd use aeq[1~3], aeq[0] used in kernel only */
	for (q_id = HINIC_AEQN_START; q_id < aeqs->num_aeqs ; q_id++)
		remove_aeq(&aeqs->aeq[q_id]);

	kfree(aeqs);
}
/**
 * hinic_aeqs_free - free all the aeqs
 * @hwdev: the pointer to the private hardware device object
 */
free all the aeqs
@hwdev: the pointer to the private hardware device object
free all the aeqs @hwdev : the pointer to the private hardware device object
static void hinic_aeqs_free(struct hinic_hwdev *hwdev)
{
	struct hinic_aeqs *aeqs = hwdev->aeqs;
	u16 q_id;
	for (q_id = HINIC_AEQN_START; q_id < aeqs->num_aeqs ; q_id++)
		remove_aeq(&aeqs->aeq[q_id]);
	kfree(aeqs);
}
static void hinic_aeqs_free ( struct hinic_hwdev * hwdev ) { struct hinic_aeqs * aeqs = hwdev -> aeqs ; u16 q_id ; for ( q_id = HINIC_AEQN_START ; q_id < aeqs -> num_aeqs ; q_id ++ ) remove_aeq ( & aeqs -> aeq [ q_id ] ) ; kfree ( aeqs ) ; }
hinic_aeqs_free - free all the aeqs
 @hwdev: the pointer to the private hardware device object
hinic_aeqs_free - free all the aeqs @hwdev : the pointer to the private hardware device object
/* hinic pmd use aeq[1~3], aeq[0] used in kernel only */