Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp533780rdb; Sat, 30 Sep 2023 15:05:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH1tPWe/y/CXM7v7Zg6mEh7GTeGeKuzOn0h4PbhIE5e108SAvOlLY8aXEEnT4kv4IRgfdH4 X-Received: by 2002:a17:902:f0ca:b0:1bc:4415:3c1 with SMTP id v10-20020a170902f0ca00b001bc441503c1mr9640261pla.7.1696111545852; Sat, 30 Sep 2023 15:05:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696111545; cv=none; d=google.com; s=arc-20160816; b=DRH6eseDVCgr0JgGoiKxO6W1t4a85tJaOaGlPtV3Bs6Gam4yH+rUj4TV4ghNQTEZac wLPkJwSJGk7d2H/r0S69E6WSHOGbHbobnZ/uG2GOo2zdBZhsofYTn+T0I5BQC1YiVY0r T1lMZTbOElhpnO7ouzn76av1gXhyBdZOR38JYAW+0IzUA+Vyxi/SoGyM/ay4i5bFF1Jp ksX3Pe7nQcmyMAl2UgrMzDsc33fNJd7olA0EJHVHUuEENDgaZALZdpa3IgbgWPIm5HA9 kFTMJXtLkrViNCf0PaYu83uXPDZ1Y1CNofuhmw3jrsc1Y7ROU6bW77BH4GHJM6AWP7dO ZH6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Cfk+kAIkYmF1E1ZqhKZzYdSWCH0DhBj9gaPb0BECOXU=; fh=ch7PhPvylYKJlMtPdVDLrbSaLiLLF+BT+pwjSorcRtg=; b=s7RIeosirGaFCiKPpbKfwWh6/LfJbLXFD1SNh3cNMEv0KPVGGzYMGYqPeQBsWnSPaN /Xk/zVbc6L7cu/lIxYltbUfqDMh/BxijjpKQiGhfzlw15WGDsZbfYDzvrBXrs1sDGrTj FtA0VAkqC8aEXkV6bHtTc+qw+uk+g3vx+Jwhu/AgEftLZwDczeFSliOuTg4IkMekm9O9 fnMasTcYhOojF+Twm8y8khDJ9acU24jIBFX4E7z5lSCH20gNwvYKszXF63fq9DaIQQQs Yjrcn1KX9xXGwWXPAGnb4d/dgjyg757OcJvWvX4jyDSd+NMyD1NGQjLDg87pctGLuVNV 9KIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=WL84G1DI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id l4-20020a170902f68400b001bbb175a81asi25150710plg.263.2023.09.30.15.05.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Sep 2023 15:05:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=WL84G1DI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id EE93B809A7AB; Sat, 30 Sep 2023 11:22:39 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234722AbjI3SWb (ORCPT + 99 others); Sat, 30 Sep 2023 14:22:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233050AbjI3SWa (ORCPT ); Sat, 30 Sep 2023 14:22:30 -0400 Received: from mail-yw1-x112d.google.com (mail-yw1-x112d.google.com [IPv6:2607:f8b0:4864:20::112d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE4BDE3; Sat, 30 Sep 2023 11:22:26 -0700 (PDT) Received: by mail-yw1-x112d.google.com with SMTP id 00721157ae682-59e88a28b98so26070357b3.1; Sat, 30 Sep 2023 11:22:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696098146; x=1696702946; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Cfk+kAIkYmF1E1ZqhKZzYdSWCH0DhBj9gaPb0BECOXU=; b=WL84G1DI8mesKKFAJveYhma7HWdts81Usm6pkp6IlM+TVKh3bCvDK41hDSi1CRnXBg 374+cboZ5gEGYwjTR7ow+XSGujBlwkapa3c1HTSAV9O65kAnHfzwy74224jPJ8IHLCDC K9WgHtkGnWbpYx/rYwAVhsR7Te6D8bHd6rXmF39O+n6LQxbdEWLhNhB3Jd4FO9iMf/pd iMcGNvfLNdx/R7CLqT3Lwkbupr3ssngCi7Fxsub9uYvN7UX1BD02kCAV/DwL6wsrS/in J9e+vaUqHVE1l47NQ1cLzNwA2SMYYHCRwJq+ayYOzKO+qBtPAA5tpV8spWvtEig0L5VF vr3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696098146; x=1696702946; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Cfk+kAIkYmF1E1ZqhKZzYdSWCH0DhBj9gaPb0BECOXU=; b=k3qHuNRE4stidbKLyxojUGrfwjsndAasPCWedXRF/+ZiPHlNO3wMKhAaTcvlgxIhli 4b8DKIJAChajC+S9u5YGuBJUJJW7CfigNy/eTzr6bd4a47Dr6f2S9il4hUJ5oxESlbGf St+yAXDShoZg4Ufvxd1ncUI7C4vw8jl2tPGrRC2aX89Ij4UtOEB22SUMF7jkPGiAhDTZ ic0jqSy+aS3HINp8NRTIyBJywj5kU8HrlQmEq3jmqurS78GP/dk3/Inch9Q9bRNhJKK7 ST/7NtTf3+eHuB7HWxXDOmfO1BX1dFAC+eJFYRE9ecEQbB7NR/qAAuJeqn8oENEBvw5n Uh9Q== X-Gm-Message-State: AOJu0YwQ1us+m02xY7ktqCIhGwpDkz53//nZHzQ4Hb+u97/+2boBemRc krhWJhZzn44MAdf7BOd8JNitFqFuJ7VMwXLxtUo= X-Received: by 2002:a0d:ebca:0:b0:589:f9c3:8b2e with SMTP id u193-20020a0debca000000b00589f9c38b2emr8915242ywe.20.1696098145893; Sat, 30 Sep 2023 11:22:25 -0700 (PDT) MIME-Version: 1.0 References: <20230930161443.58812-1-xubo3006@163.com> In-Reply-To: <20230930161443.58812-1-xubo3006@163.com> From: Miguel Ojeda Date: Sat, 30 Sep 2023 20:22:14 +0200 Message-ID: Subject: Re: [PATCH 1/2] rust: add Soft-RoCE driver basic structure To: AllenX Cc: rust-for-linux@vger.kernel.org, ojeda@kernel.org, alex.gaynor@gmail.com, wedsonaf@gmail.com, boqun.feng@gmail.com, gary@garyguo.net, bjorn3_gh@protonmail.com, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.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 (groat.vger.email [0.0.0.0]); Sat, 30 Sep 2023 11:22:40 -0700 (PDT) On Sat, Sep 30, 2023 at 6:16=E2=80=AFPM AllenX wrote: > > add soft-Roce rxe device net driver basic structure and Rust security abs= tration interface > > This patch add Rust abstration for rdma Soft-RoCE drrivers. > The basic architecture is completed, initialization is implemented and in= terfaces are set aside. Network driver-related support is currently not per= fect, and the specific functions of data frame parsing need to be further i= mplemented. > [PATCH 2/2] is the driver of rdma infiniband mlx4 and also completes a si= milar basic architecture. Thanks for the patches! It is nice to see people interested in Rust for more use cases. On top of what Trevor said, please see: https://rust-for-linux.com/contributing There is some extra information there that is important, such as Cc'ing the relevant C side maintainers and lists, since they are the ones that will have to agree to take these abstractions. In this case, I would imagine that would be, at least, the InfiniBand maintainers and the rdma list. Moreover, please note that these patches seem to be on top of the `rust` branch. Patches sent to the mailing list should generally be based on top of one of the latest Linus' tags or `rust-next`. If your abstractions require dependencies that have not arrived yet into mainline, those will need to be upstreamed too. Please see the website above for more details on this, e.g. https://rust-for-linux.com/branches Cheers, Miguel