Re: [PATCH 1/2] usbip: Skip DMA mapping and unmapping for urb at vhci

2019-07-01 Thread Suwan Kim
On Fri, Jun 28, 2019 at 06:11:54PM -0600, shuah wrote: > Hi Suwan, > > On 6/21/19 11:45 AM, Suwan Kim wrote: > > vhci doesn’t do dma for remote device. Actually, the real dma > > operation is done by network card driver. So, vhci doesn’t use and > > need dma address of transfer buffer of urb. > >

Re: [PATCH 1/2] usbip: Skip DMA mapping and unmapping for urb at vhci

2019-06-28 Thread shuah
Hi Suwan, On 6/21/19 11:45 AM, Suwan Kim wrote: vhci doesn’t do dma for remote device. Actually, the real dma operation is done by network card driver. So, vhci doesn’t use and need dma address of transfer buffer of urb. When vhci supports SG, it is useful to use native SG list instead of mappe

[PATCH 1/2] usbip: Skip DMA mapping and unmapping for urb at vhci

2019-06-21 Thread Suwan Kim
vhci doesn’t do dma for remote device. Actually, the real dma operation is done by network card driver. So, vhci doesn’t use and need dma address of transfer buffer of urb. When vhci supports SG, it is useful to use native SG list instead of mapped SG list because dma mapping fnuction can adjust t