Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp507625imw; Wed, 13 Jul 2022 02:47:24 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tLcI0Yyz5MrgONUSli2N7HqLdI8YfApytqjWnaq6PEOHxLt8zkVpvTP2qCUFXgKBa2Ykdg X-Received: by 2002:a05:6a00:15c5:b0:52a:f58a:86fb with SMTP id o5-20020a056a0015c500b0052af58a86fbmr2429712pfu.23.1657705643771; Wed, 13 Jul 2022 02:47:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657705643; cv=none; d=google.com; s=arc-20160816; b=c41CuucyD+2i/1e7Xuux43qm0nJO0HaF/xRb00X/wwhgbbY6Vn1iFi6wBVfs3AjnYZ Sl45Trbfje7NMRzOFyQ7ZgvyAhoiY5bpm7g0H41IsbEOxbgw7CMjol3MeoSK54nU1iiX ZQZuqqTPpRzPzxd1g2LvKBeyaQJCO5t8VUKfWWCZfwpY49/j7RENU8XN9nv/TIhM2dSw TIBJXpb31MQ7Zy6wEdx5/XwYWoWSN/kzp4FYKJBQ0ki0e0B+mqVyjgJ1NoTXS9LyPhJK uiNLhqTLYBSy6AM0xTTARtR2NY2OkfDnv3CKjLrzgOemphSE5/NYQDKXpeOzDq0Ndcx+ Wubg== 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 :dkim-signature; bh=XyyU3O64rDkO8/f2a3m3jX9KEixUXahN8Gy8KrqClvI=; b=x/qC12ZbqtRiWXeeealMAE9yM9GPvxnV1HaJovoZPeYdxTjFHe4cUDDBl6Sy2C+JYD hiSGAkVbBhgaCoffCyAsu05nXjHjF8VU2MYiMA24Ai0HFcNlnUpwwb/osqsGg/a9K1CP 4F+6IJOCAZ6RPe7j1mNKFdy1DLMQcro7aEzR1lRepJasoKs0/RW6qN2jmaK797AT2Ss9 JXUvKH1R/2lOhYp+GrDzsjsDgfgWkyY94jnXq9hr6X+h0WK6sly/+2drPmOkeMDipit8 aAbBxSVt01dBRZXPr23EFjO55ZFIKDpcu9NVkTTx5yMnnZ13wABo0UGQeMYzK54pxFbZ VghQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codewreck.org header.s=2 header.b="ywjF/D7w"; dkim=pass header.i=@codewreck.org header.s=2 header.b=rYO8C5Gj; 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=codewreck.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g6-20020a655806000000b00411994baf80si16777058pgr.281.2022.07.13.02.47.11; Wed, 13 Jul 2022 02:47:23 -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=@codewreck.org header.s=2 header.b="ywjF/D7w"; dkim=pass header.i=@codewreck.org header.s=2 header.b=rYO8C5Gj; 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=codewreck.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235279AbiGMJaY (ORCPT + 99 others); Wed, 13 Jul 2022 05:30:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231936AbiGMJaW (ORCPT ); Wed, 13 Jul 2022 05:30:22 -0400 Received: from nautica.notk.org (nautica.notk.org [91.121.71.147]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DAE8DEA14B; Wed, 13 Jul 2022 02:30:20 -0700 (PDT) Received: by nautica.notk.org (Postfix, from userid 108) id 630BAC01E; Wed, 13 Jul 2022 11:30:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codewreck.org; s=2; t=1657704619; bh=XyyU3O64rDkO8/f2a3m3jX9KEixUXahN8Gy8KrqClvI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ywjF/D7wS9OjyHt7BVsHv8plzVxUgPhiLUbbuDrVr+l86vFhwsSdmzRN/n3MdDngr Vs9r39e8bUveHcJQX4iZtN55K3A1EsjrBEJ3nDXTcZ2BibWxxDOdzhbqu3UODbw4tg /xz0pHcBLid8jOx4xR9VyOG0hmUpkVsnKUL/pL59MXfYMGfosHxgeYZ9p3rg4KEscS NmJqUkmYNVcOcOpbom8yF2GQYNeBwrudIVzmwWH/evM9enn9urkzvnbgmgVSAfQ6eh F3Kun4ICWzmlDkQoQUZz1/d/NHyJ8PIkPBpPUleYgZkMFTPRSDzvflwF8XMT9ReyZF EDMzPrt+SFtpA== X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Received: from odin.codewreck.org (localhost [127.0.0.1]) by nautica.notk.org (Postfix) with ESMTPS id 95E8CC009; Wed, 13 Jul 2022 11:30:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codewreck.org; s=2; t=1657704618; bh=XyyU3O64rDkO8/f2a3m3jX9KEixUXahN8Gy8KrqClvI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rYO8C5GjfkKJ+X/feO2QzbNu6ngje6EbwAFN1jEj21OCsmiZTu17br7qeEX2K8rSr dcRZHU98JNDdp9rvwdMWHv7XSNd904sxppru0+k32zTMNCuV5fl2U9OT0gAIMAt1jo XuczTc0MJNI+/IRRaaqEOSGmrhfPJsDiwscIWWMf6m+dvCA3VLsfigqdrsAlps+bHd 5cHU4p01321IodbGxBQO77L1yexoCKPU3YddWbWZxTFlNuBsEnTEq8udfTjXhmjOKy yvxpDSl7fFoJZbL8xu//YxzMMYdMOH11W5BJ5oRmb+sXAo3bGwuEDM+N9EsgOLJ+q5 ZeXYvPbZFKyrQ== Received: from localhost (odin.codewreck.org [local]) by odin.codewreck.org (OpenSMTPD) with ESMTPA id dd90f3c2; Wed, 13 Jul 2022 09:30:12 +0000 (UTC) Date: Wed, 13 Jul 2022 18:29:57 +0900 From: Dominique Martinet To: Christian Schoenebeck Cc: Latchesar Ionkov , Eric Van Hensbergen , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, v9fs-developer@lists.sourceforge.net, Nikolay Kichukov Subject: Re: [V9fs-developer] [PATCH v5 11/11] net/9p: allocate appropriate reduced message buffers Message-ID: References: <4284956.GYXQZuIPEp@silver> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4284956.GYXQZuIPEp@silver> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Christian Schoenebeck wrote on Wed, Jul 13, 2022 at 11:19:48AM +0200: > > - for this particular patch, we can still allocate smaller short buffers > > for requests, so we should probably keep tsize to 0. > > rsize there really isn't much we can do without a protocol change > > though... > > Good to know! I don't have any RDMA setup here to test, so I rely on what you > say and adjust this in v6 accordingly, along with the strcmp -> flag change of > course. Yeah... I've got a connect-x 3 (mlx4, got a cheap old one) card laying around, I need to find somewhere to plug it in and actually run some validation again at some point. Haven't used 9p/RDMA since I left my previous work in 2020... I'll try to find time for that before the merge > As this flag is going to be very RDMA-transport specific, I'm still scratching > my head for a good name though. The actual limitation is that receive buffers are pooled, so something to like pooled_rcv_buffers or shared_rcv_buffers or anything along that line? -- Dominique