On Wed, Feb 01, 2012 at 01:42:30PM -0800, Roland Dreier wrote: > > RCU could be used to fix the race, but the difficulty in converting > > this code over to dst_lookup_neigh() would remain and the latter is > > more important to me than the former right now :-) > > OK. So do you have any thoughts about what the generic key available > at transmit time (as you alluded to in your first message) might be?
I thought a big reason the IPoIB stuff was setup this way was to fit in with older kernels (eg we cannot change the neigh structures)? Would making the allocation of the neigh structure returned by dst_lookup_neigh() large enough to hold the ARP/ND HW addr and also the IB path record solve these problems? At least for UD? Haven't looked at the dst_lookup_neigh work from David though, so I could be way off :) Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
