On Wed, Jan 4, 2017 at 12:58 PM, Jinpu Wang <jinpu.wang@xxxxxxxxxxxxxxxx> wrote: > On Wed, Jan 4, 2017 at 9:50 AM, Jinpu Wang <jinpu.wang@xxxxxxxxxxxxxxxx> wrote: >> On Tue, Jan 3, 2017 at 8:18 PM, Jason Gunthorpe >> <jgunthorpe@xxxxxxxxxxxxxxxxxxxx> wrote: >>> 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 >> >> Ok, I will create a struct ib_port_cache, which contains lmc_cache and >> port_state_cache. >> >> Will submit later today. >> >> Thanks, Jason >> > Hi Jason, > > I looked a bit deeper, looks all these four elements are per port > cache, it will take some time, > and I have other more urgent task to do, can we do it later, after > this bug fix patchset merged, > I will put the cleanup task on my TODO list, will address it later. > > Thanks, It's easier than I thought, I will sent out as incremental patch based on this patch. -- Jinpu Wang Linux Kernel Developer ProfitBricks GmbH Greifswalder Str. 207 D - 10405 Berlin Tel: +49 30 577 008 042 Fax: +49 30 577 008 299 Email: jinpu.wang@xxxxxxxxxxxxxxxx URL: https://www.profitbricks.de Sitz der Gesellschaft: Berlin Registergericht: Amtsgericht Charlottenburg, HRB 125506 B Geschäftsführer: Achim Weiss -- 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