either read or write transfers.
added a field to a dma segment to return the actual length of that segment that was successfully transferred.