When a struct ib_client's add() function is called. is there a supported method to find out the namespace of the passed in struct ib_device? There is rdma_dev_access_netns() but it does not return the namespace. It seems that it needs to have something like the following. struct net *rdma_dev_to_netns(struct ib_device *ib_dev) { return read_pnet(&ib_dev->coredev.rdma_net); } Comments? Thanks. -- K. Poon ka-cheong.poon@xxxxxxxxxx