On Mon, Jan 02, 2017 at 01:17:36PM +0100, Jinpu Wang wrote: > +++ b/include/rdma/ib_verbs.h > @@ -1781,6 +1781,7 @@ struct ib_cache { > struct ib_pkey_cache **pkey_cache; > struct ib_gid_table **gid_cache; > u8 *lmc_cache; > + enum ib_port_state *port_state_cache; > }; I think at this point the these per-port arrays should be moved into a struct.. Jason -- 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