Hello Jaeyong,
On 01/11/2013 06:23 AM, jaeyong yoo wrote:
Is it possible to have multiple sessions from usb_drv?
If it is, how does usb_drv multiplex the receiving packets from NIC device to the corresponding session?
The usb_drv is almost ready to support multiple NICs. Currently a NIC device can be associated to a NIC session. What the driver is lacking, is configuration support in Genode's configuration file. There one would want to specify which client will receive which NIC session when connecting to the USB server, but that could be implemented pretty straight forward. Multiplexing is not necessary, since the NIC device is associated to the session. When a device interrupt occurs, the device will report it to the session and the session in turn to the client.
Regards,
Sebastian