[Top] [All Lists]

Re: [PATCH] ipv6: alternative version of S/390 shared NIC support

To: Christian Bornträger <christian@xxxxxxxxxxxxxxx>
Subject: Re: [PATCH] ipv6: alternative version of S/390 shared NIC support
From: Frank Pavlic <PAVLIC@xxxxxxxxxx>
Date: Tue, 18 Jan 2005 19:25:25 +0100
Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>, hadi@xxxxxxxxxx, Christoph Hellwig <hch@xxxxxx>, netdev@xxxxxxxxxxx, waldi@xxxxxxxxxx
In-reply-to: <>
Sender: netdev-bounce@xxxxxxxxxxx

Christian Bornträger <christian@xxxxxxxxxxxxxxx> wrote on 18.01.2005

> Frank, please correct me, if I am wrong....

It's all correct ....
sorry Christian but I didn't make it to answer :-(

> jamal wrote:
> > On Mon, 2005-01-17 at 18:37, Christian Bornträger wrote:
> > > I am trying a small simplification here:
> > > Each physical network adapter offers hundreds of device addresses.
> > > need 3 of them to have one logical network adapter(read,write,data).
> >
> > the "card" concept is what you call network adapter, correct?
> > I take it that read and write are control channels and data is where
> > skb comes through?
> don't ask me about naming....
> > >  S/390 has
> > > hardware supported virtualization. Therefore can then use the
> > > hypervisor (LPAR or z/VM) to give specific LPARs or VM guests exactly
> > > device addresses out of these hundreds.
> >
> > Can you provision multiple of these cards per VM? if yes, is there some
> > ID that will break it down to OSInstance:cardid?
> > > 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.
> >
> > I think i understood  but confused: before you attach IP address
> > you cant receive packets? Is there a concept of MAC address which you
> > can pass to the hypervisor or can you run in promiscmous mode?
> Right, without registering the IP address, you can not receive any
> As the logical network interface has no own MAC address you actually
> IP to the card. That also means, that without some additional effort,
> like tcpdump fail and you need some patches in the dhcp tools.
> You can define options for routers to get more than your own packages,
> IIRC you can only define a primary and secondary router per port.
> >
> > Another question: When that driver runs for the physical card - it runs
> The driver never ever runs for the physical card. It runs for 3 devices
> addresses, which are already behind a layer of virtualization and
> a logical IP stack in the physical card. To Linux it looks like a
> card.
> > in the context of a specific VM, correct? In other words it would be
> > impossible to see the "card" of another instance?
> By VM you mean virtual machine? Right. We are talking about real hardware

> emulation. Think about it as VMWARE in hardware or with hardware support.
> So you have no access to logical cards of other Linuxes.
> One difference to real hardware is, that multiple Linuxes have the same
> address. The physical OSA network card and z/VM ensure, that incoming
> packets are delivered to the right Linux.
> cheers
> Christian

<Prev in Thread] Current Thread [Next in Thread>