/* Each device has two bitmaps for each VCC (baclog_vccs and transmit_ready) This function iterates one of these, calling a given function for each vci with their bit set  */
static void vci_bitfield_iterate(struct lanai_dev *lanai, const unsigned long *lp, void(*func)(struct lanai_dev *, vci_t vci))
/* Each device has two bitmaps for each VCC (baclog_vccs and transmit_ready) This function iterates one of these, calling a given function for each vci with their bit set  */
static void vci_bitfield_iterate(struct lanai_dev *lanai, const unsigned long *lp, void(*func)(struct lanai_dev *, vci_t vci))
{
	vci_t vci = find_first_bit(lp, NUM_VCI);
	while (vci < NUM_VCI) {
		func(lanai, vci);
		vci = find_next_bit(lp, NUM_VCI, vci + 1);
	}
}