> On Mon, 2005-01-17 at 17:59, Christoph Hellwig wrote:
> > The problem is again that the OS instances don't talk to each
> > (well they can, but not in the driver), so your demux code would
> > have to move into the device firmware, and that'd probably change
> > the device <-> OS interface completely.
> qeth_qdio_input_handler() seems to know what "card" the packet came on,
> no? Could you not use this information to select the proper netdevice?
> Actually, how does that work? Each OS instance would get the same driver
> invoked but you will never see any othe instances "cards"?
I am trying a small simplification here:
Each physical network adapter offers hundreds of device addresses. You need
3 of them to have one logical network adapter(read,write,data). S/390 has
hardware supported virtualization. Therefore can then use the hypervisor
(LPAR or z/VM) to give specific LPARs or VM guests exactly 3 device
addresses out of these hundreds.
The qeth driver has to register the IP address at the logical network card
(using 3 device addresses) Afterwards the physical network card knows which
packet belongs to which device numbers.