Message ID | 20200523132243.817936-1-leon@kernel.org |
---|---|
Headers | show
Return-Path: <netdev-owner@vger.kernel.org> X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=default header.b=JX7B//Du; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 49TkYn6S8cz9sPK for <patchwork-incoming-netdev@ozlabs.org>; Sat, 23 May 2020 23:22:53 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387853AbgEWNWu (ORCPT <rfc822;patchwork-incoming-netdev@ozlabs.org>); Sat, 23 May 2020 09:22:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:56672 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387804AbgEWNWt (ORCPT <rfc822;netdev@vger.kernel.org>); Sat, 23 May 2020 09:22:49 -0400 Received: from localhost (unknown [213.57.247.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C642820727; Sat, 23 May 2020 13:22:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590240169; bh=d/wXxdxoAnBiat7j31cikrb8TwwVnEniMVhq4dcxTtY=; h=From:To:Cc:Subject:Date:From; b=JX7B//Du+ygCxX/aQi+G8r5DcAFoWhSSpnJCbOVOf2NGtVPTzRdEuZi9Pa4BzvtzW Ye35Xv+mdMDWs/Ap25+cP1Vlt9Wh+HFeTH94gAux5qMDgBxs54cSQSxvcyb+jNWQZ+ EZtPMN6SgrPu3sOHv6oY5P6GV42iB4S5FpBGoGKw= From: Leon Romanovsky <leon@kernel.org> To: Doug Ledford <dledford@redhat.com>, Jason Gunthorpe <jgg@mellanox.com> Cc: Leon Romanovsky <leonro@mellanox.com>, linux-rdma@vger.kernel.org, Maor Gottlieb <maorg@mellanox.com>, Mark Zhang <markz@mellanox.com>, netdev@vger.kernel.org, Saeed Mahameed <saeedm@mellanox.com> Subject: [PATCH rdma-next v1 0/9] Driver part of the ECE Date: Sat, 23 May 2020 16:22:34 +0300 Message-Id: <20200523132243.817936-1-leon@kernel.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: <netdev.vger.kernel.org> X-Mailing-List: netdev@vger.kernel.org |
Series |
Driver part of the ECE
|
expand
|
From: Leon Romanovsky <leonro@mellanox.com> Changelog: v1: * Fixed compatibility issue of "old" kernel vs. "new" rdma-core. This is handled in extra patch. * Improved comments and commit messages after feedback from Yishai. * Added Mark Z. ROB tags v0: https://lore.kernel.org/linux-rdma/20200520082919.440939-1-leon@kernel.org ---------------------------------------------------------------------- Hi, This is driver part of the RDMA-CM ECE series [1]. According to the IBTA, ECE data is completely vendor specific, so this series extends mlx5_ib create_qp and modify_qp structs with extra field to pass ECE options to/from the application. Thanks [1] https://lore.kernel.org/linux-rdma/20200413141538.935574-1-leon@kernel.org Leon Romanovsky (9): net/mlx5: Add ability to read and write ECE options RDMA/mlx5: Get ECE options from FW during create QP RDMA/mlx5: Set ECE options during QP create RDMA/mlx5: Use direct modify QP implementation RDMA/mlx5: Remove manually crafted QP context the query call RDMA/mlx5: Convert modify QP to use MLX5_SET macros RDMA/mlx5: Advertise ECE support RDMA/mlx5: Set ECE options during modify QP RDMA/mlx5: Return ECE data after modify QP drivers/infiniband/hw/mlx5/main.c | 3 + drivers/infiniband/hw/mlx5/qp.c | 500 +++++++++++++++++------------- drivers/infiniband/hw/mlx5/qp.h | 6 +- drivers/infiniband/hw/mlx5/qpc.c | 44 ++- include/linux/mlx5/mlx5_ifc.h | 29 +- include/linux/mlx5/qp.h | 66 ---- include/uapi/rdma/mlx5-abi.h | 9 +- 7 files changed, 353 insertions(+), 304 deletions(-) -- 2.26.2