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

2019-08-06 Thread Suwan Kim
On Tue, Aug 06, 2019 at 09:38:54AM -0600, shuah wrote: > On 8/6/19 9:32 AM, Suwan Kim wrote: > > On Tue, Aug 06, 2019 at 09:11:30AM -0600, shuah wrote: > > > On 8/6/19 6:31 AM, Suwan Kim wrote: > > > > vhci doesn’t do DMA for remote device. Actually, the real DMA > > > > operation is done by networ

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

2019-08-06 Thread shuah
On 8/6/19 9:32 AM, Suwan Kim wrote: On Tue, Aug 06, 2019 at 09:11:30AM -0600, shuah wrote: On 8/6/19 6:31 AM, Suwan Kim wrote: vhci doesn’t do DMA for remote device. Actually, the real DMA operation is done by network card driver. vhci just passes virtual address of the buffer to the network st

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

2019-08-06 Thread Suwan Kim
On Tue, Aug 06, 2019 at 09:11:30AM -0600, shuah wrote: > On 8/6/19 6:31 AM, Suwan Kim wrote: > > vhci doesn’t do DMA for remote device. Actually, the real DMA > > operation is done by network card driver. vhci just passes virtual > > address of the buffer to the network stack, so vhci doesn’t use a

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

2019-08-06 Thread shuah
On 8/6/19 6:31 AM, Suwan Kim wrote: vhci doesn’t do DMA for remote device. Actually, the real DMA operation is done by network card driver. vhci just passes virtual address of the buffer to the network stack, so vhci doesn’t use and need dma address of the buffer of the URB. But HCD provides DMA

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

2019-08-06 Thread Suwan Kim
vhci doesn’t do DMA for remote device. Actually, the real DMA operation is done by network card driver. vhci just passes virtual address of the buffer to the network stack, so vhci doesn’t use and need dma address of the buffer of the URB. But HCD provides DMA mapping and unmapping function by def