/* Returns the number of IOCB entries needed to store @dsds.  */
uint16_t qla2x00_calc_iocbs_64(uint16_t dsds)
/* Returns the number of IOCB entries needed to store @dsds.  */
uint16_t qla2x00_calc_iocbs_64(uint16_t dsds)
{
	uint16_t iocbs;
	iocbs = 1;
	if (dsds > 2) {
		iocbs += (dsds - 2) / 5;
		if ((dsds - 2) % 5)
			iocbs++;
	}
	return (iocbs);
}