Re: [PATCH V2 09/12] net/eipoib: Add main driver functionality
From: Eric W. Biederman <hidden>
Date: 2012-08-07 00:44:18
Ali Ayoub [off-list ref] writes:
Among other things, the main benefit we're targeting is to allow IPoE traffic within the VM to go through the (Ethernet) vBridge down to the eIPoIB PIF, and eventually to IPoIB and to the IB network.
That works today without code changes. It is called routing.
In Para virtualized environment, the VM emulator sends/receives packets with Ethernet header, and the vBridge also performs L2 switching based on the Ethernet header, in addition to other tools that expect an Ethernet link layer. We'd like to support them on top of IPoIB.
See routing. The code is already done.
I don't see in other alternatives a solution for the problem we're trying to solve. If there are changes/suggestions to improve eIPoIB netdev driver to avoid "messing with the link layer" and make it acceptable, we can discuss and apply them.
Nothing needs to be applied the code is done. Routing from IPoE to IPoIB works. There is nothing in what anyone has posted as requirements that needs work to implement. I totally fail to see how getting packets of of the VM as ethernet frames, and then IP layer routing those packets over IP is not an option. What requirement am I missing. All VMs should suport that mode of operation, and certainly the kernel does. Implementations involving bridges like macvlan and macvtap are performance optimizations, and the optimizations don't even apply in areas like 802.11, where only one mac address is supported per adapter. Bridging can ocassionally also be an administrative simplification as well, but you should be able to achieve the a similar simplification with a dhcprelay and proxy arp. Eric