Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1273526lqe; Mon, 8 Apr 2024 04:28:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX64andUmddErnnp3Qii8pj4nrzxAvvX3KoCUBP63iK0mweAmAL4GQH1CKLj8XrNzjQwqfHd7ucykKufE9wNcNv8FxpjGORohebMvwNXQ== X-Google-Smtp-Source: AGHT+IFDHFdadnn/wqvWmIbYBLm7G9Zdul3WMQAHARdlk1Tve5EUYf2pbnzWIFtHM5ut8SdchvBY X-Received: by 2002:a50:9b19:0:b0:56d:fbea:40ae with SMTP id o25-20020a509b19000000b0056dfbea40aemr5056437edi.23.1712575705099; Mon, 08 Apr 2024 04:28:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712575705; cv=pass; d=google.com; s=arc-20160816; b=YJl+xwIwbQaO+9g8I/n6mAbs+NVkBzdK2RT7wuS5PifqiCBrYN5BAdqxrqnEDKyuUU OsvNVswXDgV1PPlwN/Dp6xXD5JdaPa7wprYQNS4+SSqkuZ8G+Rvh57+bVaE1nN2OvkEY 7WdIPsD4aI8OkFFg0xLnHCCjljxi+Uh9VW8dItJ0h3XOIF3aQUhVIkFloyP5oure3G2+ C/CK3akr5GSa2R1PZhIp/e2bS/QO1aV6fVvqQJU6A3LVYeD5rq9UQxRE/zEat3PT5rPr 0chAMOll+zqvNfJ36AUWg3Y/JzmqJjzwxPovh7vMq/0MEiER9KkcDZcVLSF98EcgF8kc MPLQ== 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=LpmabPdAEjhxTbirpgHtkgn2nN+UAmadJvqnw0hnsOM=; fh=Bo7Evh0bjuCfHYv8kZucnQQ4z1eqgJLgefYKC3az4/8=; b=vknUY81emgbN7k4YnlxzWJS3ddQDxn+8GRpPLcdxNf9vBydeC2D4PJbLXvXd0UQfBp 6bIR3wOoFc/OLHcdwK2blh+aLFTHg1cQHI6Ax2uFtjHgeiBH6siBHFT+8NFWgS86xTKG S+MR5GTqg5qAoDsyZvVUVErBCxiYwfpxN4js3/NKAxTRRR9ka/7CtX/hIsPCs7Nz1M1M Dh2F9akJ/9pemo7+SVkSoyhOAiDCk2iR205vri7qXlz1OiSMM773HGLi0B/klzf4W+2Y AmOC+zK7xhDCIf6OAwF6HnIR051Q65N/Vil4/07KP0W9E/nL8nH5sckjkIvdxwQToKcz CJEg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RMiBitlA; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-135265-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135265-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id y14-20020a056402358e00b0056df5ba6dd6si3593741edc.461.2024.04.08.04.28.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 04:28:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-135265-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RMiBitlA; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-135265-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135265-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 am.mirrors.kernel.org (Postfix) with ESMTPS id A3A201F22631 for ; Mon, 8 Apr 2024 11:28:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3BC6E657CE; Mon, 8 Apr 2024 11:28:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="RMiBitlA" 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 58EAC3FB81; Mon, 8 Apr 2024 11:28:16 +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=1712575696; cv=none; b=jM3lzC1TlP8M+fRuXNzcHQ62WXfCIK3yqhxduJ4wHW/Hdy6lPb9CtwMWsl0aWfkwn48Vbx+Mo2HZYIunTNlG5OkrJRkPmJJgrr33WfjeI9amDUb9l+sbj8BNvSBvzQjN5dCfAr2jnpi7HuH9Rf0bsjQkjopBsRtcRce6oUsz6fw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712575696; c=relaxed/simple; bh=lLTbowSwzeWgkAL21lpvXAkbdwYlYSLAD3ZBr2JGCBQ=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=I76e0DmGQsuIeOSez8xCHhlE348f8xqZM44eu0cgFtzR43HiJfrviWxQMycjvKuncGg/Jy7wDY72G3HIar5iP43DJO9xFzLk+NWiK6WPK5lJKxzXOHE0/rQWCkcq6GPtTUISlpdQy1dQZnrnP+3uew9oUZavF75sNhv0HfnqWKM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=RMiBitlA; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6E368C433F1; Mon, 8 Apr 2024 11:28:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712575695; bh=lLTbowSwzeWgkAL21lpvXAkbdwYlYSLAD3ZBr2JGCBQ=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=RMiBitlAmuZknqrpwEYtL3q6KeUjV9jQzXEA+VMelz3aM7+SV4DS1oh86qt4lkDYJ xrX6jdkv3Xy0goVsToydhX6vl6V+gqItnfLOV9SYzOm4nKOAvE1AMYXlJDCi7dCGfL yYYMG86np7ABpTOI7dwYIy1WTdzI3ZYgK0/cJnHAr41J9je0eZ6yiZokP5iH89wB/w lwKOwGt+mZsP9QKQmb0Z/7dKqKVxiQtibhiv3eBkDqvc60XoV9VuQrA1b1QeqzvrCl SM+6XQo6wiVfGPyZJ0akKyHVZr05FTpDvMGGINjWESosJ9SG8k1Fz4E4vQNko8of63 OXZEslCFpOYsg== 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: <20240315093551.1650088-1-huangjunxian6@hisilicon.com> References: <20240315093551.1650088-1-huangjunxian6@hisilicon.com> Subject: Re: [PATCH for-next] RDMA/hns: Support DSCP Message-Id: <171257569273.115037.9184913634596731281.b4-ty@kernel.org> Date: Mon, 08 Apr 2024 14:28:12 +0300 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.14-dev On Fri, 15 Mar 2024 17:35:51 +0800, Junxian Huang wrote: > Add support for DSCP configuration. For DSCP, get dscp-prio mapping > via hns3 nic driver api .get_dscp_prio() and fill the SL (in WQE for > UD or in QPC for RC) with the priority value. The prio-tc mapping is > configured to HW by hns3 nic driver. HW will select a corresponding > TC according to SL and the prio-tc mapping. > > > [...] Applied, thanks! [1/1] RDMA/hns: Support DSCP https://git.kernel.org/rdma/rdma/c/c3236d538646c8 Best regards, -- Leon Romanovsky