From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9C394C4332F for ; Sun, 13 Nov 2022 17:11:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235177AbiKMRLA (ORCPT ); Sun, 13 Nov 2022 12:11:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233069AbiKMRK7 (ORCPT ); Sun, 13 Nov 2022 12:10:59 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6748C74F for ; Sun, 13 Nov 2022 09:10:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=O5LpGkI3GZa2hsxSRoBhMD47eMLuDh+pX4loelW/Huw=; b=xOPvhEV7D104Niy6hRuuxSafTV ASz1LsHb8ruNtankm0S47fEJrrfPerM7zdN6GuiZFA7Ql4qZZeGp2dRDOVEB42znUCYxXZX4gIqFq 8Wsxll35feSJEkca7R/owFN4W/2ii5zzRaWpYHkfAN+15CBdgTJUqHrnH64+7w6mH/hE=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1ouGVD-002Fic-C0; Sun, 13 Nov 2022 18:10:39 +0100 Date: Sun, 13 Nov 2022 18:10:39 +0100 From: Andrew Lunn To: John Ousterhout Cc: Jiri Pirko , Stephen Hemminger , netdev@vger.kernel.org Subject: Re: Upstream Homa? Message-ID: References: <20221110132540.44c9463c@hermes.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org > Homa implements RPCs rather than streams like TCP or messages like > UDP. An RPC consists of a request message sent from client to server, > followed by a response message from server back to client. This requires > additional information in the API beyond what is provided in the arguments to > sendto and recvfrom. For example, when sending a request message, the > kernel returns an RPC identifier back to the application; when waiting for > a response, the application can specify that it wants to receive the reply for > a specific RPC identifier (or, it can specify that it will accept any > reply, or any > request, or both). This sounds like the ancillary data you can pass to sendmsg(). I've not checked the code, it might be the current plumbing is only into to the kernel, but i don't see why you cannot extend it to also allow data to be passed back to user space. If this is new functionality, maybe add a new flags argument to control it. recvmsg() also has ancillary data. Andrew