]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/core: Support core port attributes in non init_net
authorParav Pandit <parav@mellanox.com>
Tue, 26 Feb 2019 11:56:15 +0000 (13:56 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 28 Mar 2019 17:52:02 +0000 (14:52 -0300)
commitfac10c87e38cb3513e43cfde9128c37f7d066801
treeb6a226ba48fce948a0ffa3281ee7845fb7e5dab2
parent30b895d4520df61d87ce84ee96b9b73098d1f2bd
RDMA/core: Support core port attributes in non init_net

Now that sysfs compatibility layer for non init_net exists, add core port
attributes such as pkey and gid table to non init_net ns.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/core_priv.h
drivers/infiniband/core/device.c
drivers/infiniband/core/sysfs.c