On Thu, Jul 4, 2019 at 11:46 PM Jason Gunthorpe <jgg@xxxxxxxx> wrote: > > On Thu, Jul 04, 2019 at 04:04:00PM +0300, Leon Romanovsky wrote: > > From: Leon Romanovsky <leonro@xxxxxxxxxxxx> > > > > Now that RDMA devices can be attached to specific net namespace, > > allow netlink commands in non init_net namespace. > > > > Parav Pandit (2): > > IB/core: Work on the caller socket net namespace in nldev_newlink() > > IB: Support netlink commands in non init_net net namespaces > > Could someone please confirm that all the new libibverbs stuff works > properly in a container after this series? > Hi Jason, I tested rping using rdma-core from [1] where I had to skip siw compilation due to a compile error. I used kernel from [2]. [1] https://github.com/jgunthorpe/rdma-plumbing.git branch netlink [2] https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git/log/?h=rdma-next Test were done in non init_net net namespace. It looks good. A sample kernel frace to double confirm below. Due to our internal net-next-mlx5 behind of nldev patches, I couldn't test mdev devices yet with this series. 19) | rdma_nl_rcv [ib_core]() { 19) | rdma_nl_rcv_msg [ib_core]() { 19) | nldev_get_chardev [ib_core]() { 19) 2.220 us | ib_device_get_by_index [ib_core](); 19) | ib_get_client_nl_info [ib_core]() { 19) | __ib_get_client_nl_info [ib_core]() { 19) 1.697 us | xan_find_marked.constprop.26 [ib_core](); 19) 1.024 us | xan_find_marked.constprop.26 [ib_core](); 19) 1.023 us | xan_find_marked.constprop.26 [ib_core](); 19) 1.153 us | xan_find_marked.constprop.26 [ib_core](); 19) 0.574 us | ib_uverbs_get_nl_info [ib_uverbs](); 19) + 12.507 us | } 19) + 13.533 us | } 19) 0.380 us | ib_device_put [ib_core](); 19) 4.600 us | rdma_nl_unicast [ib_core](); 19) + 26.533 us | } 19) + 27.457 us | } Some issue with my outlook email. So replying from gmail.. Thanks.