Received: by 2002:a05:7412:bb8d:b0:d7:7d3a:4fe2 with SMTP id js13csp49800rdb; Mon, 14 Aug 2023 09:10:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEkMFPPR6KPYtDBlZI62nVLQZGBl26fm0mfSn/U0MuK4O76M3QiImB5oKNkuLxhY7m660FK X-Received: by 2002:a05:6e02:b49:b0:348:c041:abd7 with SMTP id f9-20020a056e020b4900b00348c041abd7mr15175912ilu.13.1692029411296; Mon, 14 Aug 2023 09:10:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692029411; cv=none; d=google.com; s=arc-20160816; b=Xr/JYDIcxlrB6FdP6ZA6EmQq29KwSXnrJMXQArz18+KBSZJXqQ//6sQ8SfhCTxvLpn aP4pBzz28xy8UJ3l2OFKzTWS5DQ1c2/pYsfMOwIUN40+9gHlAbIkgGRdvFoNU5sPNmCd QHAD4D2TNKD/CQYdyMMsHF19BTMHZphuYgPgl1oW7UFLxmg7DkOEk3InokW4nFi+yBSC hCpbGY8t/JGXwgsEcoUx/NcnkQ32vfo3PrIBeQQ8yO3YwHOUvA4NiMAMCanhJrYlh8t5 bpRTCEnJLPVqbo+xVNOU9yn4rv42gQb9Tad1Vrmy5mouv3ehRE05TWBvpO4tLlaw2EVa XNrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=835RYhfcxinFHWSPDsvbRGZvoL5dh5g3AFG6CAaY+Q0=; fh=p9wxpm+IHxJCHIOkAstHdgBwHacTjfqbErCgGFY+ymI=; b=AtREtO/OqnSIbx2DNsWdLrlxLBXiqsdrNXqnhmTyHTkRKg8+VB/hQHEnAl94n8SGqS nkyUiNYE6m3mzOEiTDsR3w1D1gZZMj6yzCZ1BCBBNUNiJGfiUOy1TCb0mm8mA7/FN8Rd uQX/LE3t76at6mZ/ZmBFaLlccs52apte7rydeSEHLL9cTHMHRGbgq+/QQrhKYunRBDYA hjDOTYgXVvkHdB8nzxuvhjEaT6qfZxti9W9v9TZyBBWIVT50nfDtShGXWFQmaRtY4mRi OFlIbOoGjAEzNyhpzCHPWblyoNKO/4GR/mSE9ACTL2eNhfZODc4I9FijKZlt17RPicWP vH8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=i4tkYcxc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e23-20020a63e017000000b0055c3e731f70si8581189pgh.146.2023.08.14.09.09.55; Mon, 14 Aug 2023 09:10:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=i4tkYcxc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232594AbjHNP0Y (ORCPT + 99 others); Mon, 14 Aug 2023 11:26:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232943AbjHNPZx (ORCPT ); Mon, 14 Aug 2023 11:25:53 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A310E10C1 for ; Mon, 14 Aug 2023 08:25:52 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3FDDF61696 for ; Mon, 14 Aug 2023 15:25:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1A2E6C433C7; Mon, 14 Aug 2023 15:25:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1692026751; bh=FO5zCQ9Aaqj1NS7OYkS2u8nCHSNUw8PdooF5SOw4v+E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=i4tkYcxc+OPe6SWSa8P9ZhQtHCLm7sboRNJ7foxlBmZ2WcwsyPwVLCnH3nqGkLkDW B9c7nzOJBnW7q6t/ZV+WHiKHW3n6VC2hAXBHlPbuYkqrR0fEakVFpAzDBjLHeD9NTJ AiXUSkUOjkEuD6zI/fhLPaQg37APlAaOqcbvux4I= Date: Mon, 14 Aug 2023 17:25:49 +0200 From: Greg KH To: Michele Dalle Rive Cc: Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Boqun Feng , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Benno Lossin , Alice Ryhl , Davide Rovelli , rust-for-linux@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev Subject: Re: [RFC PATCH 0/7] Rust Socket abstractions Message-ID: <2023081411-apache-tubeless-7bb3@gregkh> References: <20230814092302.1903203-1-dallerivemichele@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230814092302.1903203-1-dallerivemichele@gmail.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 On Mon, Aug 14, 2023 at 11:22:55AM +0200, Michele Dalle Rive wrote: > This patch series is intended to create Rust abstractions for Sockets > and other fundamental network entities. > > Specifically, it was added: > - Ip address and Socket address wrappers (for `in_addr`, `in6_addr`, > `sockaddr_in`, `sockaddr_in6`, `sockaddr_storage`). > - Socket wrapper. > - Socket flags and options enums. > - TCP and UDP specific abstractions over the Rust Socket structure. > > This series is a RFC because I would appreciate some feedback about: > - The structure of the module: is the division of the files and modules > appropriate or should it be more or less fine-grained? > Also, should the `net` module export all the structures of its > submodules? I noticed that it is done in the standard library. > - Whether the documentation is comprehensive enough. > - A few other specific questions, written in the individual patches. > > I would greatly appreciate any kind of feedback or opinion. > I am pretty new to the patch/mailing list world, so please point out any > mistake I might make. The best feedback is "who will use these new interfaces?" Without that, it's really hard to review a patchset as it's difficult to see how the bindings will be used, right? thanks, greg k-h