On Mon, Jan 2, 2017 at 1:15 PM, Jinpu Wang <jinpu.wang@xxxxxxxxxxxxxxxx> wrote: > Hi Folks, > > This is my forth attempt to fix rdma_revolve_addr may resolve to first > port even it's down[1]. > > As Jason and Hefty suggested, I now cache port_state in ib_core, and > update cma_resolve_ib_dev and cma_bind_loopback to use it. > > 0001-IB-core-add-port-state-cache.patch > 0002-IB-core-export-ib_get_cached_port_state.patch > 0003-cma-resolve-to-first-active-ib-port.patch > 0004-cma-use-cached-port-state-when-bind-loopback.patch > > [1]http://marc.info/?l=linux-rdma&m=148102306632521&w=2 > > Changes from v1: > - Add Hefty's Acked-by. > - rebase on Doug's rdma/k.o/for-4.10 (commit > 5cc8fabc5e4c588c75a5ec21423e7c3425f69f48) > - fix a mem leak in ib_cache_setup_one in error case in first patch. > > -- Ping Doug? -- 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