summaryrefslogtreecommitdiffstats
path: root/include/rdma/rdma_cm.h
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2018-09-06 09:58:57 +0200
committerJason Gunthorpe <jgg@mellanox.com>2018-09-06 22:34:38 +0200
commit273993509f05623934dda14a56237738149b2906 (patch)
treebb6f53fa632a97018c44b3d937a9bc0e71cf2652 /include/rdma/rdma_cm.h
parentRDMA/core: Follow correct unregister order between sysfs and cgroup (diff)
downloadlinux-273993509f05623934dda14a56237738149b2906.tar.xz
linux-273993509f05623934dda14a56237738149b2906.zip
RDMA/core: Assign device ifindex before publishing the device
Even though device->ifindex is assigned before adding the device in the list which is read by netlink flow, it is better to assign rdma device index before publishing the device in the system to users and clients. Signed-off-by: Parav Pandit <parav@mellanox.com> Reviewed-by: Daniel Jurgens <danielj@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/rdma/rdma_cm.h')
0 files changed, 0 insertions, 0 deletions