OSDN Git Service

net/mlx5: Set completion EQs as shared resources
authorYishai Hadas <yishaih@mellanox.com>
Tue, 14 May 2019 11:44:12 +0000 (14:44 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 14 May 2019 13:22:09 +0000 (10:22 -0300)
commitc191f93454bcc92810b9c8cdb895a452a57948c2
tree5ffdfd87fd39bffa64b96d16fde73a90d49b1487
parentcd5d20f13f2de7d5d528dbbc2b095e06c70bad9a
net/mlx5: Set completion EQs as shared resources

Mark completion EQs as shared resources so that they can be used by CQs
with uid != 0.

Fixes: 7efce3691d33 ("IB/mlx5: Add obj create and destroy functionality")
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eq.c
include/linux/mlx5/mlx5_ifc.h