RE: [PATCH v7 2/3] usbip: readme and manuals about exporting devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > This patch adds function and usage of export to README and manuals.
> >
> > The wording, 'server' and 'client' are changed.
> 
> That sounds like a mistake, why would you do that?  You just reversed
> everything?  Why?

I'd like to add reverse connection.
Originally both IMPORT and EXPORT packet is defined in
tools/usb/usbip/src/usbip_network.h
IMPORT has been implemented but EXPORT is not.

For IMPORT command, server (daemon) runs in stub side and client (ATTACH
command) is executed in vhci side.
For EXPORT command, server must run in stub side and client must be stub
side.

I thought user want to know where device is connected and application
is running.
Only for IMPORT, wording 'server' and 'client' is enough.
To explain both, I thought the wording is not good for user.

> > For existing attach command, the daemon runs device side machine and
> > attach command is executed in application side machine. Then 'server'
> > is used for device side and 'client' is for application side.
> >
> > For the new connect command, the daemon runs applications side machine
> > and connect command is executed in device side machine. Now, 'server'
> > and 'client' run in different machine than before.
> 
> So you just broke everything that was working before?  That's not
> acceptable :(

No. I don't think so.
I carefully keep existing functions and just add.

Thank you,

n.iwata
//
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux