From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id F1154A0C43; Wed, 20 Oct 2021 11:32:10 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E25634117E; Wed, 20 Oct 2021 11:32:10 +0200 (CEST) Received: from mail-108-mta168.mxroute.com (mail-108-mta168.mxroute.com [136.175.108.168]) by mails.dpdk.org (Postfix) with ESMTP id 0BFD540142 for ; Wed, 20 Oct 2021 11:32:08 +0200 (CEST) Received: from filter004.mxroute.com ([149.28.56.236] filter004.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta168.mxroute.com (ZoneMTA) with ESMTPSA id 17c9d0b1aea0000b55.001 for (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256); Wed, 20 Oct 2021 09:32:03 +0000 X-Zone-Loop: 5a9a51a8b72d5030d9aa209e20f699432a8abca8eddc X-Originating-IP: [149.28.56.236] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ashroe.eu; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From:References:Cc: To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=hAe9trzhFhwb6C792Qer1TntLBK3bY7dcD8Etppt73U=; b=ftIKdVQ01S+f5n2mEKpyOiUdgx sc4NYBcg/SyKYKcE0eZsSdJAxtE0f/G4FDR+vM8hoveJ303tYQ7cDbpaOdun4TNld+3fVW6+K10dV /zRWMRS46142hV/SOkiUb+ml5+dpa1Pwb+VfXSzyoHvDQ6ZNDeOquq9GjIR4bOT5wEQ8qPG2NNqvy LvD/ZsrM+Pwfq4JzHrrAIXAQIrfaeX/35JTUA23VDu/xAFmXYZW+J8ukOwujPwoPQGc6PXU5JQW7e ZfwoO5gIoJsSoRiLRZitBSzM00J1zolfWOvyDfnp5ZVYfI1LQytXTlHUhFAHJgrcFY8nNjGEH1UMO 8X8JoJrg==; Message-ID: <92134a5a-dec5-e94d-b6fd-b97a25ed5686@ashroe.eu> Date: Wed, 20 Oct 2021 10:32:00 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Content-Language: en-US To: Xueming Li , dev@dpdk.org Cc: Lior Margalit , Matan Azrad , Viacheslav Ovsiienko References: <20210926111904.237736-1-xuemingl@nvidia.com> <20211016091214.1831902-1-xuemingl@nvidia.com> <20211016091214.1831902-3-xuemingl@nvidia.com> From: "Kinsella, Ray" In-Reply-To: <20211016091214.1831902-3-xuemingl@nvidia.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AuthUser: mdr@ashroe.eu X-Zone-Spam-Resolution: no action X-Zone-Spam-Status: No, score=-0.1, required=15, tests=[ARC_NA=0, FROM_HAS_DN=0, TO_DN_SOME=0, MIME_GOOD=-0.1, NEURAL_SPAM=0, RCPT_COUNT_FIVE=0, RCVD_COUNT_ZERO=0, FROM_EQ_ENVFROM=0, MIME_TRACE=0, MID_RHS_MATCH_FROM=0] Subject: Re: [dpdk-dev] [PATCH v2 02/13] common/mlx5: support receive memory pool X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 16/10/2021 10:12, Xueming Li wrote: > Adds DevX supports of PRM shared receive memory pool(RMP) object. > RMP is used to support shared Rx queue. Multiple RQ could share same > RMP. Memory buffers are supplied to RMP. > > This patch makes RMP RQ optional, created only if mlx5_devx_rq.rmp > is set. > > Signed-off-by: Xueming Li > --- > drivers/common/mlx5/mlx5_common_devx.c | 296 +++++++++++++++++++++---- > drivers/common/mlx5/mlx5_common_devx.h | 19 +- > drivers/common/mlx5/mlx5_devx_cmds.c | 52 +++++ > drivers/common/mlx5/mlx5_devx_cmds.h | 16 ++ > drivers/common/mlx5/mlx5_prm.h | 85 ++++++- > drivers/common/mlx5/version.map | 1 + > drivers/net/mlx5/mlx5_devx.c | 4 +- > 7 files changed, 425 insertions(+), 48 deletions(-) > Acked-by: Ray Kinsella