/* Return value: Number of bytes of IO data the driver will need to perform well.  */
static unsigned long ibmvscsi_get_desired_dma(struct vio_dev *vdev)
/* Return value: Number of bytes of IO data the driver will need to perform well.  */
static unsigned long ibmvscsi_get_desired_dma(struct vio_dev *vdev)
{
	unsigned long desired_io = max_events * sizeof(union viosrp_iu);
	desired_io += (IBMVSCSI_MAX_SECTORS_DEFAULT * 512 *
	                     IBMVSCSI_CMDS_PER_LUN_DEFAULT);
	return desired_io;
}