aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJack Wang <[email protected]>2017-01-02 13:17:36 +0100
committerDoug Ledford <[email protected]>2017-01-12 22:59:55 -0500
commitaaaca121c7cf9217ab81d9db0a04835d52aabebe (patch)
treeefaef9192a68a244e50d44903a13d687df8c2ec2 /include
parent27d41d29c7f093f6f77843624fbb080c1b4a8b9c (diff)
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 <[email protected]> Reviewed-by: Michael Wang <[email protected]> Acked-by: Sean Hefty <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/rdma/ib_verbs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h
index 958a24d8fae7..fafa988e0e9a 100644
--- a/include/rdma/ib_verbs.h
+++ 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;
};
struct ib_dma_mapping_ops {