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 D59C7A0C47; Wed, 22 Sep 2021 21:48:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 93E93411EC; Wed, 22 Sep 2021 21:48:06 +0200 (CEST) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by mails.dpdk.org (Postfix) with ESMTP id 89E29411A8 for ; Wed, 22 Sep 2021 21:48:05 +0200 (CEST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 3B16D5C0099; Wed, 22 Sep 2021 15:48:05 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Wed, 22 Sep 2021 15:48:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm2; bh= vzLSweXKhZ+9BhT9Vk0SaZSyO0hM9+ut6fH7v8JGSFE=; b=dejrNMFqv8tFQLIX 721fL05AoSFGznBbc+l8g7jMep9LYqAeF/ZE1XnTymWHUpLMWzxQv+YiKZHhYRSm F3SZyg2U6AsYKWpbmivyHMD+iEv+nZtoOXVEwUEFqQeEbnwaaBgcOhyoAAuSI+z5 RX0nmjHV3A6fTPqfzo8Qhj8Nee6qVoJsFplAMLu/eM/xlXg3frNIQ12LIjMBuapp MdyJ7yspxh/wsCTdTdHE0MYTorH1bHDtF+xvausZ7awNQY3ZeT21P742mlQqz0Dp 8gSKHeMAXQmb1BFPu1SeEcnWJF6la9jZlnGleZtwwGhL/eGqbM8qjPTJaaTV71wk UoPVAg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=vzLSweXKhZ+9BhT9Vk0SaZSyO0hM9+ut6fH7v8JGS FE=; b=qRIAxHHyKkEb1ZKnvmJyg1aLwPXoUuJ99cAUD+7xPxVZQis5QuWoFYxlO E3ITIqRluXNF4I+m3KTNXnUFkqYu38vjcxRX7vPwaWbDcNKbpUDiURhxO2kNmBMV BKgoYaefTztbt8qJHnhHG3i2+3Cae6DSshBCit7az7MpVRqZumFOPPUq/9imbTgI 2NoWR12xGoQ6RROI7YT7CnPDyJixV/y+w46Yj08xyQw9hPlIx/dhxpxNOrIsI0FK xmqmXc1BMLdN8Es6/86pTzU2+4xSAk+p8nLwnb0TRwm1XmQ3wsTQwILz5gCYDbCK UZuARrsnftK8rgg1LjjsNImt5vNQA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudeijedgudegtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdej ueeiiedvffegheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 22 Sep 2021 15:48:04 -0400 (EDT) From: Thomas Monjalon To: Raja Zidane Cc: dev@dpdk.org, Matan Azrad Date: Wed, 22 Sep 2021 21:48:03 +0200 Message-ID: <2350861.26DRcQjydO@thomas> In-Reply-To: <20210915000504.5660-3-rzidane@nvidia.com> References: <20210912163652.24983-2-rzidane@nvidia.com> <20210915000504.5660-1-rzidane@nvidia.com> <20210915000504.5660-3-rzidane@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH V3 2/5] common/mlx5: update new MMO HCA capabilities 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" 15/09/2021 02:05, Raja Zidane: > New MMO HCA capabilities were added and others were renamed. > Align hca capabilities with new prm. > Add support in devx interface for changes in HCA capabilities. > > Signed-off-by: Raja Zidane > Acked-by: Matan Azrad > --- > --- a/drivers/common/mlx5/mlx5_devx_cmds.h > +++ b/drivers/common/mlx5/mlx5_devx_cmds.h > @@ -173,9 +173,14 @@ struct mlx5_hca_attr { > uint32_t log_max_srq; > uint32_t log_max_srq_sz; > uint32_t rss_ind_tbl_cap; > - uint32_t mmo_dma_en:1; > - uint32_t mmo_compress_en:1; > - uint32_t mmo_decompress_en:1; > + uint32_t mmo_dma_sq_en:1; > + uint32_t mmo_compress_sq_en:1; > + uint32_t mmo_decompress_sq_en:1; > + uint32_t mmo_dma_qp_en:1; > + uint32_t mmo_compress_qp_en:1; > + uint32_t mmo_decompress_qp_en:1; > + uint32_t mmo_regex_qp_en:1; > + uint32_t mmo_regex_sq_en:1; It does not compile: struct mlx5_hca_attr has no member named mmo_compress_en