[ofa-general] Re: Understanding IPoIB-CM

Roland Dreier rdreier at cisco.com
Tue Aug 7 12:16:42 PDT 2007


 > >         Here, I wanted to ask  - before transmitting why is the skb->dev field 
 > > modified as the device is same IPoIB interface through which packets will be
 > > transmitted. Is p->dev is some other device?
 > 
 > Good question, I don't recall at the moment.
 > I think I copied this from ipoib_main.c
 > Roland, any idea why do we do this?

I think I saw some cases a long time ago when first developing this
where skb->dev was not set, which caused problems in dev_queue_xmit().

 - R.



More information about the general mailing list