Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp602044rdb; Sat, 30 Sep 2023 19:10:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH9flYwgKqk0tb3KTbZrmoQBqUre3/E6JdpquvcAtcPzgh+kLtm+s8aPezB2MTedP6QhxS5 X-Received: by 2002:a05:6a00:1741:b0:68a:45a1:c0ee with SMTP id j1-20020a056a00174100b0068a45a1c0eemr10386830pfc.15.1696126248085; Sat, 30 Sep 2023 19:10:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696126248; cv=none; d=google.com; s=arc-20160816; b=VOEAlFvwRGcYu7J9aHE37Svanh8pdxvlFn2SfdoMwGBm5JVd5Tpi7avcDHJZcf+pzk mnO2xyj/JzGAMGxIWmapQyxwEIdrBPi9fZGZuqq04II3b65v0UDQ113lRdna5mx68223 WMq6FPKySoxlV+keCnlnvWMl2ZutZc0Aneo4aTmp9A0Q7X4WQvKtSe6/qwqgcP1VwIYj H1L8sD++j17yc2QtOJARBdvBlbc4L6OsCoi4tuTtyddVnwQeLr/hPZfHVkS0X3Zzf7Wp yFDIp5iACRBtrrdpkPY9Q9spQjZWCayFpHJ5JXqsmWaNOw+7Ddy3RHL2y64kL/kAsFuN 81xA== 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=1bRw5quNEV0M9cb0HcdjknkRgJ/siG4MMp5H13L+Cls=; fh=ch7PhPvylYKJlMtPdVDLrbSaLiLLF+BT+pwjSorcRtg=; b=znN9hJDIbGAn7tEE53NK6npX6Dx1JKgj6TNIvolacxyqAsRWy168KuuJfJWd+WvPPe mtStWtFkazfxH5edHoabM+uc+DfFfh7/eAnh0w80AI7Fe98CIE5QwslbKg3mzJ58gfWH ApWKLchbAXnl5QQSijZI6udoknz6X5aMtp5tDzMATa+tKiKCpXYJYtWLej3+CIr2yuVk T9SgHFfj04ejUkMqx/xwG9ngHyPc4hWpNun8OuixVjTvQ3L9cUTmtS2enUBKnX836FR6 w22IoJQY9Y5ubxQiUUkjO6yrLAY8/UpG6tqZwKdNjbO/mm5Z8AnIodWshF7kVFeTRFZr LveA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@umich.edu header.s=google-2016-06-03 header.b=mQnoxRoo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=umich.edu Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id ei42-20020a056a0080ea00b00690c6da95c4si22613775pfb.273.2023.09.30.19.10.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Sep 2023 19:10:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@umich.edu header.s=google-2016-06-03 header.b=mQnoxRoo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=umich.edu Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 9FAD98027DE1; Sat, 30 Sep 2023 10:47:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234686AbjI3RrP (ORCPT + 99 others); Sat, 30 Sep 2023 13:47:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234568AbjI3RrO (ORCPT ); Sat, 30 Sep 2023 13:47:14 -0400 Received: from mail-yb1-xb31.google.com (mail-yb1-xb31.google.com [IPv6:2607:f8b0:4864:20::b31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA541E6 for ; Sat, 30 Sep 2023 10:47:11 -0700 (PDT) Received: by mail-yb1-xb31.google.com with SMTP id 3f1490d57ef6-d84c24a810dso17013929276.2 for ; Sat, 30 Sep 2023 10:47:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=google-2016-06-03; t=1696096031; x=1696700831; 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=1bRw5quNEV0M9cb0HcdjknkRgJ/siG4MMp5H13L+Cls=; b=mQnoxRoolRZo3SzsJ2Sf6QDHx442H0O0UDytGSx7nAfy5aWa8ZSf8meFdmppMbUqfS wsYtOovh5uGvsv65gxP1yXFOdBVhyUGfzSzJV1ioIt8hsEbpSJf1ryZtzm22VMcxTtes S6EyDvZtFY95RZHereHjwxRuIESizrd+F6s4hAmKAG3aPKaDsIKf2gUUXGrnVRKPdGg9 m+KVXBQhT+rQvUecW/xlvVuNhR7sJEsdxla/ARCSO3STbtJ9xH7aJGzg8/9FznEc11RX 00Go+DbaTSWrRGxvz+WX40U3jntVfwzy7k7fElqMyNclNtBoFSobKS72PTz+Y3iqKhhu WypQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696096031; x=1696700831; 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=1bRw5quNEV0M9cb0HcdjknkRgJ/siG4MMp5H13L+Cls=; b=CrR5RrdlYWz8A/+O5hLIVsXpg+lba0iqcvh4ZJgU+rJzo9uBk07YuPsBCQqBQwlrPB jvAJ4N7lDPpxHL/+HGrcJKhLb1Dq1bcvF8Rh41j4qsJ7kzx5mUVVbc/p1ECH/1RyGYoq vOHyGUsCdu4DZegVgqsr46F9khM7WcrkXdYAEeVRJ3lYby283eeTamiXHw/YPsO/hCLk ogOUOGv62OS5jIS5s6UG0EpvmwWpyUSgzgr8qt3ul8oHaFmhbyXCya763UBv28gp7Lb4 IYzp2y8t2b67aqQYfxkMZ/QzR+LxIUADCKHHqhejayE84WG7XwAoksKyHIx1R+URyppc ejUg== X-Gm-Message-State: AOJu0YyljQCSPc6gzo2QcF8YQd3QhRr7r9baj3/YFji9bqyze3FePlQa McagxyclIgNgsbUwrtanjdLferLByVvt0qTMY7yY5A== X-Received: by 2002:a0d:d086:0:b0:598:bad6:8e67 with SMTP id s128-20020a0dd086000000b00598bad68e67mr6880097ywd.30.1696096030870; Sat, 30 Sep 2023 10:47:10 -0700 (PDT) MIME-Version: 1.0 References: <20230930161443.58812-1-xubo3006@163.com> In-Reply-To: <20230930161443.58812-1-xubo3006@163.com> From: Trevor Gross Date: Sat, 30 Sep 2023 13:47:00 -0400 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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (howler.vger.email [0.0.0.0]); Sat, 30 Sep 2023 10:47:29 -0700 (PDT) On Sat, Sep 30, 2023 at 12:32=E2=80=AFPM AllenX wrote: > > add soft-Roce rxe device net driver basic structure and Rust security abs= tration interface It looks like your patch hit the list twice, see [1] and [2]. Also, the body should be hard wrapped [3]. Since it's usually the first thing to be asked, do you have a real-world driver that this is intended for? Typically new abstractions don't get merged upstream unless there is an in-tree use case. We can still give the patch a cursory review from the Rust side even if it isn't meant for upstreaming as-is. For future reference, you can have "RFC PATCH" in the subject to make this clear (`git format-patch --rfc` does this) [1]: https://lore.kernel.org/rust-for-linux/20230930163256.60779-1-xubo3006= @163.com/ [2]: https://lore.kernel.org/rust-for-linux/20230930161443.58812-1-xubo3006= @163.com/ [3]: https://www.kernel.org/doc/html/v4.17/process/submitting-patches.html#= the-canonical-patch-format