Re: [PATCH V2 09/12] net/eipoib: Add main driver functionality
From: Or Gerlitz <hidden>
Date: 2012-09-04 19:47:42
On Tue, Sep 4, 2012 at 10:31 PM, Eric W. Biederman [off-list ref] wrote:
Or Gerlitz [off-list ref] writes:quoted
On Tue, Sep 4, 2012 at 12:22 AM, Michael S. Tsirkin [off-list ref] wrote:quoted
quoted
Documentation we will fix,And just to stress the point, document the limitations as well.sure, not that I see concrete limitations for the **user** at this point, but if there are such, will put them clearly written.
All ethernet protocols not working except IPv4 is a huge concrete limitation.
Oh, sure, that WILL be documented, currently eIPoIB can deliver only what IPoIB can which is IPv4, ARP/RARP, IPv6+ND, for IPv6 see next
So far you are still playing with a design that is strongly NOT ethernet. So calling it eIPoIB will continue to be a LIE.
You are still playing with an implementation that doesn't even dream of supporting IPv6 which makes it so far from ethernet I can't imagine anyone taking your code seriously.
This design can and will support IPv6, the IPv6 ND handling will follow the path we are talking now for the IPv4 ARPs, e.g not within the driver, etc. Could you be more specific?
Any implementation that breaks a naive ARP implementation also breaks IPv6. Not to mention everything else that runs over ethernet.
not sure to follow on the naive impl. comment, eIPoIB solution will include kernel driver along with supporting user-space portion, this is to follow a comment made by the community on mangling ARPs in network driver.
If you are clever you can use the current IPoIB hardware accelleration but you need to do something different so that you can either encode or imply the MAC address so you won't have to munge ethernet protocols.
also here not sure to follow, we have a new design under which the original VM MAC is preserved on the RX side, we will not generate MAC for Ethernet frames sent by VMs which we reconstruct on the RX side any more.
Just for fun you might want to consider what it takes to support 2 VMs in the same VLAN that share the same IP address (but different MAC addresses) for failover purposes.
will look on that Or.