> diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h > index 0d74f1d..0116e4b 100644 > --- a/include/rdma/ib_verbs.h > +++ b/include/rdma/ib_verbs.h > @@ -1675,6 +1675,7 @@ struct ib_device { > u32 local_dma_lkey; > u8 node_type; > u8 phys_port_cnt; > + struct ib_device_attr cached_dev_attrs; > }; Looking at the device attributes, I think all of the values are static for a given device. If this is indeed the case, then I would just remove the word 'cached' from the field name. Cached makes me think of the values dynamically changing, and if that's the case, then this patch isn't sufficient. Alternatively, if there's only a few values that ULPs need, maybe just store those. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html