From patchwork Thu Jun 3 12:51:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leon Romanovsky X-Patchwork-Id: 12297161 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=ham 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 5DC60C47097 for ; Thu, 3 Jun 2021 12:51:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3E61E6124B for ; Thu, 3 Jun 2021 12:51:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229892AbhFCMxl (ORCPT ); Thu, 3 Jun 2021 08:53:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:48550 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229876AbhFCMxk (ORCPT ); Thu, 3 Jun 2021 08:53:40 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 41B386124B; Thu, 3 Jun 2021 12:51:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1622724715; bh=C8HPP5sd9YlhX8e04OtjxshaooCjbWpRclLtzli8xMs=; h=From:To:Cc:Subject:Date:From; b=E0R7YiyxmLeOb7Bvejn965eCL3+0UbxbrJx53hgPYQE/8X2g1mZOOCOARxr1XCSvb 5uqzoR9JCbSPCFUgzpdpM1EmOk5lhusbklEDZA1T/ewSdANG3n2yyd+ZWI565Gli+J BqwFH7m73O+hLeuvmTrHtIHDZ0Yq5+lrGIINFdKBZUJFMGRrLx4r0gUO/InOS/o63o p4GFXyxJNKVCk3XEhYK5n2Glt92Nkb+lbSbBHZ+1lgI9m3npI71k+PjoHusnYzdZQO udUggSyiqGAHGWM1lc26jxIt7iIl4hbaIN3I/FLXR7HP5JeVuQ/VlSmlNQzewTsues VRrVv1vJpIaPA== 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 0/3] Add ConnectX DCS offload support Date: Thu, 3 Jun 2021 15:51:47 +0300 Message-Id: X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org From: Leon Romanovsky 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: Move DCI QP creation to separate function 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(-)