Re: [PATCH V2 09/12] net/eipoib: Add main driver functionality
From: Or Gerlitz <hidden>
Date: 2012-09-04 18:50:11
On Tue, Sep 4, 2012 at 12:22 AM, Michael S. Tsirkin [off-list ref] wrote:
On Mon, Sep 03, 2012 at 11:53:56PM +0300, Or Gerlitz wrote:
quoted
So we are remained with #3 - the ARPs -- thinking on this a little further, FWIW there --are-- components in the kernel which mangle/generate ARPs and are exposing netdevice, such as openvswitch, anyway:
quoted
does it make sense to forward ARPs received into / sent over the eIPoIB netdevice (e.g using some sort of rule) to some outer entity such as user-space daemon for interception and later re-injection into eIPoIB?
Well if this is all you want to do, you can bind a packet socket to the interface, and drop them at the nic. It is harder to do for incoming ARP requests though.
I would do something else: send ARPs out to some defined IB address. This could be local host or queries from some SA property. Said remote side could send you the responses in ethernet format so you do not need to mangle responses at all. Similarly for incoming ARP requests.
The rule to do this can also just redirect non IP packets - this is IPoIB after all.
Thanks for the heads up on the possible implementation route, will look into that.
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. Or.