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

2019-08-05 Thread shuah
On 8/4/19 11:23 PM, Suwan Kim wrote: On Fri, Aug 02, 2019 at 04:22:27PM -0600, shuah wrote: On 8/2/19 11:36 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

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

2019-08-04 Thread Suwan Kim
On Fri, Aug 02, 2019 at 04:22:27PM -0600, shuah wrote: > On 8/2/19 11:36 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

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

2019-08-02 Thread shuah
On 8/2/19 11:36 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 DM

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

2019-08-02 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