public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCHv2 0/4] IB cache port state, use it when resolve address
@ 2017-01-02 12:15 Jinpu Wang
       [not found] ` <CAMGffE=-dN6jpJUHyNEHra1P=SLYiO47pMbMoKSNf6Njy=znKA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Jinpu Wang @ 2017-01-02 12:15 UTC (permalink / raw)
  To: Doug Ledford, Hefty, Sean, Hal Rosenstock,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Jason Gunthorpe
  Cc: Michael Wang

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.

-- 
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-EIkl63zCoXaH+58JC4qpiA@public.gmane.org
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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-01-13  9:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-02 12:15 [PATCHv2 0/4] IB cache port state, use it when resolve address Jinpu Wang
     [not found] ` <CAMGffE=-dN6jpJUHyNEHra1P=SLYiO47pMbMoKSNf6Njy=znKA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-01-11 12:26   ` Jinpu Wang
     [not found]     ` <CAMGffE=xA9GMMWAKPMzAtWxHBSbBVft04LjB+fhc0mLRjmEXfQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-01-13  4:02       ` Doug Ledford
     [not found]         ` <1484280123.123135.55.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-01-13  9:04           ` Jinpu Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox