From patchwork Mon Jun 21 07:06:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leon Romanovsky X-Patchwork-Id: 464912 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B8EB7C48BE5 for ; Mon, 21 Jun 2021 07:06:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9A32B61151 for ; Mon, 21 Jun 2021 07:06:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229789AbhFUHIi (ORCPT ); Mon, 21 Jun 2021 03:08:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:41632 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229583AbhFUHIe (ORCPT ); Mon, 21 Jun 2021 03:08:34 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4945E6115A; Mon, 21 Jun 2021 07:06:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624259180; bh=eiMJ/pkxwY9j6+Zhmr7tL1TiplN0jzJFxPuuTyDavgE=; h=From:To:Cc:Subject:Date:From; b=kM5voF831UzjN236ydBeQ1LNAf3u9mSPFPdL4qHu0XeyEfjEu/1E9eU7+wg+ajBYw LUsZCXwxkIe1cInzbFpU5/CPQOjHrYTJQGHvPR1T8qQLvvp/Mz9s4Ks/B0a0vm1l/8 BCJ0PDTwlOwNN73vby/MO/Z2kGTTdyhAyGWv9CFPUqKP2DozaIFwRq55NvpJM8qsvH fivkJ+8Xt3Q5T8sbg7R9iJZjb5Pv0bFP1z96UPx3/Gdlr3PIfOcEVKkDbXwsvmo2fK ZLkfy7V//QvLOm6ZPiGNJqfQMqWyvj7uVu6a2UQ9K4NlMMUcULMnfIO2tu8u7gH+3T /YroVCOQ6msZg== From: Leon Romanovsky To: Doug Ledford , Jason Gunthorpe Cc: Leon Romanovsky , linux-rdma@vger.kernel.org, Lior Nahmanson , Meir Lichtinger , netdev@vger.kernel.org, Saeed Mahameed Subject: [PATCH rdma-next v1 0/3] Add ConnectX DCS offload support Date: Mon, 21 Jun 2021 10:06:13 +0300 Message-Id: X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Leon Romanovsky Changelog: v1: * Rephrase commit message of second patch v0: https://lore.kernel.org/linux-rdma/cover.1622723815.git.leonro@nvidia.com ------------ This patchset from Lior adds support of DCI stream channel (DCS) support. DCS is an offload to SW load balancing of DC initiator work requests. A single DC QP initiator (DCI) can be connected to only one target at the time and can't start new connection until the previous work request is completed. This limitation causes to delays when the initiator process needs to transfer data to multiple targets at the same time. Thanks Lior Nahmanson (3): net/mlx5: Add DCS caps & fields support RDMA/mlx5: Separate DCI QP creation logic RDMA/mlx5: Add DCS offload support drivers/infiniband/hw/mlx5/main.c | 10 ++ drivers/infiniband/hw/mlx5/qp.c | 168 ++++++++++++++++++++++++++++++ include/linux/mlx5/mlx5_ifc.h | 14 ++- include/uapi/rdma/mlx5-abi.h | 17 ++- 4 files changed, 204 insertions(+), 5 deletions(-)