Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp1317351lqg; Sun, 3 Mar 2024 05:02:53 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXsJiD2wLXsfPh6ZtKR6S86ZXSCS5lE7a0FRtSgqaV/sZgeAAJj0GMX88pUIS+VntplEH+2ZXTNwf1P/amfGvdln9PK/xsId6j9ZCmJrA== X-Google-Smtp-Source: AGHT+IF/JkaWzZSF96RmUo0kq35S1DNiAE3cHAh+dZf9nlVVFkCyXdXZbnHy8fPhxTmnSONZmFID X-Received: by 2002:a05:620a:31a1:b0:788:1c3d:57b1 with SMTP id bi33-20020a05620a31a100b007881c3d57b1mr5471392qkb.32.1709470973583; Sun, 03 Mar 2024 05:02:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709470973; cv=pass; d=google.com; s=arc-20160816; b=k/ag8jguTPANj59fOVcmZtBKfF3Gd6rZF+6//FNbmifjWgXwRZWRPZ1UT+4LYhPnOR Kk/YH23fqiS4GGetcabzpGD//n1Lx0KLFf7hLI7NzqqUpezYSUNHFpH1JXt7bCCcGcOv RzKbwmeQLWjj7dHDbOibMUzADtYSJV1OHLVNPYRpDTXSsFm8jg2RBqT9dWLTVLfOCno3 8rKSnNLibBRpAYO6I2Qur0LF1TcCAxp54x8u4rz0MqUMEZrPY1TFuwpsLD8o3i2MK38U d8xVjgnmUNYunKGmIjVM/Mp4uiDCEtwTlE+LYORCvleZXIH03wQqQrxYoWldCVYbGKjD Lu+Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=IdH99hGvfdTuQo8i9QPJ5BQbeFlSYLBPfwCHm7xwk4M=; fh=Bo7Evh0bjuCfHYv8kZucnQQ4z1eqgJLgefYKC3az4/8=; b=rCJHPrVqOxEIo39Akp1x0vrluONltHu7xWfV03L1M6gbkp/4GLg1lgSuhDzmlHmKkZ lc5yv3As0K+bPmD2EylBGmRxmBQRvoPLEDgVQVHy60wRd4UjROLsyQQOEGVmHbh62JZW 11EORxjvyaS3gKf/BK3Vm8hUhgK7ko5gvVYCMUdpNN97rcuaDPx4g+MeB3b2B966coKB xA0f92qiOonRjP37Z5t1374UKRIBEgXcrQ+fURj018mqc+Y9b8faBihTLWlvC+Os7lF2 hfi2xuzc3ULz5oqX3HqB4BSLtK5STv2T28L/oi8l3YkIMN+lbZQAs9cFfhT5ZpHXpDL2 NZOQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=q4TZpENC; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-89741-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89741-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id a17-20020a05622a02d100b0042eb6856ad5si322189qtx.683.2024.03.03.05.02.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Mar 2024 05:02:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-89741-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=q4TZpENC; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-89741-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89741-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 52F371C20C3A for ; Sun, 3 Mar 2024 13:02:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 94899C8DE; Sun, 3 Mar 2024 13:02:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="q4TZpENC" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B4824C121; Sun, 3 Mar 2024 13:02:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709470965; cv=none; b=djDDX3KzsfS+BHX1S5ftjSIOLFbAg5y0ZxEcD1OEP/B499QwQC0ROh6n4NOYpg4hG0J7RJYQaKWQkFMj0TYRJpbSHteOO1gDQrPp8mjtkD1FX/rSGjkz1Aa9b4zFw9KV0sVSSczuah1PMo/TjyOIkE5FCvgMpz48K4OnxVn7qBQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709470965; c=relaxed/simple; bh=FADVOUUahJJk/K1mD+FgJToZVvo6iF2LE+h9xrAETPA=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=Vv4tkV4kkmkHfIo3WB/703gXy63WvQCaB/TEpA8wZYh3pj+BYBdZiHHqSCMTngULQ+2zwp0GEOnsoZveExkPxsgskTcSpBIIEBDLoCM6SJCRDKRrh/uT+UdtZyhCP6Db0BJeCuwh+BJHACIX/6X6WhcZlNnWGAW6BHMjiasHyTw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=q4TZpENC; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id CA254C433C7; Sun, 3 Mar 2024 13:02:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709470965; bh=FADVOUUahJJk/K1mD+FgJToZVvo6iF2LE+h9xrAETPA=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=q4TZpENCBbDrZfwzxz+f8hBRkHuyzRVruU3s6wdzzX9mhz5zfjal4UREM0EgMAPHp 1d2w19T5YoQJ0ouEmHxqQSwmvTrpdGIza19CdPtmRUNxS9ajD7x1erAVgF6HcVv5RN nkcLVnzeLEY1If95zAXPe/vThZOlHIlE39+mbPQiLFYNpM1QO6pBC6NbqbR5Kk51Kv i7yFUTS6nOtzEBi+yusC9mSaWZneIdnC42Js51ruhuxhF3jaQvIV+izNfM7hzkAsYu 4/7TIKBZY6oL02dIP7DpvORGWYysYn3L11XdxTqWv3WO/HxDtMfCAYyZmbSt5fggfs +HGlq5QAc2slw== From: Leon Romanovsky To: jgg@ziepe.ca, Junxian Huang Cc: linux-rdma@vger.kernel.org, linuxarm@huawei.com, linux-kernel@vger.kernel.org In-Reply-To: <20240301104845.1141083-1-huangjunxian6@hisilicon.com> References: <20240301104845.1141083-1-huangjunxian6@hisilicon.com> Subject: Re: [PATCH v2 for-next] RDMA/hns: Support userspace configuring congestion control algorithm with QP granularity Message-Id: <170947096135.143495.12908349666592707641.b4-ty@kernel.org> Date: Sun, 03 Mar 2024 15:02:41 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12-dev-a055d On Fri, 01 Mar 2024 18:48:45 +0800, Junxian Huang wrote: > Currently, congestion control algorithm is statically configured in > FW, and all QPs use the same algorithm(except UD which has a fixed > configuration of DCQCN). This is not flexible enough. > > Support userspace configuring congestion control algorithm with QP > granularity while creating QPs. If the algorithm is not specified in > userspace, use the default one. > > [...] Applied, thanks! [1/1] RDMA/hns: Support userspace configuring congestion control algorithm with QP granularity https://git.kernel.org/rdma/rdma/c/6ec429d5887a41 Best regards, -- Leon Romanovsky