RDMA/core: add port state cache
authorJack Wang <jinpu.wang@profitbricks.com>
Mon, 2 Jan 2017 12:17:36 +0000 (13:17 +0100)
committerDoug Ledford <dledford@redhat.com>
Fri, 13 Jan 2017 03:59:55 +0000 (22:59 -0500)
commitaaaca121c7cf9217ab81d9db0a04835d52aabebe
treeefaef9192a68a244e50d44903a13d687df8c2ec2
parent27d41d29c7f093f6f77843624fbb080c1b4a8b9c
RDMA/core: add port state cache

We need a port state cache in ib_core, later we will use in rdma_cm.

Signed-off-by: Jack Wang <jinpu.wang@profitbricks.com>
Reviewed-by: Michael Wang <yun.wang@profitbricks.com>
Acked-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/cache.c
include/rdma/ib_verbs.h