On Tue, Jul 19, 2011 at 12:27:17PM +0300, Or Gerlitz wrote: > The addition of the new field does not change the size of struct > ibv_port_attr due to alignment of the preceding fields. As such > binary compatibility between the library to applications is kept,
What zeros the field in the current library? It looks like new apps that want to access the link_layer field will have to explicitly zero port_attr before calling ibv_cmd_query_port. Should be noted in the documentation - and maybe also explicitly zero the remaining pad for future. 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
