Roland Dreier wrote: > > + struct ib_device_attr device_attr; > > How big is struct ib_device_attr? I've usually been reluctant to put > this type of thing on the stack to avoid bloating stack usage too > much. Oh, its 168 bytes on x86_64, I will fix it to be allocated dynamically. Or.