Re: [PATCH 03/11] IB/ipoib: Bound the net device to the ipoib_neigh structue

2007-09-17 Thread Roland Dreier
Overall idea looks good... one comment: > +if (n->dev->flags & IFF_MASTER) { > +/* n->dev is not an IPoIB device and we have > +to take priv from elsewhere */ > +neigh = *to_ipoib_neigh(n); > +if (neigh) { > +pri

[PATCH 03/11] IB/ipoib: Bound the net device to the ipoib_neigh structue

2007-09-14 Thread Jay Vosburgh
From: Moni Shoua <[EMAIL PROTECTED]> IPoIB uses a two layer neighboring scheme, such that for each struct neighbour whose device is an ipoib one, there is a struct ipoib_neigh buddy which is created on demand at the tx flow by an ipoib_neigh_alloc(skb->dst->neighbour) call. When using the bonding