From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leon Romanovsky Subject: [PATCH rdma-next v1 0/7] Preparation to DevX extension series Date: Thu, 20 Sep 2018 21:35:19 +0300 Message-ID: <20180920183526.13995-1-leon@kernel.org> Cc: Leon Romanovsky , RDMA mailing list , Yishai Hadas , Saeed Mahameed , linux-netdev To: Doug Ledford , Jason Gunthorpe Return-path: Received: from mail.kernel.org ([198.145.29.99]:53044 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726193AbeIUAUT (ORCPT ); Thu, 20 Sep 2018 20:20:19 -0400 Sender: netdev-owner@vger.kernel.org List-ID: From: Leon Romanovsky Changelog v0->v1: * Update commit messages * Split DevX series to small sub-series. * Change static initialization from {0} to be {} ------- From Yishai, Set uid as part of various IB commands so that the firmware can manage the IB object in a secured way. The firmware should mark this IB object with the given uid so that it can be used later on only by objects with the same uid. Upon DEVX flows that use this objec, the pointed object must have the same uid as of the issuer uid command. When a command is issued with uid=0 it means that the issuer of the command is trusted (i.e. kernel), in that case any pointed object can be used regardless of its uid. Thanks Leon Romanovsky (1): net/mlx5: Update mlx5_ifc with DEVX UID bits Yishai Hadas (6): net/mlx5: Set uid as part of CQ commands net/mlx5: Set uid as part of QP commands net/mlx5: Set uid as part of RQ commands net/mlx5: Set uid as part of SQ commands net/mlx5: Set uid as part of SRQ commands net/mlx5: Set uid as part of DCT commands drivers/net/ethernet/mellanox/mlx5/core/cq.c | 4 + drivers/net/ethernet/mellanox/mlx5/core/qp.c | 81 +++++++++++----- drivers/net/ethernet/mellanox/mlx5/core/srq.c | 30 +++++- include/linux/mlx5/cq.h | 1 + include/linux/mlx5/driver.h | 1 + include/linux/mlx5/mlx5_ifc.h | 135 +++++++++++++++----------- include/linux/mlx5/qp.h | 1 + include/linux/mlx5/srq.h | 1 + 8 files changed, 171 insertions(+), 83 deletions(-)