Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp992460rdb; Wed, 6 Dec 2023 06:02:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IGGJYXdDjpNEimatei1qAaB64G0gFVhTI8koq7t+UV9chDmyHzlf41Jhg2SbjTbbBoWkKqj X-Received: by 2002:a9d:6b0e:0:b0:6d9:ae04:d5c9 with SMTP id g14-20020a9d6b0e000000b006d9ae04d5c9mr1040612otp.7.1701871352454; Wed, 06 Dec 2023 06:02:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701871352; cv=none; d=google.com; s=arc-20160816; b=rDBRPT9WwACGzJhu5Zt8BnhsfKPhWfY2y1SDKzis7RVQYf38UyBiMFCH11SLHGIbUV wRkFSDw1o+x0cLToTlOnyeqVXi5fhtUJV+mQrAQYkNCA7pT+PFmlic0U3gxdinJ/ss8l JPjp6/7+OYH0hloXE266XGUBtpAxnrRcZqBabESVvYXdPjawlCFlOntgPLXsE/NCKVHo n4Lb0kbl4YlYO1pw84DlPLMct39/jvc4lISjby6vF9WddC/7rC6tTIIO95bbqkpMIqAc ZJ4haf/KYhftb5lezOxvwKqsITRFtkXXb7VwP1wObp28VZSDIiUXnj67oWFDO8Y+D5z0 FhWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=vGZPzL/AMWocQYWWKsdNKp3Ph+ohSDppzbmiTX296Z4=; fh=b+R83E/uqjHug/bvwGF7yImEH91xQCuig/cxNcGGzCU=; b=Eo+0BpQ5/JhsOltItuaJ6HVJzaX/4bhrd+IKHtt692lnbuG2fF6B4r3VZFtPIgyq03 1SBwIHrzqvslTZ4MwRc4ckiXWPdke5lk6S658Y7b3Mpvra/uTbqXYBREdNHn6N1nQXu3 TGy5y4G+d0VY4TtjNLdjEeJTzPdtbxu1/Guia+jirDWsfSUK4sEbZBQAhptxo+h19Fd4 md0jYbD0lhehhLjU0fgRdDBidcbcIHtE2+hBjpgD1s9LM6uWt/RYh0BPLEJZLeu1C8tm O+D7t2wdEm601bKwc4PGaDLljenfzBIDh8Qn3u9zFAFKU+3u9Np39bGUV+6rKj/g8kl5 FOZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QIYY42O7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id e3-20020a9d63c3000000b006d9d18acdaesi97667otl.112.2023.12.06.06.02.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 06:02:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QIYY42O7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 0282580CF50B; Wed, 6 Dec 2023 06:02:24 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378849AbjLFOCA (ORCPT + 99 others); Wed, 6 Dec 2023 09:02:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378788AbjLFOBy (ORCPT ); Wed, 6 Dec 2023 09:01:54 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 815DB10D4 for ; Wed, 6 Dec 2023 06:01:46 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 11A0AC433C7; Wed, 6 Dec 2023 14:01:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701871305; bh=/smgYwrNiywTTOUBDU8u9NXotG8+d5x1VH+6Q14bcgE=; h=From:To:Cc:Subject:Date:From; b=QIYY42O737W5KvHlLRD+NnFnvcHBU33Xptq4n48C+y6W77vkWAo68OhPytfSqCW5m mLcO4qS6/jTSNIFEq0MhxxXSgvzM3lonJOMDjXfk0k55MblKghDkztH3vy7CA2FD6y Q0BKCKolqdkocKPkjTLQRJEArUATMFlxNmdqKsJJoOINLfayFlJhSUv3D3fU2a/lJR 45tRqIldjL7Ee+QFVIj+x0uUr/XP/lHzzmLzpmUIJ6gMezgEU1cpnu9p99x6I6kEIZ qvAifQtP8tO4cmadQQ4l8SbU42+uj4iishys2xEKIAfUMDYyxBplKTNRKBC31aEkNb h6W2JzWIW0aGg== From: Leon Romanovsky To: Jason Gunthorpe Cc: Leon Romanovsky , Eric Dumazet , Jakub Kicinski , linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, Mark Bloch , Michael Guralnik , netdev@vger.kernel.org, Paolo Abeni , Saeed Mahameed , Shun Hao Subject: [PATCH mlx5-next v1 0/5] Expose c0 and SW encap ICM for RDMA Date: Wed, 6 Dec 2023 16:01:33 +0200 Message-ID: X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 06 Dec 2023 06:02:24 -0800 (PST) From: Leon Romanovsky Changelog: v1: * Reordered patches v0: https://lore.kernel.org/all/cover.1701172481.git.leon@kernel.org ----------------------------------------------------------------------- Hi, These two series from Mark and Shun extend RDMA mlx5 API. Mark's series provides c0 register used to match egress traffic sent by local device. Shun's series adds new type for ICM area. Thanks Mark Bloch (2): net/mlx5: E-Switch, expose eswitch manager vport RDMA/mlx5: Expose register c0 for RDMA device Shun Hao (3): net/mlx5: Introduce indirect-sw-encap ICM properties RDMA/mlx5: Support handling of SW encap ICM area net/mlx5: Manage ICM type of SW encap drivers/infiniband/hw/mlx5/dm.c | 5 +++ drivers/infiniband/hw/mlx5/main.c | 24 ++++++++++++ drivers/infiniband/hw/mlx5/mr.c | 1 + .../net/ethernet/mellanox/mlx5/core/eswitch.h | 7 ---- .../net/ethernet/mellanox/mlx5/core/lib/dm.c | 38 ++++++++++++++++++- include/linux/mlx5/driver.h | 1 + include/linux/mlx5/eswitch.h | 8 ++++ include/linux/mlx5/mlx5_ifc.h | 9 ++++- include/uapi/rdma/mlx5-abi.h | 2 + include/uapi/rdma/mlx5_user_ioctl_verbs.h | 1 + 10 files changed, 86 insertions(+), 10 deletions(-) -- 2.43.0