aboutsummaryrefslogtreecommitdiffstats
path: root/include/rdma
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2018-03-21 17:16:36 +0200
committerJason Gunthorpe <jgg@mellanox.com>2018-03-22 12:42:49 -0600
commit98f1f4e0ed26c97a697f1e007416acbc18f4a8a9 (patch)
treeacd09b46fb397b51fa71fa01012ac82dec9c352e /include/rdma
parentRDMA/restrack: Remove ambiguity in resource track clean logic (diff)
downloadlinux-dev-98f1f4e0ed26c97a697f1e007416acbc18f4a8a9.tar.xz
linux-dev-98f1f4e0ed26c97a697f1e007416acbc18f4a8a9.zip
IB/core: Refer to RoCE port property instead of GID table property
ib_query_gid() in commit [1] refers to RoCE GID table capability of the HCA using rdma_cap_roce_gid_table(). ib_core maintains the GID table cache regardless of the HCA provider drivers capability to maintain RoCE GID table. Therefore, whether to return a GID table entry from the software cache or from HCA should be done based on whether the port is RoCE or not. [1] commit 03db3a2d81e6 ("IB/core: Add RoCE GID table management") Reviewed-by: Mark Bloch <markb@mellanox.com> Signed-off-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions