From patchwork Tue Apr 30 10:18:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leon Romanovsky X-Patchwork-Id: 13648686 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C144B1292D2; Tue, 30 Apr 2024 10:18:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714472313; cv=none; b=ZnJJYQnYQ0nXC9skdplOAsmMlsx/IO5NTPMGvGWwtYJHCpyA1pc4H/Up/o74nykScUL+1QuMy5tXCUR6EGHbqCTGOeQiaWWp7TO60Wp4Of4/5a7yCQ1xG/dwsapFFpm409yUV2Khgf3Ul8/sTWEj9qUtYIgbTY3MF/4vfhd2TNg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714472313; c=relaxed/simple; bh=rdVvA+4rlBJ+RNd99WGh8IJBSNkpYBqlfoF6+e5inyE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ce+0HKWqNOPM+TyeVAGE3Tn/3lkZOu3fBoj+D/T/wsebYTYC1Uir70dGu+iP2tltq0lZXWCRgdKwql9OUJGvO5Lu9h3TVDmPvib/Q2j53JtmSvVjwG7EvkxuVPW810UbqHFlPTdGd5czINYbqKmfea6nSCZ2gdirGzcz7gVbFRA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=L6W4UoB+; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="L6W4UoB+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CBDF0C2BBFC; Tue, 30 Apr 2024 10:18:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714472313; bh=rdVvA+4rlBJ+RNd99WGh8IJBSNkpYBqlfoF6+e5inyE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=L6W4UoB+iVu2swNbM4oXoRezgGrOUhgNz1yvZYbal+T1q6q66tkD4rWzkC8K3BVMz PVUfd/c/CGSJoJLKDpcQGbEsYR/G8Ajm7/wtH46IV6EnVjl9vRA2Mqg0t583MJkhLt L/sb62nCPKBEaZAo9ngStbVdYy5Qxz+kajGb63kJJtQPUmEDjDv++z+UDSwG7RdyA/ 2XuSI0fM1ttLxHTMwyRW2T4IYbzLjcbHJ/Mfka3nhb8WkgiJzX95tYBS7fUAG4q+a1 3c/Su/mgGv7uEJTxbDHwQLZtyi2mFbDPNIGqfQDn1YUsrgWY6uAJLpEmAql7pBJpUK tKpE+LhiIrdGw== From: Leon Romanovsky To: David Ahern Cc: Chiara Meiohas , Jason Gunthorpe , linux-netdev , RDMA mailing list Subject: [PATCH iproute2-next 1/2] rdma: update uapi header Date: Tue, 30 Apr 2024 13:18:19 +0300 Message-ID: X-Mailer: git-send-email 2.44.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-rdma@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Chiara Meiohas Update rdma_netlink.h file up to kernel commit e18fa0bbcedf ("RDMA/core: Add an option to display driver-specific QPs in the rdmatool") Signed-off-by: Chiara Meiohas Signed-off-by: Leon Romanovsky Reviewed-by: Subbaraya Sundeep --- rdma/include/uapi/rdma/rdma_netlink.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rdma/include/uapi/rdma/rdma_netlink.h b/rdma/include/uapi/rdma/rdma_netlink.h index e8861b5e..a6c8a52d 100644 --- a/rdma/include/uapi/rdma/rdma_netlink.h +++ b/rdma/include/uapi/rdma/rdma_netlink.h @@ -558,6 +558,12 @@ enum rdma_nldev_attr { RDMA_NLDEV_SYS_ATTR_PRIVILEGED_QKEY_MODE, /* u8 */ + RDMA_NLDEV_ATTR_DRIVER_DETAILS, /* u8 */ + /* + * QP subtype string, used for driver QPs + */ + RDMA_NLDEV_ATTR_RES_SUBTYPE, /* string */ + /* * Always the end */